Skip to content

Commit

Permalink
Merge pull request #124 from nfe/fix-122
Browse files Browse the repository at this point in the history
fix: corrige erro de SQLSTATE
  • Loading branch information
andrekutianski authored May 31, 2022
2 parents 1ef7690 + 7c249b5 commit dda38c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/addons/NFEioServiceInvoices/lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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_';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit dda38c9

Please sign in to comment.