✏️ 正在编辑: add-documento.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/indicador/add-documento.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h2 class="tit_local">Termos de Responsabilidade</h2> <div style="border-bottom: 1px solid silver; width:100%;"></div> <?php echo $this->form_contratos_termos ?> <div class="clear"></div> <table> <thead> <tr class="top_list"> <th>Termo</th> <th>E-mail</th> <th>Data Envio</th> <th>Data Assinatura</th> <th colspan="2"></th> </tr> </thead> <?php foreach ( $this->termos as $termo ): ?> <tr> <td><?php echo $termo['descricao'] ?? "SEM DESCRIÇÃO"; ?></td> <td><?php echo $termo['corretor_email']; ?></td> <td><?php echo $this->dateHourFormat($termo['data_solicitacao']); ?></td> <td class="data_assinatura_<?php echo $termo['termo_id'] ?>"><?php echo $this->dateHourFormat($termo['data_assinatura']); ?></td> <td align="center"> <?php if ($termo['data_assinatura']): ?> <a href="<?php echo $this->url(['controller' => 'termo-responsabilidade', 'action' => 'download-termo-assinado', 'id' => $termo['id']]) ?>" class="link_protocolo_pdf" title="Download do documento assinado"></a> <?php else :?> <a href="#" class="send" onclick="reenviarTermo(<?php echo $termo['corretor_id'] ?>, <?php echo $termo['termo_id'] ?>, 5)" title="Reenviar documento"></a> <?php endif; ?> </td> <td align="center"> <a href="#" class="link_excluir" onclick="excluirTermoEnviado(<?php echo $termo['termo_id'] ?>, <?php echo $termo['corretor_id'] ?>)" title="Excluir documento"></a> </td> </tr> <?php endforeach; ?> </table> <p> </p> <p> </p> <hr/> <p> </p> <p> </p> <h3 class="tit_local">Outros Documentos</h3> <?php echo $this->form_corretor_documento ?> <div class="clear"></div> <table> <thead> <tr class="top_list"> <th style="width: 85%;">Descrição</th> <th></th> <th style="text-align: center;">Inserir no Termo</th> </tr> </thead> <?php foreach ( $this->documentos as $documento ): ?> <tr> <td> <a href="<?php echo $this->linkDocumentacao($documento->anexo, 'corretor', 'download-documento'); ?>" title="Visualizar Arquivo"><?php echo $documento['descricao']; ?></a> </td> <td align="center"> <a href="<?php echo $this->url(array( 'action' => 'delete-documento', 'id' => $documento['id'], 'corretor_id' => $documento['corretor_id'] )) ?>" class="link_remove"></a> </td> <td align="center"> <input type="checkbox" <?php echo $documento['incluir_termo'] ? 'checked' : '' ?> name="documento_<?php echo $documento['id'] ?>" id="documento_<?php echo $documento['id'] ?>" value="<?php echo $documento['id'] ?>" onclick="incluirDocTermo(<?php echo $documento['id'] ?>)" /> </td> </tr> <?php endforeach; ?> </table>
💾 保存文件
← 返回文件管理器