fix(): Ajuste botão de excluir arquivos
This commit is contained in:
parent
7cf0086729
commit
4c63007824
1 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ try{
|
|||
<script type="text/javascript">
|
||||
|
||||
/** Carrega a função de logout */
|
||||
let funcDelete = "request('TABLE=financial_documents&ACTION=financial_documents_delete&FOLDER=action&documents_id=<?php echo $Result->documents_id;?>', '', true, '', 0, '', 'Deseja realmente excluir o arquivo em anexo?', 'random', 'circle', 'sm', true)";
|
||||
let funcDelete = "request('TABLE=financial_documents&ACTION=financial_documents_delete&FOLDER=action&documents_id=<?php echo $Result->documents_id;?>', '', true, '', 0, '', 'Excluindo...', 'random', 'circle', 'sm', true)";
|
||||
|
||||
</script>
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ try{
|
|||
<td class="text-center" width="120"><?php echo $Result->category;?></td>
|
||||
<td><?php echo $Result->description;?></td>
|
||||
<td width="10">
|
||||
<button class="btn btn-light btn-sm"><i class="fas fa-trash" onclick="funcDelete"></i></button>
|
||||
<button class="btn btn-light btn-sm"><i class="fas fa-trash" onclick="modalPage(true, 0, 0, 'Atenção', 'Deseja realmente excluir o arquivo em anexo?', '', 'question', funcDelete)"></i></button>
|
||||
</td>
|
||||
<td width="10">
|
||||
<button class="btn btn-info btn-sm"><i class="fas fa-arrow-down" onclick="request('FOLDER=action&TABLE=financial_movements&ACTION=financial_movements_download_file&documents_id=<?php echo $Result->documents_id;?>', '#sendMovement', true, '', '', '', 'Preparando arquivo para download', 'blue', 'circle', 'sm', '')" ></i></button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue