54 lines
2.2 KiB
PHP
Executable File
54 lines
2.2 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-05-02 13:18:22
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-tienda-prods2.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:8324603675363e16e24e770-42491791%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'392e8c6f8e881b6d5223f277d7e605c4ecbcf458' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-tienda-prods2.tpl',
|
|
1 => 1377967519,
|
|
),
|
|
),
|
|
'nocache_hash' => '8324603675363e16e24e770-42491791',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<hr />
|
|
<table width="600" cellpadding="0" cellspacing="0" border="1">
|
|
<tr>
|
|
<td width="150" align="center" height="30"><b>Código Barra</b></td>
|
|
<td width="" align="center" height="30"><b>Producto</b></td>
|
|
<td width="100" align="center"><b>Cantidad</b></td>
|
|
<td width="30" align="center"> </td>
|
|
</tr>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('productos')->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;
|
|
?>
|
|
<tr>
|
|
<td align="center" height="30"><?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
|
|
</td>
|
|
<td align="left" height="30"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
|
|
</td>
|
|
<td align="center">
|
|
<a href="javascript:void(0)" onclick="DeleteProducto(<?php echo $_smarty_tpl->getVariable('key')->value;?>
|
|
)" title="Eliminar">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/cancel2.png" border="0" />
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<?php }} else { ?>
|
|
<tr>
|
|
<td colspan="4" height="30" align="center">Ningún registro encontrado.</td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|