Files
ventas_php/ajax/templates_c/54e38cf3f10ee2bdab3ad84d27218011d884130a.file.suggest-producto.tpl.php

51 lines
2.1 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-06-05 19:05:52
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/suggest-producto.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1252873449539105e0166082-45153180%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'54e38cf3f10ee2bdab3ad84d27218011d884130a' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/suggest-producto.tpl',
1 => 1375965478,
),
),
'nocache_hash' => '1252873449539105e0166082-45153180',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="sugBox">
<div class="btnClose"><a href="javascript:void(0)" onclick="CloseSugProd()">X Cerrar</a></div>
<table width="100%" cellpadding="0" cellspacing="0" border="1" class="resTbl">
<?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 class="item" width="150" align="center" height="25" onclick="FillInfoProd(<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
)">
<?php echo $_smarty_tpl->getVariable('item')->value['codigoBarra'];?>
</td>
<td class="item" onclick="FillInfoProd(<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
)">&nbsp;<?php echo $_smarty_tpl->getVariable('item')->value['modelo'];?>
</td>
</tr>
<?php }} else { ?>
<tr>
<td class="item" width="100" align="center" height="25" onclick="CloseSugProd()">
Ning&uacute;n registro encontrado.
</td>
</tr>
<?php } ?>
</table>
</div>