Compras pago deudores otros egresos ingresos, correciones efacturas, correciones redireccion anexo auxiliar 119, inicio ver inconcistencias en acciones
This commit is contained in:
@@ -4069,7 +4069,7 @@
|
||||
</div>
|
||||
</asp:Panel>
|
||||
|
||||
<asp:Panel ID="PnlContadoDeudores" Width="84%" Style="position: relative; margin: auto" runat="server" Visible="False">
|
||||
<asp:Panel ID="PnlContadoDeudores" Width="100%" Style="position: relative; margin: auto" runat="server" Visible="False">
|
||||
|
||||
<asp:RadioButtonList ID="RBLTipoDeudor" runat="server" RepeatDirection="Horizontal" AutoPostBack="true">
|
||||
<asp:ListItem Value="1" Selected="True">D.D</asp:ListItem>
|
||||
@@ -4098,7 +4098,8 @@
|
||||
<div class="col-md-12">
|
||||
<asp:UpdatePanel ID="UPDeudores" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GvDeudores" runat="server" AutoGenerateColumns="False" CssClass="ScrollAD" data-heigth="200px" EmptyDataText="No se encontraron movimientos" DataKeyNames="CveIE,Saldo,RazonSocial,Folio,CveProveedor,CveMoneda"
|
||||
<asp:GridView ID="GvDeudores" runat="server" AutoGenerateColumns="False" CssClass="ScrollAD" data-heigth="200px" EmptyDataText="No se encontraron movimientos"
|
||||
DataKeyNames="CveIE,Saldo,RazonSocial,Folio,CveProveedor,CveMoneda"
|
||||
ToolTip="Listado de Movimientos" data-height="300" Style="width: 100%; height: 100%; text-align: center;" GridLines="None">
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
@@ -4143,6 +4144,15 @@
|
||||
<ajax:ValidatorCalloutExtender ID="VCOAmortAnti" runat="server" HighlightCssClass="vco" TargetControlID="CVAmortAnti" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
Otros<br/>Gastos/Ingresos
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:TextBox ID="TxtOtrosGastosIngresos" runat="server" Style="text-align: right;" CausesValidation="true" Enabled="false" MaxLength="12" Width="76px" onblur="FnSumOtrosIngEgs(this)" ></asp:TextBox>
|
||||
<ajax:FilteredTextBoxExtender TargetControlID="TxtOtrosGastosIngresos" ValidChars="1234567890.-" runat="server" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<%--<RowStyle CssClass="TextoAlterno" />
|
||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||
@@ -4158,16 +4168,20 @@
|
||||
</div>
|
||||
<div class="chequesie1">
|
||||
<div class="row">
|
||||
<label class="col-md-2"></label>
|
||||
<label class="col-md-1"></label>
|
||||
<div class="col-md-4"></div>
|
||||
<label class="col-md-2">Importe</label>
|
||||
<div class="col-md-4 input-icon">
|
||||
<div class="col-md-2 input-icon">
|
||||
<i style="margin: 0px;">$</i>
|
||||
<asp:TextBox ID="TxtContadoDeudor" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="80px" ClientIDMode="Static" Style="text-align: right;"></asp:TextBox>
|
||||
<ajax:FilteredTextBoxExtender ID="FEContadoDeudor" runat="server" TargetControlID="TxtContadoDeudor" FilterType="Custom, Numbers" ValidChars=".," />
|
||||
<asp:RangeValidator ID="RVContadoDeudor" runat="server" Type="Currency" MinimumValue="0" MaximumValue="0" ErrorMessage="Importe Excedido del Saldo del Deudor" ControlToValidate="TxtContadoDeudor" Display="None" ValidationGroup="GrpContado"></asp:RangeValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCEContadoDeudor" runat="server" HighlightCssClass="vco" TargetControlID="RVContadoDeudor" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
<div class="col-md-2 input-icon">
|
||||
<asp:TextBox ID="TxtDeudoresOtrosGastosIngresos" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="80px" ClientIDMode="Static" Style="text-align: right;"></asp:TextBox>
|
||||
<ajax:FilteredTextBoxExtender ID="FilTxtDeudoresOtrosGastosIngresos" runat="server" TargetControlID="TxtDeudoresOtrosGastosIngresos" FilterType="Custom, Numbers" ValidChars=".," />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
@@ -5567,13 +5581,14 @@
|
||||
});
|
||||
}
|
||||
|
||||
function ClickDeudorChk(Chk, Obj, total, saldo) {
|
||||
function ClickDeudorChk(Chk, Obj, total, saldo,txtOtrIngEgs) {
|
||||
debugger;
|
||||
total = parseFloat(parseFloat(total).toFixed(2));
|
||||
saldo = parseFloat(parseFloat(saldo).toFixed(2));
|
||||
|
||||
if ($("#" + Chk.id).is(":checked")) {
|
||||
$('#' + Obj).attr('disabled', false);
|
||||
$('#' + txtOtrIngEgs).attr('disabled', false);
|
||||
|
||||
if (parseFloat($get('TxtContadoDeudor').value) != total) {
|
||||
|
||||
@@ -5603,15 +5618,14 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
$('#' + Obj).val(0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
$('#' + Obj).attr('disabled', true);
|
||||
$('#' + txtOtrIngEgs).attr('disabled', true);
|
||||
if (parseFloat($get(Obj).value) > 0) {
|
||||
$get('TxtContadoDeudor').value = parseFloat(parseFloat($get('TxtContadoDeudor').value) - parseFloat($get(Obj).value)).toFixed(2);
|
||||
if ($get('TxtContadoDeudor').value < 0) {
|
||||
@@ -5619,6 +5633,8 @@
|
||||
}
|
||||
}
|
||||
$('#' + Obj).val(0);
|
||||
$('#' + txtOtrIngEgs).val(0);
|
||||
$('#TxtDeudoresOtrosGastosIngresos').val('0');
|
||||
}
|
||||
|
||||
if (parseFloat($('#TxtContadoDeudor').val()) == total) {
|
||||
@@ -6765,6 +6781,11 @@
|
||||
|
||||
}
|
||||
|
||||
function FnSumOtrosIngEgs(txtOtrIngEgs) {
|
||||
|
||||
$('#TxtDeudoresOtrosGastosIngresos').val(txtOtrIngEgs.value);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
Reference in New Issue
Block a user