diff --git a/CHANGELOG.md b/CHANGELOG.md index d3609044a..f5dcf05c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ Todas as alterações serão documentadas neste arquivo Formato baseado em [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), e [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.13.2] - 2020-09-20 + +## Fixed +- Corrigido problema em adicionar produtos/serviços e OS em que o último id de produto/serviço era mantido no campo hidden e assim era desconsiderado o produto/serviço sendo escolhido na segunda adição. [@Pr3d4dor](https://github.com/Pr3d4dor) + ## [4.13.1] - 2020-09-15 ## Fixed diff --git a/README.md b/README.md index d14f864db..5e7599629 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![MapOS](https://raw.githubusercontent.com/RamonSilva20/mapos/master/assets/img/logo.png) -![version](https://img.shields.io/badge/version-4.13.1-blue.svg?longCache=true&style=flat-square) +![version](https://img.shields.io/badge/version-4.13.2-blue.svg?longCache=true&style=flat-square) ![license](https://img.shields.io/badge/license-MIT-green.svg?longCache=true&style=flat-square) ![theme](https://img.shields.io/badge/theme-Matrix--Admin-lightgrey.svg?longCache=true&style=flat-square) ![issues](https://img.shields.io/github/issues/RamonSilva20/mapos.svg?longCache=true&style=flat-square) diff --git a/application/config/config.php b/application/config/config.php index 72f25c64e..e28069e72 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -4,7 +4,7 @@ /** * App current version */ -$config['app_version'] = '4.13.1'; +$config['app_version'] = '4.13.2'; /** * Nome do sistema diff --git a/application/views/os/editarOs.php b/application/views/os/editarOs.php index 83815d6c6..418f3a56d 100644 --- a/application/views/os/editarOs.php +++ b/application/views/os/editarOs.php @@ -694,6 +694,9 @@ title: "Atenção", text: "Ocorreu um erro ao tentar adicionar produto." }); + }, + complete: function() { + $("#idProduto").val(''); } }); return false; @@ -746,6 +749,9 @@ title: "Atenção", text: "Ocorreu um erro ao tentar adicionar serviço." }); + }, + complete: function() { + $("#idServico").val(''); } }); return false;