Files
ventas_php/ajax/templates_c/092ccd4633743b877193eb7ab6b3d9a3e1b545c6.file.conceptos-facturacion.tpl.php

75 lines
3.8 KiB
PHP
Executable File

<?php /* Smarty version Smarty3-b7, created on 2014-06-18 10:28:50
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/conceptos-facturacion.tpl" */ ?>
<?php /*%%SmartyHeaderCode:112157521553a1b0326d8a56-18473896%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'092ccd4633743b877193eb7ab6b3d9a3e1b545c6' =>
array (
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/conceptos-facturacion.tpl',
1 => 1384905875,
),
),
'nocache_hash' => '112157521553a1b0326d8a56-18473896',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #CCCCCC">
<thead>
<tr>
<th width="50" align="center">&nbsp;</th>
<th width="50" align="center"><div align="center">Cant.</div></th>
<th width="100" align="center"><div align="center">Unid.</div></th>
<th width="50" align="center"><div align="center">ID.</div></th>
<th width="300" align="center"><div align="center">Descripci&oacute;n</div></th>
<th width="100" align="center"><div align="center">V. Unitario</div></th>
<th width="100" align="center"><div align="center">Importe</div></th>
<th width="50" align="center"><div align="center">E. Iva</div></th>
<th width="50" align="center"><div align="center">Acci&oacute;n</div></th>
</tr>
</thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['concepto'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->getVariable('conceptos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if (count($_from) > 0){
foreach ($_from as $_smarty_tpl->tpl_vars['concepto']->key => $_smarty_tpl->tpl_vars['concepto']->value){
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['concepto']->key;
?>
<tr id="conceptoDiv<?php echo $_smarty_tpl->getVariable('key')->value;?>
">
<td id="conceptoBaseUserId<?php echo $_smarty_tpl->getVariable('key')->value;?>
" align="center" valign="top"><?php echo $_smarty_tpl->getVariable('key')->value;?>
</td>
<td align="center" valign="top"><?php echo number_format($_smarty_tpl->getVariable('concepto')->value['cantidad'],2,".",",");?>
</td>
<td align="center" valign="top"><?php echo $_smarty_tpl->getVariable('concepto')->value['unidad'];?>
</td>
<td align="center" valign="top"><?php echo $_smarty_tpl->getVariable('concepto')->value['noIdentificacion'];?>
</td>
<td style="font-family:'Courier New', Courier, monospace; text-align:justify" valign="top"><?php echo nl2br($_smarty_tpl->getVariable('concepto')->value['descripcion']);?>
</td>
<td align="center" valign="top"><?php echo number_format($_smarty_tpl->getVariable('concepto')->value['valorUnitario'],2,".",",");?>
</td>
<td align="center" valign="top"><?php echo number_format($_smarty_tpl->getVariable('concepto')->value['importe'],2,".",",");?>
</td>
<td align="center" valign="top"><?php echo $_smarty_tpl->getVariable('concepto')->value['excentoIva'];?>
</td>
<td align="center" valign="top">
<a href="javascript:void(0)" onclick="BorrarConcepto(<?php echo $_smarty_tpl->getVariable('key')->value;?>
)" title="Eliminar">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/action_delete.gif" border="0" />
</a>
</td>
</tr>
<?php }} else { ?>
<tr>
<td colspan="9" align="center">Ning&uacute;n concepto encontrado.</td>
</tr>
<?php } ?>
</tbody>
</table>