66 lines
2.7 KiB
PHP
Executable File
66 lines
2.7 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-09-26 13:04:35
|
|
compiled from "/var/www/html/templates/items/envios-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:18783727705425aab394dde0-69843011%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'91127d5418d306428fe02a7f914d351ccc53de40' =>
|
|
array (
|
|
0 => '/var/www/html/templates/items/envios-base.tpl',
|
|
1 => 1410130454,
|
|
),
|
|
),
|
|
'nocache_hash' => '18783727705425aab394dde0-69843011',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<tr>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['fecha'];?>
|
|
</td>
|
|
<td align="center">CEDIS</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['prendas'];?>
|
|
</td>
|
|
<td align="center">$<?php echo $_smarty_tpl->getVariable('item')->value['total'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['noCajas'];?>
|
|
</td>
|
|
<td align="center">
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
|
|
En Tránsito
|
|
<?php }else{ ?>
|
|
<?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
|
|
|
|
<?php }?>
|
|
</td>
|
|
<td align="center">
|
|
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"&&$_smarty_tpl->getVariable('item')->value['status']=="Pendiente"){?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/envios-recibir/id/<?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
" title="Recibir Mercancia">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/action_check.gif" border="0"/>
|
|
</a>
|
|
<?php }?>
|
|
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="almacen"){?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/envios-talones-pdf/id/<?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
" title="Ver Talones de Embarque" target="_blank">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/pdf.png" border="0"/>
|
|
</a>
|
|
<?php }?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/envios-detalles/id/<?php echo $_smarty_tpl->getVariable('item')->value['envioId'];?>
|
|
" title="Ver Detalles">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/details.png" border="0"/>
|
|
</a>
|
|
|
|
</td>
|
|
</tr>
|