Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:32:24
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/conceptos.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10512066005360fb68bbd6a2-00311079%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'85a1ad1d6464c7150c61ee7a69f294dad680d518' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/lists/conceptos.tpl',
|
||||
1 => 1386775381,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10512066005360fb68bbd6a2-00311079',
|
||||
'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