Files
ventas_php/ajax/templates_c/99bd8ffb9347d93e8a8cc445ac7a964163cf3280.file.enumMetodosPago.tpl.php

32 lines
1.6 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-04-30 10:09:41
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumMetodosPago.tpl" */ ?>
<?php /*%%SmartyHeaderCode:27493155853611235b1c137-24614436%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'99bd8ffb9347d93e8a8cc445ac7a964163cf3280' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/enumMetodosPago.tpl',
1 => 1375965433,
),
),
'nocache_hash' => '27493155853611235b1c137-24614436',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="metodoPagoId" id="metodoPagoId" class="largeInput">
<option value="">Seleccione</option>
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('metodosPago')->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['metodoPagoId'];?>
" <?php if ($_smarty_tpl->getVariable('info')->value['metodoPagoId']==$_smarty_tpl->getVariable('item')->value['metodoPagoId']){?>selected<?php }?>><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
</option>
<?php }} ?>
</select>