Atualizando config
This commit is contained in:
parent
94e7cb9867
commit
429e687080
2 changed files with 3 additions and 2 deletions
2
vendor/model/Documents.class.php
vendored
2
vendor/model/Documents.class.php
vendored
|
|
@ -195,7 +195,7 @@ class Documents
|
|||
}
|
||||
|
||||
/** Consulta SQL */
|
||||
echo $this->sql = 'select count(documents_id) as qtde
|
||||
$this->sql = 'select count(documents_id) as qtde
|
||||
from documents
|
||||
where company_id is not null
|
||||
'.$this->and;
|
||||
|
|
|
|||
3
vendor/view/documents/documents_datagrid.php
vendored
3
vendor/view/documents/documents_datagrid.php
vendored
|
|
@ -33,7 +33,8 @@ if($Main->verifyToken()){
|
|||
$max = isset($settings->{'app'}->{'datagrid'}->{'rows'}) ? $settings->{'app'}->{'datagrid'}->{'rows'} : 20;
|
||||
|
||||
/** Consulta a quantidade de registros */
|
||||
$NumberRecords = $Documents->Count((int)$documentsCategorysId, (string)$tag, (string)$label, null)->qtde;
|
||||
echo $NumberRecords = $Documents->Count((int)$documentsCategorysId, (string)$tag, (string)$label, null)->qtde;
|
||||
exit;
|
||||
|
||||
/** Cores do card */
|
||||
$colors = [ 'success', 'info', 'warning', 'danger', 'secondary'];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue