Files
ventas_php/ajax/templates_c/44bd70325a4b3fb8de1d28f8eb3071d42963adeb.file.enumProvPromo.tpl.php

30 lines
1.4 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-09-09 14:48:55
compiled from "/var/www/html/templates/lists/enumProvPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1707557506540f59a7a0f4c8-25227786%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'44bd70325a4b3fb8de1d28f8eb3071d42963adeb' =>
array (
0 => '/var/www/html/templates/lists/enumProvPromo.tpl',
1 => 1410130458,
),
),
'nocache_hash' => '1707557506540f59a7a0f4c8-25227786',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('proveedores')->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;
?>
<input type="checkbox" name="idProveedor[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?>/><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
<br />
<?php }} ?>