67 lines
3.1 KiB
PHP
Executable File
67 lines
3.1 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-05-30 12:08:57
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/descuentos-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:7562571385388bb299085e0-46214116%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'fc2baa7bfd775d8dbce628f57b118d998989535f' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/descuentos-base.tpl',
|
|
1 => 1376693004,
|
|
),
|
|
),
|
|
'nocache_hash' => '7562571385388bb299085e0-46214116',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<tr>
|
|
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['folio'];?>
|
|
</div></td>
|
|
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
|
|
</div></td>
|
|
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
|
|
</div></td>
|
|
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['fecha'];?>
|
|
</div></td>
|
|
<td align="center"><div align="center"><?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,".",",");?>
|
|
</div></td>
|
|
<td align="center"><div align="center">
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="DescAp"){?>
|
|
Descuento Aplicado
|
|
<?php }elseif($_smarty_tpl->getVariable('item')->value['status']=="Descuento"){?>
|
|
Pendiente Aplicar Descuento
|
|
<?php }else{ ?>
|
|
<?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
|
|
|
|
<?php }?>
|
|
</div>
|
|
</td>
|
|
<td align="center"><div align="center">
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="DescAp"){?>
|
|
<a href="javascript:void(0)" onclick="CobrarVenta(<?php echo $_smarty_tpl->getVariable('item')->value['ventaId'];?>
|
|
)" title="Cobrar Venta">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/money.png" border="0"/>
|
|
</a>
|
|
<?php }elseif($_smarty_tpl->getVariable('item')->value['status']=="Descuento"&&$_smarty_tpl->getVariable('Usr')->value['type']=="gerente"){?>
|
|
<a href="javascript:void(0)" onclick="AplicarDescuento(<?php echo $_smarty_tpl->getVariable('item')->value['ventaId'];?>
|
|
)" title="Aplicar Descuento">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/ok.png" border="0"/>
|
|
</a>
|
|
<?php }?>
|
|
<a href="javascript:void(0)" onclick="PrintTicket(<?php echo $_smarty_tpl->getVariable('item')->value['ventaId'];?>
|
|
)" title="Ver Detalles">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/ticket.png" border="0"/>
|
|
</a>
|
|
<a href="javascript:void(0)" onclick="CancelarVenta(<?php echo $_smarty_tpl->getVariable('item')->value['ventaId'];?>
|
|
)" title="Cancelar Venta">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/cancel.png" border="0"/>
|
|
</a>
|
|
</div>
|
|
</td>
|
|
</tr>
|