Files
ventas_php/ajax/templates_c/19543412d766475cf4adb08493cac97e75227c8e.file.select-vend.tpl.php

33 lines
1.5 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:21:46
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/select-vend.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10584714125360f8ead2be90-31452624%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'19543412d766475cf4adb08493cac97e75227c8e' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/select-vend.tpl',
1 => 1380898078,
),
),
'nocache_hash' => '10584714125360f8ead2be90-31452624',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="vendedorId" id="vendedorId" class="largeInput" style="width:220px">
<option value="todos">Todos</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('resVend')->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;
?>
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['usuarioId'];?>
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
&nbsp;<?php echo $_smarty_tpl->getVariable('item')->value['apellidos'];?>
</option>
<?php }} ?>
</select>