Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:03:20
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-tienda-prods.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:966694897536110b891c415-66528831%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b92bbd761a11a95e54a5d69b91a1642ad89b2d01' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/envios-tienda-prods.tpl',
|
||||
1 => 1377967514,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '966694897536110b891c415-66528831',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<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="80" align="center"><b>Disponible</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['disponible'];?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="text" name="cantidad_<?php echo $_smarty_tpl->getVariable('item')->value['prodItemId'];?>
|
||||
" class="smallInput" style="width:80px" />
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="checkbox" name="idProds[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['prodItemId'];?>
|
||||
" />
|
||||
</td>
|
||||
</tr>
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td colspan="5" height="30" align="center">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
Reference in New Issue
Block a user