✏️ 正在编辑: emprestimos.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/callcenter/emprestimos.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php echo $this->formEmprestimo; ?> <table id="lista_emprestimos"> <thead> <tr class="top_list"> <th>Tipo</th> <th>Banco</th> <th>Nº Contrato</th> <th>Vl. Empréstimo</th> <th>Qtd Parcelas</th> <th>Em aberto</th> <th>Taxa</th> <th>Início / inclusão</th> <th>Término</th> <th>Valor Parcela</th> <th>Quitação</th> <th>Limite Crt.</th> <th>Situação</th> <th></th> </tr> </thead> <?php if( !empty($this->emprestimos) ): $beneficios = array(); foreach($this->emprestimos as $emprestimo): if(!empty($emprestimo['beneficio'])): $beneficios[$emprestimo['beneficio']][] = $emprestimo; continue; endif; $beneficios['000000'][] = $emprestimo; endforeach; ?> <tbody> <?php foreach ( $beneficios as $beneficio => $emprestimos ): ?> <tr class="top_list"> <td colspan="15">Benefício: <?php echo $beneficio ?></td> </tr> <?php foreach ( $emprestimos as $emprestimo ): ?> <tr> <td><?php echo $emprestimo['tipo']; ?></td> <td><?php echo $emprestimo['numero_banco'] . " - " . $emprestimo['banco']; ?></td> <td><?php echo $emprestimo['numero_contrato']; ?></td> <td>R$ <?php echo number_format($emprestimo['valor_emprestimo'], 2, ',', '.'); ?></td> <td><?php echo (int)$emprestimo['parcelas_pagas']; ?> de <?php echo (int)$emprestimo['qtd_parcelas']; ?></td> <td> <?php if(empty($emprestimo['parcelas_abertas'])): ?> <?= $emprestimo['qtd_parcelas'] - $emprestimo['parcelas_pagas']?> <?php else: ?> <?= $emprestimo['parcelas_abertas'] ?> <?php endif;?> </td> <td><?php echo number_format($emprestimo['taxa'], 2, ',', '.'); ?></td> <td><?php echo $emprestimo['data_inclusao'] ? $this->formatDate($emprestimo['data_inclusao']) : $this->formatDate($emprestimo['inicio_contrato']); ?></td> <td><?php echo $this->formatDate($emprestimo['termino_contrato']); ?></td> <td>R$ <?php echo number_format($emprestimo['valor_parcela'], 2, ',', '.'); ?></td> <td>R$ <?php echo number_format($emprestimo['quitacao'], 2, ',', '.'); ?></td> <td>R$ <?php echo number_format($emprestimo['valor_atual_beneficio'], 2, ',', '.'); ?></td> <td><?php echo $emprestimo['situacao']; ?></td> <td align="center"><a href="#" class="link_remove_no_event remover_emprestimo" data-id="<?php echo $emprestimo['id'] ?>"></a></td> </tr> <?php endforeach; endforeach; ?> </tbody> <tfoot class="foot_button"> <tr> <?php $cliente = isset($this->cliente) ? $this->cliente : $this->dados_cliente; ?> <td><button id="printReport" onclick="window.openWin('<?php echo $this->baseUrl() . "/callcenter/print-historico-emprestimos/cpf/{$cliente['cpf']}" ?>', 1024, 768)">Imprimir</button></td> </tr> </tfoot> <?php endif; ?> </table>
💾 保存文件
← 返回文件管理器