Atualizando financial_movements_save.php
This commit is contained in:
parent
d6d64d3afa
commit
06f5f7f9ac
3 changed files with 7 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ try{
|
|||
$dataT = $RegistroDetalheSegmentoTValidate->getRegistroDetalheT();
|
||||
$dataU = $RegistroDetalheSegmentoUValidate->getRegistroDetalheU();
|
||||
|
||||
print_r($dataT);
|
||||
print_r($dataU);
|
||||
|
||||
/** Zera o tempo limite de execução */
|
||||
set_time_limit(0);
|
||||
|
|
@ -82,6 +82,9 @@ try{
|
|||
/** Consulta um item pelo número do documento */
|
||||
$FinancialMovementsResults = $FinancialMovements->SearchByDocumentNumber(trim($dataT->T->numeroDocumento[$i]), $Main->DataDB($dataT->T->vencimento[$i]));
|
||||
|
||||
print_r($FinancialMovementsResults);
|
||||
echo '***************';
|
||||
|
||||
/** Caso o título não tenha sido pago */
|
||||
if( !$dataU->U->valorPago[$i] ){
|
||||
|
||||
|
|
|
|||
3
vendor/model/FinancialMovements.class.php
vendored
3
vendor/model/FinancialMovements.class.php
vendored
|
|
@ -1485,7 +1485,8 @@ class FinancialMovements
|
|||
{
|
||||
|
||||
/** Consulta SQL */
|
||||
$this->sql = 'SELECT fm.description as output,
|
||||
$this->sql = 'SELECT fm.financial_movements_id,
|
||||
fm.description as output,
|
||||
fm.movement_date_scheduled,
|
||||
fm.movement_value
|
||||
FROM financial_movements fm
|
||||
|
|
|
|||
|
|
@ -381,7 +381,7 @@ try{
|
|||
<td><?php echo $Result->output;?></td>
|
||||
<td class="text-center" width="30"><?php echo date('d/m/Y', strtotime($Result->movement_date_scheduled));?></td>
|
||||
<td class="text-right"><?php echo number_format($Result->movement_value, 2, ',', '.');?></td>
|
||||
<td class="text-center" width="20"><button type="button" class="btn btn-light btn-sm" 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)" data-toggle="tooltip" data-placement="left" title="Editar dados do cliente"><i class="far fa-edit"></i></button></td>
|
||||
<td class="text-center" width="20"><button type="button" class="btn btn-light btn-sm" 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)" data-toggle="tooltip" data-placement="left" title="Efetuar baixa da movimentação"><i class="far fa-edit"></i></button></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue