Adicionando paginação em categorias
This commit is contained in:
parent
8ebf6b414d
commit
b8386e1e00
2 changed files with 13 additions and 1 deletions
3
vendor/model/Users.class.php
vendored
3
vendor/model/Users.class.php
vendored
|
|
@ -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"){
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue