✏️ 正在编辑: aniversariantes.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/callcenter/aniversariantes.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h2 align="center">Aniversariantes do dia</h2> <div class="container-box"> <table class="aniversariantes-do-dia"> <thead> <tr> <th colspan="1">Clientes</th> <th>UF</th> <th></th> </tr> </thead> <?php if( count($this->aniversariantes) > 0 ): ?> <tbody> <?php $data = Zend_Date::now(); ?> <?php foreach ( $this->aniversariantes as $aniversariante ): ?> <?php $dataNascimento = new Zend_Date($aniversariante->data_nascimento, 'yyyy-MM-dd'); ?> <?php if( $dataNascimento->compareDay($data) == 1 ): $data->setDay($dataNascimento->getDay()); ?> <tr> <th colspan="2"><?php echo $data->get(Zend_Date::WEEKDAY); ?></th> <th></th> </tr> <?php endif; ?> <tr> <td > <?php echo $this->escape($aniversariante->nome); ?> </td> <td> <?= $aniversariante->uf; ?> </td> <td><a href="#" onclick="openWin('<?php echo $this->url(array('controller' => 'callcenter', 'action' => 'ver-cliente', 'id' => $aniversariante->id)); ?>', 1000, 630, 1)" title="Visualizar dados do cliente" class="link_view"></a></td> </tr> <?php endforeach; ?> </tbody> <?php endif; ?> </table> <div class="clear"></div> </div>
💾 保存文件
← 返回文件管理器