feat(): Botão de exclusão de arquivos
This commit is contained in:
parent
1e9a0047b1
commit
747b75b867
1 changed files with 8 additions and 1 deletions
|
|
@ -137,12 +137,19 @@ try{
|
|||
/** Lista os pedidos de acordo com o resultado da consulta informada */
|
||||
foreach($FinancialDocumentsResult as $FinancialDocumentsKey => $Result){ ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
/** Carrega a função de logout */
|
||||
let funcDelete<?php echo $Result->documents_id;?> = "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)";
|
||||
|
||||
</script>
|
||||
|
||||
<tr>
|
||||
<td class="text-center" width="120"><?php echo date('d/m/Y', strtotime($Result->date_register));?></td>
|
||||
<td class="text-center" width="120"><?php echo $Result->category;?></td>
|
||||
<td><?php echo $Result->description;?></td>
|
||||
<td width="10">
|
||||
<button class="btn btn-danger btn-sm"><i class="fas fa-trash" onclick="" ></i></button>
|
||||
<button class="btn btn-cancel btn-sm"><i class="fas fa-trash" onclick="" ></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