Primer commit del sistema avantika sin cambios
This commit is contained in:
70
templates_c/8be1c33fdf3afd061733965f3b2b541103fd308c.file.conceptos.tpl.php
Executable file
70
templates_c/8be1c33fdf3afd061733965f3b2b541103fd308c.file.conceptos.tpl.php
Executable file
@@ -0,0 +1,70 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-07 17:59:17
|
||||
compiled from "/var/www/html/templates/lists/conceptos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:252567815540ce345d76707-59873925%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'8be1c33fdf3afd061733965f3b2b541103fd308c' =>
|
||||
array (
|
||||
0 => '/var/www/html/templates/lists/conceptos.tpl',
|
||||
1 => 1410130457,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '252567815540ce345d76707-59873925',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" id="boxTblC" style="border-top:1px solid #CCCCCC">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="90" align="center" height="30">Desc.</th>
|
||||
<th width="" align="center">Descripción</th>
|
||||
<th width="50" align="center" height="30">Cant.</th>
|
||||
<th width="90" align="center">P. Unit.</th>
|
||||
<th width="90" align="center">Total</th>
|
||||
<th width="20" align="center"> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_smarty_tpl->tpl_vars['item'] = 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['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
||||
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['descuento'];?>
|
||||
</td>
|
||||
<td align="left">
|
||||
<?php echo $_smarty_tpl->getVariable('item')->value['name'];?>
|
||||
|
||||
<?php if ($_smarty_tpl->getVariable('item')->value['promocionId']){?>
|
||||
<br />
|
||||
Promoción: <?php echo $_smarty_tpl->getVariable('item')->value['promocion'];?>
|
||||
|
||||
<?php }?>
|
||||
</td>
|
||||
<td align="center"><?php echo $_smarty_tpl->getVariable('item')->value['cantidad'];?>
|
||||
</td>
|
||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('item')->value['precio'],2,".",",");?>
|
||||
</td>
|
||||
<td align="center"><?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,".",",");?>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="javascript:void(0)" onclick="DeleteProduct(<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
||||
)">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" border="0" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }} else { ?>
|
||||
<tr>
|
||||
<td colspan="6" align="center">Ningún producto encontrado.</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user