D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
idoso
/
adm
/
app
/
cpgre
/
Views
/
Residente
/
Filename :
listarTransferenciaJs.php
back
Copy
<?php if (!defined('URL')) { header("Location: /"); exit(); } //var_dump($this->Dados['botao']); ?> <div class="table-responsive"> <table class="table table-striped table-hover table-bordered"> <thead> <tr> <th>ID</th> <!-- <th>CPF-Residente</th> --> <th>Residente</th> <th class="text-center">Ações</th> </tr> </thead> <tbody> <?php foreach ($this->Dados['listTransf'] as $resid) { extract($resid); // var_dump($resid);resid.classif ?> <tr> <th><?php echo $id; ?></th> <!-- <td> <?php echo preg_replace("/(\d{3})(\d{3})(\d{3})(\d{2})/", "\$1.\$2.\$3-\$4", $resid_cpf); ?> </td> --> <td> <?php echo utf8_encode($resid_nome); ?> </td> <td class="text-center"> <span class="d-none d-md-block"> <?php if ($this->Dados['botao']['cad_transf']) { echo "<a href='" . URLADM . "transferencia/cad-transf/$id' class='btn btn-outline-warning btn-sm'>Transferir</a> "; } ?> </span> <div class="dropdown d-block d-md-none"> <button class="btn btn-primary dropdown-toggle btn-sm" type="button" id="acoesListar" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Ações </button> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="acoesListar"> <?php /* if ($this->Dados['botao']['vis_resid']) { echo "<a class='dropdown-item' href='" . URLADM . "ver-resid/ver-resid/$id'>Visualizar</a>"; } if ($this->Dados['botao']['cad_transf']) { echo "<a href='" . URLADM . "transferencia/cad-transf/$id' class='btn btn-outline-danger btn-sm' data-transf='Tem certeza de que deseja excluir o item selecionado?'>Apagar</a> "; } */ ?> </div> </div> </td> </tr> <?php } ?> </tbody> </table> <?php // echo $this->Dados['paginacao']; ?> </div>