Fix systematic errors in pagination, sucursal warnings, and fatal count() errors across multiple modules
This commit is contained in:
@@ -0,0 +1,200 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 01:00:00
|
||||
compiled from "/var/www/html/ventas/templates/forms/detalles-usuario.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:84093274695e04703e0901-02502159%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0f859fc3985b1f0c639870f0c1aa05194a5bf0fc' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/forms/detalles-usuario.tpl',
|
||||
1 => 1767753171,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '84093274695e04703e0901-02502159',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="divForm">
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">Tipo:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['type'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td width="130"><?php if ($_smarty_tpl->getVariable('info')->value['type']!="Supervisor"){?>Sucursal:<?php }?></td>
|
||||
<td><?php if ($_smarty_tpl->getVariable('info')->value['type']!="Supervisor"){?><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['sucursal'];?>
|
||||
</div><?php }?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Nombre:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['nombre'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Apellidos:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['apellidos'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Dirección:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['calle'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>No Exterior:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['noExt'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No Interior:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['noInt'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Referencia:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['referencia'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Colonia:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['colonia'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Localidad:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['localidad'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Municipio o Delegación:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['municipio'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Estado:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['estado'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Pais:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['pais'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Código Postal:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['codigoPostal'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Teléfono:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['telefono'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Celular:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['celular'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">No. IMSS:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['noImss'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>CURP:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['curp'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">RFC:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['rfc'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td>Email:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['email'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Contraseña:</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['password'];?>
|
||||
</div></td>
|
||||
<td width="10"></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IDENTIFICACION OFICIAL ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('info')->value['identificacion']!=''){?>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/identificacion/<?php echo $_smarty_tpl->getVariable('info')->value['identificacion'];?>
|
||||
" rel="clearbox">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/identificacion/<?php echo $_smarty_tpl->getVariable('info')->value['identificacion'];?>
|
||||
" width="100" height="100" border="0" />
|
||||
</a>
|
||||
<?php }else{ ?>
|
||||
Ninguna imagen encontrada.
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPROBANTE DE DOMICILIO ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('info')->value['comprobante']!=''){?>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/comprobante/<?php echo $_smarty_tpl->getVariable('info')->value['comprobante'];?>
|
||||
" rel="clearbox">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/comprobante/<?php echo $_smarty_tpl->getVariable('info')->value['comprobante'];?>
|
||||
" width="100" height="100" border="0" />
|
||||
</a>
|
||||
<?php }else{ ?>
|
||||
Ninguna imagen encontrada.
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center" id="sucSup" <?php if ($_smarty_tpl->getVariable('info')->value['type']!="Supervisor"){?>style="display:none"<?php }?>>
|
||||
<table width="30%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center" colspan="2"><b>.:: SUCURSALES A SUPERVISAR ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->getVariable('sucursales')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
if (count($_from) > 0){
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>
|
||||
<tr>
|
||||
<td align="center" width="30">- </td>
|
||||
<td align="left"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php }} ?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
<div style="margin-left:410px"><a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios"><< Regresar</a></div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user