Atualizando financial_moviments_datagrid.php
This commit is contained in:
parent
68b432ca4c
commit
3db84f18c8
4 changed files with 9 additions and 5 deletions
2
vendor/action/users/users_access.php
vendored
2
vendor/action/users/users_access.php
vendored
|
|
@ -56,7 +56,7 @@ try{
|
|||
$config = $Main->LoadConfigPublic();
|
||||
|
||||
/** Parametros para descriptografar dados */
|
||||
$method = $config->{'app'}->{'security'}->{'method'};
|
||||
$method = $config->{'app'}->{'security'}->{'method'};
|
||||
$firstKey = $config->{'app'}->{'security'}->{'first_key'};
|
||||
|
||||
/** Inicia a sessão do usuário */
|
||||
|
|
|
|||
2
vendor/action/users/users_new_session.php
vendored
2
vendor/action/users/users_new_session.php
vendored
|
|
@ -42,7 +42,7 @@ try{
|
|||
$config = $Main->LoadConfigPublic();
|
||||
|
||||
/** Parametros para descriptografar dados */
|
||||
$method = $config->{'app'}->{'security'}->{'method'};
|
||||
$method = $config->{'app'}->{'security'}->{'method'};
|
||||
$firstKey = $config->{'app'}->{'security'}->{'first_key'};
|
||||
|
||||
/** Inicia a sessão do usuário */
|
||||
|
|
|
|||
|
|
@ -426,8 +426,12 @@ try{
|
|||
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
||||
<a class="dropdown-item" href="#" onclick="request('FOLDER=view&TABLE=financial_movements&ACTION=financial_movements_form&financial_movements_id=<?php echo $Result->financial_movements_id;?>', '#loadContent', true, '', '', '', 'Carregando movimentação', 'blue', 'circle', 'sm', true)"><i class="fas fa-check-square"></i> Gerenciar</a>
|
||||
<a class="dropdown-item" href="#" onclick="request('FOLDER=view&TABLE=financial_movements&ACTION=financial_movements_form_upload&financial_movements_id=<?php echo $Result->financial_movements_id;?>', '#loadContent', true, '', '', '', 'Preparando formulário', 'blue', 'circle', 'sm', true)"><i class="fas fa-file-upload"></i> Postar Arquivo</a>
|
||||
<a class="dropdown-item" href="#" onclick="request('FOLDER=view&TABLE=financial_movements&ACTION=financial_movements_ticket_view&financial_movements_id=<?php echo $Result->financial_movements_id;?>', '', true, '', '', '', 'Carregando boleto gerado', 'blue', 'circle', 'sm', true)"><i class="fas fa-barcode"></i> Visualizar Boleto</a>
|
||||
<a class="dropdown-item" href="#" onclick="request('FOLDER=view&TABLE=financial_movements&ACTION=financial_movements_ticket_consult&reference=<?php echo $Result->movement_reference;?>', '', true, '', '', '', 'Consultando boleto/Sicoob', 'blue', 'circle', 'sm', true)"><i class="fas fa-barcode"></i> Consultar Boletos Sicoob</a>
|
||||
|
||||
<?php if((int)$Result->financial_outputs_id === 0){ ?>})
|
||||
<a class="dropdown-item" href="#" onclick="request('FOLDER=view&TABLE=financial_movements&ACTION=financial_movements_ticket_view&financial_movements_id=<?php echo $Result->financial_movements_id;?>', '', true, '', '', '', 'Carregando boleto gerado', 'blue', 'circle', 'sm', true)"><i class="fas fa-barcode"></i> Visualizar Boleto</a>
|
||||
<a class="dropdown-item" href="#" onclick="request('FOLDER=view&TABLE=financial_movements&ACTION=financial_movements_ticket_consult&reference=<?php echo $Result->movement_reference;?>', '', true, '', '', '', 'Consultando boleto/Sicoob', 'blue', 'circle', 'sm', true)"><i class="fas fa-barcode"></i> Consultar Boletos Sicoob</a>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ try{
|
|||
$response = json_decode($FinancialMovementsResult->sicoob_response);
|
||||
|
||||
/** Verifica se existe boleto gerado */
|
||||
if(!empty($response->resultado[0]->boleto->pdfBoleto)){
|
||||
if(!empty($response->resultado->pdfBoleto)){
|
||||
|
||||
/** Caminho do arquivo a ser gerado */
|
||||
$nameFile = $dir.$Main->cleanSpecialCharacters($FinancialMovementsResult->reference).'.pdf';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue