Files
ventas_php/ajax/templates_c/0c0488c3e87d96665f6a17d2be7a1d4537bc3fbf.file.analisis-sucursal.tpl.php

51 lines
2.2 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-04-29 22:57:29
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/analisis-sucursal.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1137908193536074a9b353a1-89202520%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0c0488c3e87d96665f6a17d2be7a1d4537bc3fbf' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/analisis-sucursal.tpl',
1 => 1381165837,
),
),
'nocache_hash' => '1137908193536074a9b353a1-89202520',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" id="subTable">
<?php $_smarty_tpl->tpl_vars['iS'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['kS'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('sucursales')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['iS']->key => $_smarty_tpl->tpl_vars['iS']->value){
$_smarty_tpl->tpl_vars['kS']->value = $_smarty_tpl->tpl_vars['iS']->key;
?>
<tr>
<td width="40" height="35"></td>
<td align="center" width="40">
<a href="javascript:void(0)" onclick="ShowProveedores(<?php echo $_smarty_tpl->getVariable('kS')->value;?>
)"><div id="iconSuc_<?php echo $_smarty_tpl->getVariable('kS')->value;?>
">[+]</div></a>
</td>
<td align="left"><?php echo $_smarty_tpl->getVariable('iS')->value['nombre'];?>
</td>
</tr>
<tr id="prov_<?php echo $_smarty_tpl->getVariable('kS')->value;?>
" style="display:none">
<td colspan="3" align="left">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/analisis-proveedor.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</td>
</tr>
<?php }} else { ?>
<tr>
<td align="center">Ning&uacute;n registro encontrado.</td>
</tr>
<?php } ?>
</table>