✏️ 正在编辑: contratos.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/cliente/contratos.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<table summary="Contratos"> <thead> <tr class="top_list"> <th>Empresa</th> <th>N° Contrato</th> <th>Banco</th> <th>Corretor</th> <th>Prazo</th> <th>Valor Líquido</th> <th>Data Liberação</th> <th>Status</th> <th>Físico Recebido</th> <th>Físico Enviado</th> <th colspan="2"></th> </tr> </thead> <tbody> <?php if( count($this->contratos) <= 0 ): ?> <tr> <td colspan="13">Nenhum contrato encontrado.</td> </tr> <?php else: foreach ( $this->contratos as $contrato ): ?> <?php $cliente = $contrato->findParentRow('Model_DbTable_Cliente'); ?> <?php $corretor = $contrato->findParentRow('Model_DbTable_Corretor'); ?> <?php $tipo = $contrato->findParentRow('Model_DbTable_Tipos', 'StatusProposta'); ?> <?php $empresa = $contrato->findParentRow('Model_DbTable_Empresa'); ?> <?php $banco = $contrato->findParentRow('Model_DbTable_Banco'); ?> <tr> <td><?php echo $this->limitSizeTextList($empresa['nome']) ?></td> <td><?php echo $this->limitSizeTextList($contrato['numero_contrato'], 10) ?></td> <td><?php echo $this->limitSizeTextList($banco['nome'], 10) ?></td> <td><?php echo $this->limitSizeTextList($corretor['nome']) ?></td> <td><?php echo $contrato['prazo']; ?></td> <td><?php echo number_format($contrato['valor_liquido'], 2, ',', '.'); ?></td> <td><?php echo $this->dateFormat($contrato['data_liberacao']); ?></td> <td><?php echo $this->limitSizeTextList($tipo['descricao']); ?></td> <td><?php echo $this->dateFormat($contrato['data_recebimento_fisico']); ?></td> <td><?php echo $this->dateFormat($contrato['data_envio_fisico']); ?></td> <td align="center"><a href="<?php echo $this->url(array( 'controller' => 'contrato', 'action' => 'save', 'id' => $contrato['id'], 'cliente_id' => $contrato['cliente_id'] )) ?>" class="link_edit"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'controller' => 'contrato', 'action' => 'delete', 'id' => $contrato['id'] )) ?>" class="link_remove"></a></td> </tr> <?php endforeach; endif ?> </tbody> </table>
💾 保存文件
← 返回文件管理器