-- mejoras en pagoprepolziaventa
++ clientesabonar. cambio para utilziar pagoprepoliza
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
<div id="DivDatosBancarios" runat="server" class="chequesie1">
|
||||
<div class="row">
|
||||
<label class="col-md-2">Movimiento:</label>
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-5">
|
||||
<asp:DropDownList ID="DdlTipoTransaccion" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" AutoPostBack="true" DataTextField="TipoTransaccion" DataValueField="CveTipoTransaccion" ValidationGroup="GrpGuardar">
|
||||
</asp:DropDownList>
|
||||
<asp:RequiredFieldValidator ID="RFVTipoTransaccion" runat="server" ControlToValidate="DdlTipoTransaccion" InitialValue="-1" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Tipo Movimiento''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||
@@ -114,10 +114,7 @@
|
||||
<ajax:ValidatorCalloutExtender ID="VCOCuenta" runat="server" HighlightCssClass="vco" TargetControlID="RFVCuenta" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-5" runat="server" id="DivTCDolaresDolares" visible="false">
|
||||
T.C:
|
||||
<asp:TextBox ID="TxtTCDolaresDolares" runat="server" placeholder="Tipo de Cambio" CssClass="form-control input-sm" MaxLength="12" Width="70px" ClientIDMode="Static" Style="text-align: right; display: inline-block;" />
|
||||
@@ -216,22 +213,22 @@
|
||||
<div class="col-md-3">
|
||||
<asp:TextBox ID="TxtAnticipo" runat="server" Width ="100px" ClientIDMode="Static" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-2" runat="server" id="Div3" visible="false">Liquidación:</div>
|
||||
<div class="col-md-2" runat="server" id="Div3" visible="false"> </div>
|
||||
<div class="col-md-3" runat="server" id="Div4" visible="false">
|
||||
<asp:CheckBox ID="CheckBox2" OnCheckedChanged="ChkLiquidacion_CheckedChanged" runat="server" AutoPostBack="true" />
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row" id="divPrestamo" runat="server" visible="false" >
|
||||
<div class="col-md-2" >Préstamo:</div>
|
||||
<div class="col-md-3">
|
||||
<asp:TextBox ID="TxtPrestamo" runat="server" Width ="100px" ClientIDMode="Static" />
|
||||
<asp:TextBox ID="TxtPrestamoImporte" runat="server" Width="100px" ClientIDMode="Static"></asp:TextBox>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<asp:DropDownList ID="DdlPrestamo" runat="server" Width="40px" DataTextField="RazonSocial" DataValueField="CveIE"></asp:DropDownList>
|
||||
<asp:DropDownList ID="DdlPrestamo" runat="server" Width="100%" DataTextField="TextoDocumento" DataValueField="CveIE"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-md-3" >Intereses:
|
||||
<asp:TextBox ID="TxtPrestamoIntereses" runat="server" Width="80px" ClientIDMode="Static"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<asp:UpdatePanel ID="UpCuentaDeposito" UpdateMode="Conditional" runat="server">
|
||||
@@ -820,6 +817,24 @@
|
||||
Importe = Importe + ToDouble($get('TxtAnticipo').value);
|
||||
}
|
||||
}
|
||||
if ($get('TxtPrestamoImporte') != null) {
|
||||
|
||||
if ($get('TxtPrestamoImporte').value == '') {
|
||||
$get('TxtPrestamoImporte').value = 0.00;
|
||||
}
|
||||
else {
|
||||
Importe = Importe - ToDouble($get('TxtPrestamoImporte').value);
|
||||
}
|
||||
}
|
||||
if ($get('TxtPrestamoIntereses') != null) {
|
||||
|
||||
if ($get('TxtPrestamoIntereses').value == '') {
|
||||
$get('TxtPrestamoIntereses').value = 0.00;
|
||||
}
|
||||
else {
|
||||
Importe = Importe - ToDouble($get('TxtPrestamoIntereses').value);
|
||||
}
|
||||
}
|
||||
|
||||
if ($get('TxtOtrosImportes') != null) {
|
||||
if (pagoMultiple != 0) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user