diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f97270..6235dac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 2.1.1 - 2022-05-31 + +### Correção + +* Corrigido erro de `SQLSTATE` ao acessar página de configuração de códigos de serviços #122 + ## 2.1.0 - 2022-04-11 ### Novo Recurso diff --git a/modules/addons/NFEioServiceInvoices/lib/Configuration.php b/modules/addons/NFEioServiceInvoices/lib/Configuration.php index 0d1352e..0fa21db 100644 --- a/modules/addons/NFEioServiceInvoices/lib/Configuration.php +++ b/modules/addons/NFEioServiceInvoices/lib/Configuration.php @@ -23,7 +23,7 @@ final class Configuration extends \WHMCSExpert\mtLibs\process\AbstractConfigurat private $encryptHash = ''; - public $version = '2.1.0'; + public $version = '2.1.1'; public $tablePrefix = 'mod_nfeio_si_'; diff --git a/modules/addons/NFEioServiceInvoices/lib/Models/ProductCode/Repository.php b/modules/addons/NFEioServiceInvoices/lib/Models/ProductCode/Repository.php index 1b8bf8c..17202c9 100644 --- a/modules/addons/NFEioServiceInvoices/lib/Models/ProductCode/Repository.php +++ b/modules/addons/NFEioServiceInvoices/lib/Models/ProductCode/Repository.php @@ -47,7 +47,7 @@ public function servicesCodeDataTable() return Capsule::table('tblproducts') ->leftJoin($this->tableName, 'tblproducts.id', '=', "{$this->tableName}.product_id") ->orderBy('tblproducts.id', 'desc') - ->select('tblproducts.id', 'tblproducts.name', "{$this->tableName}.code_service", "{$this->tableName}.iss_held") + ->select('tblproducts.id', 'tblproducts.name', "{$this->tableName}.code_service") ->get(); }