56 lines
2.3 KiB
PHP
Executable File
56 lines
2.3 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 12:44:11
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/suggest-proveedor.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:5550510495361366b026141-58624983%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'9248926c428708107d258894ec8c1594e4680947' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/suggest-proveedor.tpl',
|
|
1 => 1379694296,
|
|
),
|
|
),
|
|
'nocache_hash' => '5550510495361366b026141-58624983',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
|
|
<div id="sugBox">
|
|
|
|
<div class="btnClose"><a href="javascript:void(0)" onclick="CloseSugProv()">X Cerrar</a></div>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="1" class="resTbl">
|
|
<?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;
|
|
?>
|
|
<tr>
|
|
<td class="item" width="100" align="center" height="25" onclick="FillInfoProv(<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
)">
|
|
<?php echo $_smarty_tpl->getVariable('item')->value['noProv'];?>
|
|
|
|
</td>
|
|
<td class="item" width="100" align="center" height="25" onclick="FillInfoProv(<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
)">
|
|
<?php echo $_smarty_tpl->getVariable('item')->value['rfc'];?>
|
|
|
|
</td>
|
|
<td class="item" onclick="FillInfoProv(<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
)"> <?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</td>
|
|
</tr>
|
|
<?php }} else { ?>
|
|
<tr>
|
|
<td class="item" width="100" align="center" height="25" onclick="CloseSugProv()">
|
|
Ningún registro encontrado.
|
|
</td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|
|
|
|
</div>
|