77 lines
3.6 KiB
PHP
Executable File
77 lines
3.6 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 11:52:09
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/ventas-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:139474839753612a397db3e6-40438746%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'e86fd0f15868ea0f62ed6c9c81e614d3adec01cb' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/items/ventas-base.tpl',
|
|
1 => 1394576693,
|
|
),
|
|
),
|
|
'nocache_hash' => '139474839753612a397db3e6-40438746',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['ventaIdAnt']>0){?>
|
|
<?php $_smarty_tpl->assign("vClass","txtGreen",null,null);?>
|
|
<?php }?>
|
|
|
|
<tr>
|
|
<td align="center">
|
|
|
|
</td>
|
|
<td align="center" class="<?php echo $_smarty_tpl->getVariable('vClass')->value;?>
|
|
"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['folio'];?>
|
|
</div></td>
|
|
<td align="center" class="<?php echo $_smarty_tpl->getVariable('vClass')->value;?>
|
|
"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['sucursal'];?>
|
|
</div></td>
|
|
<td align="center" class="<?php echo $_smarty_tpl->getVariable('vClass')->value;?>
|
|
"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['usuario'];?>
|
|
</div></td>
|
|
<td align="center" class="<?php echo $_smarty_tpl->getVariable('vClass')->value;?>
|
|
"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['fecha'];?>
|
|
</div></td>
|
|
<td align="center" class="<?php echo $_smarty_tpl->getVariable('vClass')->value;?>
|
|
"><div align="center"><?php echo number_format($_smarty_tpl->getVariable('item')->value['total'],2,".",",");?>
|
|
</div></td>
|
|
<td align="center" class="<?php echo $_smarty_tpl->getVariable('vClass')->value;?>
|
|
"><div align="center">
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['cancelDev']==1&&$_smarty_tpl->getVariable('item')->value['status']=="Cancelado"){?>
|
|
Cancelado por Devolución
|
|
<?php }else{ ?>
|
|
<?php echo $_smarty_tpl->getVariable('item')->value['status'];?>
|
|
|
|
<?php }?>
|
|
</div></td>
|
|
<td align="center"><div align="center">
|
|
<a href="javascript:void(0)" onclick="PrintTicket(<?php echo $_smarty_tpl->getVariable('item')->value['ventaId'];?>
|
|
)" title="Ver Ticket">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/ticket.png" border="0"/>
|
|
</a>
|
|
|
|
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="Activo"&&$_smarty_tpl->getVariable('Usr')->value['type']=="admin"){?>
|
|
<a href="javascript:void(0)" onclick="CancelVentaCentral(<?php echo $_smarty_tpl->getVariable('item')->value['ventaId'];?>
|
|
)" title="Cancelar Venta">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/delete.gif" border="0"/>
|
|
</a>
|
|
<?php }?>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('item')->value['status']=="Activo"&&($_smarty_tpl->getVariable('Usr')->value['type']=="facturacion"||$_smarty_tpl->getVariable('Usr')->value['type']=="gerente")){?>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/facturacion-nueva/ventaId/<?php echo $_smarty_tpl->getVariable('item')->value['ventaId'];?>
|
|
" title="Facturar">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/fe.png" width="16px" border="0" />
|
|
</a>
|
|
<?php }?>
|
|
</div>
|
|
</td>
|
|
</tr>
|