| Server IP : 54.94.228.101 / Your IP : 172.28.1.13 Web Server : Apache System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/vinumday2_0/storage/framework/views/ |
Upload File : |
<?php if (count($lancamentos) > 0): ?>
<?php if (isset($saldo_inicial)): ?>
<tr>
<td colspan="4"></td>
<td colspan="2"><strong>Saldo Anterior</strong></td>
<td class="text-right">
<strong>R$ <?php echo number_format($saldo_inicial, 2,',','.'); ?></strong>
</td>
<td></td>
</tr>
<?php endif; ?>
<?php foreach ($lancamentos as $lancamento): ?>
<tr>
<td><?php echo $lancamento->id; ?></td>
<td><?php echo $lancamento->conta->nome; ?></td>
<td class="text-center"><?php echo (!empty($lancamento->data) ? date('d/m/Y', strtotime($lancamento->data)) : ''); ?></td>
<td><?php echo $lancamento->historico; ?></td>
<td><?php echo $lancamento->planoFinanceiroConta->codigo . ' ' . $lancamento->planoFinanceiroConta->nome; ?></td>
<td class="text-center"><?php echo $lancamento->debito_credito; ?></td>
<td class="text-right <?php echo e(($lancamento->valor < 0 ? 'color-red' : '')); ?>">
<?php echo e(($lancamento->valor < 0 ? '-' : '')); ?>R$ <?php echo number_format($lancamento->valor, 2,',','.'); ?>
</td>
<td>
<a data-id="<?php echo $lancamento->id; ?>" href="/admin/conta-financeira-lancamento/edit/<?php echo $lancamento->id; ?>" class="btn btn-primary open-lancamento"><i class="fa fa-pencil-alt"></i></a>
<button type="button" data-id="<?php echo e($lancamento->id); ?>" class="btn btn-danger btn-delete-lancamento"><i class="fa fa-trash"></i></button>
</td>
</tr>
<?php endforeach ?>
<?php if (isset($saldo_final)): ?>
<tr>
<td colspan="4"></td>
<td colspan="2"><strong>Saldo Final</strong></td>
<td class="text-right">
<strong>R$ <?php echo number_format($saldo_final, 2,',','.'); ?></strong>
</td>
<td></td>
</tr>
<?php endif; ?>
<?php else: ?>
<tr>
<td colspan="8" class="text-center">
<p>Nenhum registro para ser exibido!</p>
</td>
</tr>
<?php endif ?>