--Cambios en depositos caja
This commit is contained in:
@@ -37,9 +37,9 @@
|
|||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
||||||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||||||
<li>
|
<li>
|
||||||
<asp:HyperLink ID="HplImprimirPDF" runat="server" Target="_blank" Visible="true" ><i class="fa fa-file-pdf-o" style="color:#686868;"></i> Imprimir Poliza</asp:HyperLink>
|
<asp:HyperLink ID="HplImprimirPDF" runat="server" Target="_blank" Visible="true"><i class="fa fa-file-pdf-o" style="color:#686868;"></i> Imprimir Poliza</asp:HyperLink>
|
||||||
</li>
|
</li>
|
||||||
<%-- <li>
|
<%-- <li>
|
||||||
<asp:LinkButton ID="LnkImprimir" runat="server"><i class="fa fa-print"></i> Imprimir</asp:LinkButton>
|
<asp:LinkButton ID="LnkImprimir" runat="server"><i class="fa fa-print"></i> Imprimir</asp:LinkButton>
|
||||||
</li>--%>
|
</li>--%>
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
<asp:ListItem Value="3" Text="Cheque"></asp:ListItem>
|
<asp:ListItem Value="3" Text="Cheque"></asp:ListItem>
|
||||||
<asp:ListItem Value="8" Text="Transferencias"></asp:ListItem>
|
<asp:ListItem Value="8" Text="Transferencias"></asp:ListItem>
|
||||||
<asp:ListItem Value="11" Text="Tarjeta de Debito"></asp:ListItem>
|
<asp:ListItem Value="11" Text="Tarjeta de Debito"></asp:ListItem>
|
||||||
<asp:ListItem Value="12" Text="Tarjeta de Crédito"></asp:ListItem>
|
<asp:ListItem Value="12" Text="Tarjeta de Crédito"></asp:ListItem>
|
||||||
<asp:ListItem Value="-2" Text="Tarjetas"></asp:ListItem>
|
<asp:ListItem Value="-2" Text="Tarjetas"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<asp:DropDownList ID="DDlMesesSinIntereses" runat="server" Visible="false" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="NumCuentaMoneda" DataValueField="CveCuenta" Width="40px">
|
<asp:DropDownList ID="DDlMesesSinIntereses" runat="server" Visible="false" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="NumCuentaMoneda" DataValueField="CveCuenta" Width="40px">
|
||||||
@@ -152,8 +152,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-2" runat="server">
|
<div class="col-md-2" runat="server">
|
||||||
<asp:DropDownList ID="DdlCuentaDeposito" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" DataTextField="NumCuentaMoneda" DataValueField="CveCuenta" Width="100%"></asp:DropDownList>
|
<asp:DropDownList ID="DdlCuentaDeposito" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" DataTextField="NumCuentaMoneda" DataValueField="CveCuenta" Width="100%"></asp:DropDownList>
|
||||||
<asp:RequiredFieldValidator ID="RfvDdlCuentaDeposito" runat="server" ControlToValidate="DdlCuentaDeposito" InitialValue="-1" CssClass="help-block errorimput" Display="None"
|
<asp:RequiredFieldValidator ID="RfvDdlCuentaDeposito" runat="server" ControlToValidate="DdlCuentaDeposito" InitialValue="-1" CssClass="help-block errorimput" Display="None"
|
||||||
ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Cuenta''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida">
|
ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Cuenta''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida">
|
||||||
</asp:RequiredFieldValidator>
|
</asp:RequiredFieldValidator>
|
||||||
<ajax:ValidatorCalloutExtender ID="VCRfvDdlCuentaDeposito" runat="server" HighlightCssClass="vco" TargetControlID="RfvDdlCuentaDeposito" Width="350px"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCRfvDdlCuentaDeposito" runat="server" HighlightCssClass="vco" TargetControlID="RfvDdlCuentaDeposito" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||||
</div>
|
</div>
|
||||||
@@ -179,19 +179,19 @@
|
|||||||
<div class="col-md-1" runat="server" id="divTipoPago1">
|
<div class="col-md-1" runat="server" id="divTipoPago1">
|
||||||
<label style="width: 100px;">Forma de Pago:</label>
|
<label style="width: 100px;">Forma de Pago:</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1" runat="server" id="divTipoPago" >
|
<div class="col-md-1" runat="server" id="divTipoPago">
|
||||||
<asp:DropDownList ID="DdlTipoDeposito" runat="server" Width="100%" AppendDataBoundItems="true" DataTextField="NumCuentaMoneda" DataValueField="CveCuenta" Class="table-group-action-input form-control input-inline input-small input-sm select2me" >
|
<asp:DropDownList ID="DdlTipoDeposito" runat="server" Width="100%" AppendDataBoundItems="true" DataTextField="NumCuentaMoneda" DataValueField="CveCuenta" Class="table-group-action-input form-control input-inline input-small input-sm select2me">
|
||||||
<asp:ListItem Value="-1" Text="Seleccione" Selected="True"></asp:ListItem>
|
<asp:ListItem Value="-1" Text="Seleccione" Selected="True"></asp:ListItem>
|
||||||
<asp:ListItem Value="13" Text="Efectivo"></asp:ListItem>
|
<asp:ListItem Value="13" Text="Efectivo"></asp:ListItem>
|
||||||
<asp:ListItem Value="3" Text="Cheque"></asp:ListItem>
|
<asp:ListItem Value="3" Text="Cheque"></asp:ListItem>
|
||||||
<asp:ListItem Value="11" Text="Tarjeta de Débito"></asp:ListItem>
|
<asp:ListItem Value="11" Text="Tarjeta de Débito"></asp:ListItem>
|
||||||
<asp:ListItem Value="12" Text="Tarjeta de Crédito"></asp:ListItem>
|
<asp:ListItem Value="12" Text="Tarjeta de Crédito"></asp:ListItem>
|
||||||
<asp:ListItem Value="8" Text="Transferencia"></asp:ListItem>
|
<asp:ListItem Value="8" Text="Transferencia"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<asp:RequiredFieldValidator ID="RfvDdlTipoDeposito" runat="server" ControlToValidate="DdlTipoDeposito" InitialValue="-1" CssClass="help-block errorimput" Display="None"
|
<asp:RequiredFieldValidator ID="RfvDdlTipoDeposito" runat="server" ControlToValidate="DdlTipoDeposito" InitialValue="-1" CssClass="help-block errorimput" Display="None"
|
||||||
ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Forma de Pgo''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida">
|
ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Forma de Pgo''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida">
|
||||||
</asp:RequiredFieldValidator>
|
</asp:RequiredFieldValidator>
|
||||||
<ajax:ValidatorCalloutExtender ID="VCRfvDdlTipoDeposito" runat="server" HighlightCssClass="vco" TargetControlID="RfvDdlTipoDeposito" Width="350px"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCRfvDdlTipoDeposito" runat="server" HighlightCssClass="vco" TargetControlID="RfvDdlTipoDeposito" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1" runat="server" id="divFolio" visible="false">
|
<div class="col-md-1" runat="server" id="divFolio" visible="false">
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
<asp:UpdatePanel ID="UpComisiones" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpComisiones" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
<div class="row rowcheck truncate " id="DivComisioncheck" style="padding:0px!important;margin:0px!important">
|
<div class="row rowcheck truncate " id="DivComisioncheck" style="padding: 0px!important; margin: 0px!important">
|
||||||
<div class="col-md-1 truncate" runat="server" id="DivFaltante" style="width: 155px;">
|
<div class="col-md-1 truncate" runat="server" id="DivFaltante" style="width: 155px;">
|
||||||
<asp:CheckBox ID="ChkFaltante" runat="server" Text="Faltante/Sobrante" CssClass="checkbox" />
|
<asp:CheckBox ID="ChkFaltante" runat="server" Text="Faltante/Sobrante" CssClass="checkbox" />
|
||||||
</div>
|
</div>
|
||||||
@@ -257,109 +257,108 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row rowcheck truncate" id="DivDescuentocheck" runat="server" style="padding:0px!important;margin:0px!important" >
|
<div class="row rowcheck truncate" id="DivDescuentocheck" runat="server" style="padding: 0px!important; margin: 0px!important">
|
||||||
<div class="col-md-1" runat="server" id="Div1" style="width: 155px">
|
<div class="col-md-1" runat="server" id="Div1" style="width: 155px">
|
||||||
<asp:CheckBox ID="ChkDescuento" runat="server" Text="Descuento" CssClass="checkbox" />
|
<asp:CheckBox ID="ChkDescuento" runat="server" Text="Descuento" CssClass="checkbox" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1 DivDescuento" style="display:none" >
|
<div class="col-md-1 DivDescuento" style="display: none">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox runat="server" ID="TxtDescuento" Width="100px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass="form-control Numeros"></asp:TextBox>
|
<asp:TextBox runat="server" ID="TxtDescuento" Width="100px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass="form-control Numeros"></asp:TextBox>
|
||||||
<label for="<%= TxtDescuento.ClientID.ToString()%>">Importe:</label>
|
<label for="<%= TxtDescuento.ClientID.ToString()%>">Importe:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-1 DivDescuento" style="display:none" >
|
<div class="col-md-1 DivDescuento" style="display: none">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlSubProyectoDescuento" Width="100px" runat="server" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control select2me" >
|
<asp:DropDownList ID="DdlSubProyectoDescuento" Width="100px" runat="server" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control select2me">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlSubProyectoDescuento.ClientID.ToString()%>">SubProyecto:</label>
|
<label for="<%= DdlSubProyectoDescuento.ClientID.ToString()%>">SubProyecto:</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-2 DivDescuento" style="display:none">
|
<div class="col-md-2 DivDescuento" style="display: none">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlClasificacionDescuento" Width="100%" AutoPostBack="false" runat="server" AppendDataBoundItems="true" DataTextField="Clasificacion" DataValueField="CveClasificacion" CssClass="form-control select2me">
|
<asp:DropDownList ID="DdlClasificacionDescuento" Width="100%" AutoPostBack="false" runat="server" AppendDataBoundItems="true" DataTextField="Clasificacion" DataValueField="CveClasificacion" CssClass="form-control select2me">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlClasificacionDescuento.ClientID.ToString()%>">Clasificación:</label>
|
<label for="<%= DdlClasificacionDescuento.ClientID.ToString()%>">Clasificación:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-2 DivDescuento" style="display:none">
|
<div class="col-md-2 DivDescuento" style="display: none">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlPersonal" AutoPostBack="false" Width="100%" runat="server" AppendDataBoundItems="true" DataTextField="NombreCompleto" DataValueField="CvePersonal" CssClass="form-control select2me">
|
<asp:DropDownList ID="DdlPersonal" AutoPostBack="false" Width="100%" runat="server" AppendDataBoundItems="true" DataTextField="NombreCompleto" DataValueField="CvePersonal" CssClass="form-control select2me">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlPersonal.ClientID.ToString()%>">Emp:</label>
|
<label for="<%= DdlPersonal.ClientID.ToString()%>">Emp:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row rowcheck truncate" id="DivIntercheck" runat="server" style="padding:0px!important;margin:0px!important">
|
<div class="row rowcheck truncate" id="DivIntercheck" runat="server" style="padding: 0px!important; margin: 0px!important">
|
||||||
|
|
||||||
<div class="col-md-1" runat="server" id="Div2" style="width: 155px">
|
<div class="col-md-1" runat="server" id="Div2" style="width: 155px">
|
||||||
<asp:CheckBox ID="ChkIntermediario" runat="server" Text="Intermediario" CssClass="checkbox" />
|
<asp:CheckBox ID="ChkIntermediario" runat="server" Text="Intermediario" CssClass="checkbox" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-10 rowcheckCampos xspadding" id="DivInter" style="display: none">
|
<div class="col-md-10 rowcheckCampos xspadding" id="DivInter" style="display: none">
|
||||||
<div class="col-md-1" id="dd" >
|
<div class="col-md-1" id="dd">
|
||||||
<div class="form-group form-md-line-input input-iconright" >
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlProveedorIntermediario" CssClass="form-control select2me" Width="100%" DataTextField="RazonSocial" DataValueField="CveProveedor" runat="server"></asp:DropDownList>
|
<asp:DropDownList ID="DdlProveedorIntermediario" CssClass="form-control select2me" Width="100%" DataTextField="RazonSocial" DataValueField="CveProveedor" runat="server"></asp:DropDownList>
|
||||||
<label for="<%= DdlProveedorIntermediario.ClientID.ToString()%>">Intermediario:</label>
|
<label for="<%= DdlProveedorIntermediario.ClientID.ToString()%>">Intermediario:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-1" id="DivinterImporte" >
|
<div class="col-md-1" id="DivinterImporte">
|
||||||
<div class="form-group form-md-line-input input-iconright" >
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox runat="server" ID="TxtComisionIntermediario" Width="75px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass=" form-control Numeros"></asp:TextBox>
|
<asp:TextBox runat="server" ID="TxtComisionIntermediario" Width="75px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass=" form-control Numeros"></asp:TextBox>
|
||||||
<label for="<%= TxtComisionIntermediario.ClientID.ToString()%>">Importe:</label>
|
<label for="<%= TxtComisionIntermediario.ClientID.ToString()%>">Importe:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-1" id="DivIVA">
|
<div class="col-md-1" id="DivIVA">
|
||||||
<div class="form-group form-md-line-input input-iconright" >
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox runat="server" ID="TxtIVA" Width="75px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass="form-control Numeros"></asp:TextBox>
|
<asp:TextBox runat="server" ID="TxtIVA" Width="75px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass="form-control Numeros"></asp:TextBox>
|
||||||
<label for="<%= TxtIVA.ClientID.ToString()%>">IVA:</label>
|
<label for="<%= TxtIVA.ClientID.ToString()%>">IVA:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-1" id="dd2" style="margin-right: 100px;">
|
<div class="col-md-1" id="dd2" style="margin-right: 100px;">
|
||||||
|
|
||||||
<div class="form-group form-md-line-input input-iconright" >
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlClasificacionIntermediario" AutoPostBack="false" Class=" form-control select2me" runat="server" AppendDataBoundItems="true" DataTextField="Clasificacion" DataValueField="CveClasificacion">
|
<asp:DropDownList ID="DdlClasificacionIntermediario" AutoPostBack="false" Class=" form-control select2me" runat="server" AppendDataBoundItems="true" DataTextField="Clasificacion" DataValueField="CveClasificacion">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlClasificacionIntermediario.ClientID.ToString()%>"><label id="LblClasificacion3">Gasto:</label></label>
|
<label for="<%= DdlClasificacionIntermediario.ClientID.ToString()%>">
|
||||||
|
<label id="LblClasificacion3">Gasto:</label></label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2" id="divSubProyectoIntermediario">
|
<div class="col-md-2" id="divSubProyectoIntermediario">
|
||||||
<div class="form-group form-md-line-input input-iconright" >
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlSubProyectoIntermediario" runat="server" Width="100%" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control select2me" >
|
<asp:DropDownList ID="DdlSubProyectoIntermediario" runat="server" Width="100%" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control select2me">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlSubProyectoIntermediario.ClientID.ToString()%>"><label id="LblSubproyectoIntermediario">SubProyecto:</label></label>
|
<label for="<%= DdlSubProyectoIntermediario.ClientID.ToString()%>">
|
||||||
</div>
|
<label id="LblSubproyectoIntermediario">SubProyecto:</label></label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row rowcheck truncate" id="DivRowCuenta" style="padding:0px!important;margin:0px!important" runat="server" visible="false" >
|
|
||||||
|
|
||||||
|
<div class="row rowcheck truncate" id="DivRowCuenta" style="padding: 0px!important; margin: 0px!important" runat="server" visible="false">
|
||||||
<div class="col-md-1" runat="server" id="Div3" style="width: 155px">
|
<div class="col-md-1" runat="server" id="Div3" style="width: 155px">
|
||||||
<asp:CheckBox ID="ChkCuentaRetorno" runat="server" Text="Caja" CssClass="checkbox" />
|
<asp:CheckBox ID="ChkCuentaRetorno" runat="server" Text="Caja" CssClass="checkbox" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 DivRowCuenta2" id="DivCuentaImporte" style="display:none">
|
<div class="col-md-2 DivRowCuenta2" id="DivCuentaImporte" style="display: none">
|
||||||
<div class="form-group form-md-line-input input-iconright" >
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox runat="server" ID="TxtCuentaRetorno" Width="100px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass=" form-control Numeros"></asp:TextBox>
|
<asp:TextBox runat="server" ID="TxtCuentaRetorno" Width="100px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass=" form-control Numeros"></asp:TextBox>
|
||||||
<label for="<%= TxtCuentaRetorno.ClientID.ToString()%>">Importe:</label>
|
<label for="<%= TxtCuentaRetorno.ClientID.ToString()%>">Importe:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 DivRowCuenta2" style="display:none">
|
<div class="col-md-6 DivRowCuenta2" style="display: none">
|
||||||
<div class="form-group form-md-line-input input-iconright" >
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox runat="server" ID="TxtCuentaRetornoObs" Width="100%" CssClass=" form-control" ></asp:TextBox>
|
<asp:TextBox runat="server" ID="TxtCuentaRetornoObs" Width="100%" CssClass=" form-control"></asp:TextBox>
|
||||||
<label for="<%= TxtCuentaRetornoObs.ClientID.ToString()%>">Obs:</label>
|
<label for="<%= TxtCuentaRetornoObs.ClientID.ToString()%>">Obs:</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
@@ -664,21 +663,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function txtSumaCuentaRetorno(txt) {
|
function txtSumaCuentaRetorno(txt) {
|
||||||
debugger;
|
|
||||||
var comision2 = ToDouble($('#C_TxtCuentaRetorno').val());
|
var comision2 = ToDouble($('#C_TxtCuentaRetorno').val());
|
||||||
//if (comision2 > ValorTotalSeleccionado) {
|
|
||||||
// $('#C_TxtCuentaRetorno').val(descuento)
|
saldo = ValorTotalSeleccionado + comision2 + comision - IVA - ComisionIntermediario;
|
||||||
// alert("No es posible poner un IVA superior a lo seleccionado")
|
$('#C_lblValorTotal').text(FormatoNumero(saldo, 2));
|
||||||
//} else {
|
|
||||||
saldo = ValorTotalSeleccionado - comision2 + comision - IVA - ComisionIntermediario;
|
|
||||||
$('#C_lblValorTotal').text(FormatoNumero(saldo, 2));
|
|
||||||
descuento = ToDouble($('#C_TxtCuentaRetorno').val())
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function txtSumaIVA(txt) {
|
function txtSumaIVA(txt) {
|
||||||
var comision2 = ToDouble($('#C_TxtIVA').val());
|
var comision2 = ToDouble($('#C_TxtIVA').val());
|
||||||
if (comision2 > ValorTotalSeleccionado) {
|
if (comision2 > ValorTotalSeleccionado) {
|
||||||
@@ -688,8 +679,7 @@
|
|||||||
saldo = ValorTotalSeleccionado - descuento + comision - comision2 - ComisionIntermediario - CuentaRetorno;
|
saldo = ValorTotalSeleccionado - descuento + comision - comision2 - ComisionIntermediario - CuentaRetorno;
|
||||||
$('#C_lblValorTotal').text(FormatoNumero(saldo, 2));
|
$('#C_lblValorTotal').text(FormatoNumero(saldo, 2));
|
||||||
IVA = ToDouble($('#C_TxtIVA').val());
|
IVA = ToDouble($('#C_TxtIVA').val());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function txtSumaTntermediario(txt) {
|
function txtSumaTntermediario(txt) {
|
||||||
@@ -759,25 +749,28 @@
|
|||||||
$('#DivRowCuenta').removeClass("truncate");
|
$('#DivRowCuenta').removeClass("truncate");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
$('#C_TxtCuentaRetorno').val(0);
|
||||||
Recalcular();
|
Recalcular();
|
||||||
$('.DivRowCuenta2').css("display", "none");
|
$('.DivRowCuenta2').css("display", "none");
|
||||||
$('#DivRowCuenta').addClass("truncate");
|
$('#DivRowCuenta').addClass("truncate");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function Recalcular() {
|
function Recalcular() {
|
||||||
debugger;
|
let Comision = ToDouble($('#C_TxtComision').val());
|
||||||
var Comision = ToDouble($('#C_TxtComision').val());
|
let Descuento = 0;
|
||||||
var Descuento = ToDouble($('#C_TxtDescuento').val());
|
let ImporteInter = 0;
|
||||||
var IVA = ToDouble($('#C_TxtIVA').val());
|
let IVA = 0;
|
||||||
var ImporteInter = ToDouble($('#C_TxtComisionIntermediario').val());
|
|
||||||
var ImporteCuentaRetorno= ToDouble($('#C_TxtCuentaRetorno').val());
|
|
||||||
|
|
||||||
var total = ValorTotalSeleccionado + Comision - Descuento - IVA - ImporteInter - ImporteCuentaRetorno
|
if ('<%= If(UsuarioActual.CveEmpresa = 189, "0", "1") %>' == '1') {
|
||||||
|
Descuento = ToDouble($('#C_TxtDescuento').val());
|
||||||
|
ImporteInter = ToDouble($('#C_TxtComisionIntermediario').val());
|
||||||
|
IVA = ToDouble($('#C_TxtIVA').val());
|
||||||
|
}
|
||||||
|
let ImporteCuentaRetorno = ToDouble($('#C_TxtCuentaRetorno').val());
|
||||||
|
|
||||||
|
let total = ValorTotalSeleccionado + Comision - Descuento - IVA - ImporteInter + ImporteCuentaRetorno;
|
||||||
$('#C_lblValorTotal').text(FormatoNumero(total, 2));
|
$('#C_lblValorTotal').text(FormatoNumero(total, 2));
|
||||||
debugger;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Depositar() {
|
function Depositar() {
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ Partial Class Bancos_DepositosCaja
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
CargaCuentas()
|
CargaCuentas()
|
||||||
|
|
||||||
ChkFaltante.Attributes.Add("onclick", "CheckFaltante(this);")
|
ChkFaltante.Attributes.Add("onclick", "CheckFaltante(this);")
|
||||||
ChkDescuento.Attributes.Add("onclick", "CheckDescuento(this);")
|
ChkDescuento.Attributes.Add("onclick", "CheckDescuento(this);")
|
||||||
ChkIntermediario.Attributes.Add("onclick", "CheckIntermediario(this);")
|
ChkIntermediario.Attributes.Add("onclick", "CheckIntermediario(this);")
|
||||||
@@ -222,7 +223,7 @@ Partial Class Bancos_DepositosCaja
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If CuentaRetorno <> 0 Then
|
If CuentaRetorno <> 0 Then
|
||||||
TotalImporte = TotalImporte - CuentaRetorno
|
TotalImporte = TotalImporte + CuentaRetorno
|
||||||
'Descuento = -(Descuento) ' se inverte el valor, va cargada
|
'Descuento = -(Descuento) ' se inverte el valor, va cargada
|
||||||
'If DdlSubProyectoDescuento.SelectedValue.ToEntero = -1 Or DdlClasificacionDescuento.SelectedValue.ToEntero = -1 Then
|
'If DdlSubProyectoDescuento.SelectedValue.ToEntero = -1 Or DdlClasificacionDescuento.SelectedValue.ToEntero = -1 Then
|
||||||
' Alert("Debes Seleccionar un Subproyecto y una Clasificación de descuento", TipoMensaje.MsgAdvertencia)
|
' Alert("Debes Seleccionar un Subproyecto y una Clasificación de descuento", TipoMensaje.MsgAdvertencia)
|
||||||
@@ -364,7 +365,7 @@ Partial Class Bancos_DepositosCaja
|
|||||||
CveSubProyectoComision = DdlSubProyectoDeposito.SelectedValue.ToEntero
|
CveSubProyectoComision = DdlSubProyectoDeposito.SelectedValue.ToEntero
|
||||||
CveClasificacionComision = DdlClasificacion.SelectedValue.ToEntero
|
CveClasificacionComision = DdlClasificacion.SelectedValue.ToEntero
|
||||||
If Comision <> 0 Then
|
If Comision <> 0 Then
|
||||||
If Not ObjConta.AddPrePolizasDetalle(NuevaCvePrePoliza, True, Comision, Comision * TipoCambio, 78, $"Depósito Bancario - {tSubProyectoDeposito}", $"Depósito Bancario - {tSubProyectoDeposito}", CveClasificacion:=CveClasificacionComision, CveSubProyecto:=CveSubProyectoComision) Then
|
If Not ObjConta.AddPrePolizasDetalle(NuevaCvePrePoliza, True, Comision, Comision * TipoCambio, 78, $"Depósito Bancario - FALTANTE/SOBRANTE - {tSubProyectoDeposito}", $"Depósito Bancario - {tSubProyectoDeposito}", CveClasificacion:=CveClasificacionComision, CveSubProyecto:=CveSubProyectoComision) Then
|
||||||
OcurrioError = True
|
OcurrioError = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -387,7 +388,7 @@ Partial Class Bancos_DepositosCaja
|
|||||||
FolioIE = ObjBancos.GetNextFolio(DdlCajaChica.SelectedValue.ToEntero, CveTransaccionBanco)
|
FolioIE = ObjBancos.GetNextFolio(DdlCajaChica.SelectedValue.ToEntero, CveTransaccionBanco)
|
||||||
Dim CveIEOrigenRetorno As Integer = ObjBancos.AddBancos_IE(DdlCajaChica.SelectedValue.ToEntero, CveTransaccionBanco, Fecha, FolioIE.ToString, $"Retorno Depósito Bancario - {tSubProyectoDeposito}", CuentaRetorno, CveMoneda, 1, TxtObservaciones.Text, "", False, False, -1, NuevaCvePrePoliza, "-1", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
Dim CveIEOrigenRetorno As Integer = ObjBancos.AddBancos_IE(DdlCajaChica.SelectedValue.ToEntero, CveTransaccionBanco, Fecha, FolioIE.ToString, $"Retorno Depósito Bancario - {tSubProyectoDeposito}", CuentaRetorno, CveMoneda, 1, TxtObservaciones.Text, "", False, False, -1, NuevaCvePrePoliza, "-1", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||||
|
|
||||||
If Not ObjConta.AddPrePolizasDetalle(NuevaCvePrePoliza, False, CuentaRetorno, CuentaRetorno * TipoCambio, 30, $"Depósito Bancario - {tSubProyectoDeposito}", TxtCuentaRetornoObs.Text.Trim, CveClasificacion:=CveClasificacionDescuento, CveSubProyecto:=CveSubProyecto, CveIE:=CveIEOrigenRetorno) Then
|
If Not ObjConta.AddPrePolizasDetalle(NuevaCvePrePoliza, True, CuentaRetorno, CuentaRetorno * TipoCambio, 30, $"Depósito Bancario - CAJA - {tSubProyectoDeposito}", TxtCuentaRetornoObs.Text.Trim, CveClasificacion:=CveClasificacionDescuento, CveSubProyecto:=CveSubProyecto, CveIE:=CveIEOrigenRetorno) Then
|
||||||
OcurrioError = True
|
OcurrioError = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user