55 lines
2.3 KiB
PHP
Executable File
55 lines
2.3 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-05-01 09:44:05
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdVta.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:61539871953625db5c44939-27947593%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'2c9d7e20e75e322ae856e7d6a9c15f42eae92ad9' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumProdVta.tpl',
|
|
1 => 1375965441,
|
|
),
|
|
),
|
|
'nocache_hash' => '61539871953625db5c44939-27947593',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if (!is_callable('smarty_modifier_upper')) include '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/libs/plugins/modifier.upper.php';
|
|
?><table width="100%" cellpadding="0" cellspacing="0" border="1">
|
|
<tr>
|
|
<td width="80" align="center" height="30"><b>DISP.</b></td>
|
|
<td width="100"align="center"><b>P. U.</td>
|
|
<td width="" align="center"><b>DESCRIPCION</b></td>
|
|
<td width="20"></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['disponible'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['precioVentaIva'];?>
|
|
</td>
|
|
<td align="left"><?php echo smarty_modifier_upper($_smarty_tpl->getVariable('item')->value['nombre']);?>
|
|
</td>
|
|
<td align="center">
|
|
<a href="javascript:void(0)" onclick="UpdateInfoProdB(<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
|
)">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/add.png" border="0" />
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<?php }} else { ?>
|
|
<tr>
|
|
<td colspan="4" height="30" align="center">Ningún registro encontrado.</td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|