75 lines
3.5 KiB
PHP
Executable File
75 lines
3.5 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-05-06 19:24:06
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/inventario-fisico-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:78639892953697d26a2a203-76177804%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'6b611fe3b2afa3c60b4d0b2d66e76ee5e239ee0a' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/inventario-fisico-base.tpl',
|
|
1 => 1387414927,
|
|
),
|
|
),
|
|
'nocache_hash' => '78639892953697d26a2a203-76177804',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if (!is_callable('smarty_modifier_date_format')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/libs/plugins/modifier.date_format.php';
|
|
?><?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('resReportes')->value['items']; 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;
|
|
?>
|
|
<tr>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['invFisicoId'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
|
|
</td>
|
|
<td align="center"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fecha'],"%d-%m-%Y %k:%M");?>
|
|
Hrs.</td>
|
|
<td align="center">
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="Procesado"){?>
|
|
<?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('item')->value['fechaAjuste'],"%d-%m-%Y %k:%M");?>
|
|
Hrs.
|
|
<?php }?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
|
|
</td>
|
|
<td align="center">
|
|
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="supervisor"&&$_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/inventario-fisico-agregar/id/<?php echo $_smarty_tpl->getVariable('item')->value['invFisicoId'];?>
|
|
" title="Editar">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/pencil.png" border="0" />
|
|
</a>
|
|
<?php }?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/inventario-fisico-detalles/id/<?php echo $_smarty_tpl->getVariable('item')->value['invFisicoId'];?>
|
|
" title="Ver Detalles">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/details.png" border="0" />
|
|
</a>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
|
|
<a href="javascript:void(0)" onclick="EliminarReporte(<?php echo $_smarty_tpl->getVariable('item')->value['invFisicoId'];?>
|
|
)" title="Eliminar">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
" />
|
|
</a>
|
|
<?php }?>
|
|
</td>
|
|
</tr>
|
|
|
|
<?php }} else { ?>
|
|
<tr>
|
|
<td colspan="7" align="center">Ningún registro encontrado.</td>
|
|
</tr>
|
|
<?php } ?>
|