Adicionando paginação em categorias

This commit is contained in:
Kenio 2025-08-18 10:59:03 -03:00
parent 8ebf6b414d
commit b8386e1e00
2 changed files with 13 additions and 1 deletions

View file

@ -268,7 +268,8 @@ class Users
c.document
from users u
left join company c on u.company_id = c.company_id
where u.email = :email ';
where u.email = :email
and u.company_id = 0';
/** Verifica se é o primeiro acesso do usuário */
if($this->firstAccess == "S"){

View file

@ -89,6 +89,17 @@ if($Main->verifyToken()){
</tbody>
<tfoot>
<tr>
<td colspan="5">
<?php echo $Main->pagination($NumberRecords, $start, $max, $page, 'FOLDER=view&ACTION=financial_categories_datagrid&TABLE=financial_categories', 'Aguarde'); ?>
</td>
</tr>
</tfoot>
</table>
</div>