51 lines
2.1 KiB
PHP
Executable File
51 lines
2.1 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-09-11 11:29:50
|
|
compiled from "/var/www/html/templates/lists/analisis-sucursal.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:1664699089540a203a3ffeb4-08495157%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'0df98406c6b3dfe01787fbec01cc4c2ebd78c449' =>
|
|
array (
|
|
0 => '/var/www/html/templates/lists/analisis-sucursal.tpl',
|
|
1 => 1410130457,
|
|
),
|
|
),
|
|
'nocache_hash' => '1664699089540a203a3ffeb4-08495157',
|
|
'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ún registro encontrado.</td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|