This commit is contained in:
Kenio 2025-08-06 09:19:58 -03:00
parent 41aaf65b08
commit cdd786a3c7
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ class Documents
d.active,
d.tag,
dc.description as categorys,
c.name_fantasy as company_name
c.name_fantasy
from documents d
left join companies c on d.company_id = c.company_id
left join documents_categorys dc on d.documents_categorys_id = dc.documents_categorys_id

View file

@ -114,7 +114,7 @@ if($Main->verifyToken()){
<td class="text-center" width="60"><?php echo $Main->setZeros($Result->documents_id, 3);?></td>
<td class="text-center" width="60"><?php echo date("d/m/Y", strtotime($Result->date_register));?></td>
<td class="text-left"><?php echo $Result->description;?></td>
<td class="text-left"><?php echo $Result->fantasy_name;?></td>
<td class="text-left"><?php echo $Result->name_fantasy;?></td>
<td class="text-center" width="20"><button type="button" class="btn btn-primary btn-sm" onclick="request('FOLDER=view&TABLE=documents&ACTION=documents_view&documents_id=<?php echo $Result->documents_id;?>', '#loadContent', true, '', '', '', 'Carregando informações do documento', 'blue', 'circle', 'sm', true)"><i class="fa fa-search-plus" aria-hidden="true"></i></button></td>
<td class="text-center" width="20"><button type="button" class="btn btn-primary btn-sm" onclick="request('FOLDER=view&TABLE=documents&ACTION=documents_details&documents_id=<?php echo $Result->documents_id;?>', '#loadContent', true, '', '', '', 'Carregando informações do documento', 'blue', 'circle', 'sm', true)"><i class="fa fa-info" aria-hidden="true"></i></button></td>
<td class="text-center" width="20"><button type="button" class="btn btn-primary btn-sm" onclick="request('FOLDER=view&TABLE=documents&ACTION=documents_form&documents_id=<?php echo $Result->documents_id;?>', '#loadContent', true, '', '', '', 'Preparando formulário', 'blue', 'circle', 'sm', true)"><i class="fas fa-edit mr-1"></i></button></td>