Primer commit del sistema avantika sin cambios
This commit is contained in:
53
templates/lists/pagos-venta.tpl
Executable file
53
templates/lists/pagos-venta.tpl
Executable file
@@ -0,0 +1,53 @@
|
||||
<form name="frmPagos" id="frmPagos">
|
||||
<input type="hidden" name="action" id="action" value="savePagos" />
|
||||
<input type="hidden" name="idVta" id="idVta" value="" />
|
||||
<input type="hidden" name="k" id="k" value="" />
|
||||
<input type="hidden" name="codigoAbonar" id="codigoAbonar" value="" />
|
||||
<input type="hidden" name="idVendedor" id="idVendedor" value="" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="1">
|
||||
<tr>
|
||||
<td align="center" width="50%" height="30"><b>Forma de Pago</b></td>
|
||||
<td align="center"><b>Cantidad</b></td>
|
||||
<td align="center" width="10"></td>
|
||||
</tr>
|
||||
{foreach from=$pagos item=item key=key}
|
||||
<tr>
|
||||
<td align="center">
|
||||
<select class="largeInput" name="metodoPago[{$key}]" id="idMetodoPago_{$key}" onchange="CheckMetodoPago({$key})">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$metodosPago item=it key=k}
|
||||
<option value="{$it.metodoPagoId}" {if $it.metodoPagoId == $item.metodoPagoId}selected{/if}>{$it.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
{*}
|
||||
<div id="codigoMon_{$key}" {if $item.metodoPagoId != 5}style="display:none"{/if}>
|
||||
Código de Monedero o Tarjeta: <br />
|
||||
<input type="text" class="largeInput" name="codigoMon_{$key}" id="monCodigo_{$key}" value="{$item.codigoMon}" onblur="GetSaldoMonedero({$key})" />
|
||||
</div>
|
||||
{*}
|
||||
</td>
|
||||
<td align="center" valign="top">
|
||||
<input type="text" class="largeInput" name="cantidad_{$key}" value="{$item.cantidad}" onkeyup="CheckKeyPago()" autofocus="autofocus" {if $item.metodoPagoId == 6}readonly{/if} />
|
||||
{*}
|
||||
<div id="saldoMon_{$key}" {if $item.metodoPagoId != 5}style="display:none"{/if}>
|
||||
Saldo Actual:
|
||||
<div class="txtFrm" style="width:150px" id="txtSaldo_{$key}">{$item.saldoMon}</div>
|
||||
</div>
|
||||
{*}
|
||||
</td>
|
||||
<td align="center">
|
||||
{if $item.metodoPagoId != 6}
|
||||
<a href="javascript:void(0)" onclick="DeletePago({$key})">
|
||||
<img src="{$WEB_ROOT}/images/icons/delete.gif" border="0" />
|
||||
</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="3" align="center" height="30">Ningún registro encontrado.</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</form>
|
||||
Reference in New Issue
Block a user