98 lines
3.7 KiB
PHP
Executable File
98 lines
3.7 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-04-30 08:32:27
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/cobrar-venta-popup.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:4267604555360fb6b906e01-46268736%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'88d1820aca533cd9728191ec2ea5793bc7947abc' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/boxes/cobrar-venta-popup.tpl',
|
|
1 => 1375965213,
|
|
),
|
|
),
|
|
'nocache_hash' => '4267604555360fb6b906e01-46268736',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<div align="center" class="txtH1">COBRAR VENTA</div>
|
|
|
|
<br />
|
|
|
|
<div align="center">
|
|
<a href="javascript:void(0)" onclick="AddPago()">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/add.png" border="0" /> Agregar Pago
|
|
</a>
|
|
</div>
|
|
|
|
<div id="listPagos">
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pagos-venta.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
</div>
|
|
|
|
<table width="60%" cellpadding="0" cellspacing="0" border="0" align="center">
|
|
<tr>
|
|
<td height="40" align="left"><b>TOTAL PAGADO:</b></td>
|
|
<td align="right">
|
|
<div class="txtFrm" style="width:140px; text-align:right" id="txtTotalPagado">
|
|
<?php echo number_format($_smarty_tpl->getVariable('totalPagado')->value,2,'.',',');?>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="40" align="left"><b>POR PAGAR:</b></td>
|
|
<td align="right">
|
|
<div class="txtFrm" style="width:140px; text-align:right" id="txtPorPagar">
|
|
<?php echo number_format($_smarty_tpl->getVariable('porPagar')->value,2,'.',',');?>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="40" align="left"><b>TOTAL VENTA:</b></td>
|
|
<td align="right">
|
|
<div class="txtFrm" style="width:140px; text-align:right"><b><?php echo number_format($_smarty_tpl->getVariable('total')->value,2,'.',',');?>
|
|
</b></div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="40" align="left"><b>CAMBIO:</b></td>
|
|
<td align="right"r><div class="txtFrm" style="width:140px; text-align:right" id="txtCambio"><?php echo number_format($_smarty_tpl->getVariable('cambio')->value,2,'.',',');?>
|
|
</div></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('abonoMon')->value){?>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="1">
|
|
<tr>
|
|
<td align="center" width="50%" height="30">Código de Monedero o Tarjeta para Abonar</td>
|
|
<td align="center">Saldo Abonar</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">
|
|
<input type="text" class="largeInput" name="abonarCodigo" id="abonarCodigo" />
|
|
</td>
|
|
<td align="center">
|
|
<div class="txtFrm" style="width:150px" id="txtSaldoAbonar"><?php echo number_format($_smarty_tpl->getVariable('saldoAbonar')->value,2,'.',',');?>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<?php }?>
|
|
|
|
<div style="clear:both"></div>
|
|
|
|
<div style="margin-left:150px; margin-top:10px">
|
|
<div style="float:left">
|
|
<input type="button" name="btnSave" id="btnSave" onclick="SaveVenta()" value="Guardar" style="padding:8px; width:100px" />
|
|
<input type="hidden" name="vtaId" id="vtaId" value="<?php echo $_smarty_tpl->getVariable('ventaId')->value;?>
|
|
" />
|
|
</div>
|
|
<div style="float:left; padding-left:10px">
|
|
<input type="button" name="btnCancel" id="btnCancel" onclick="HideFviewCobro()" value="Cancelar" style="padding:8px; width:100px" />
|
|
</div>
|
|
</div>
|