Merge branch 'master' of http://oirigoyen@192.168.10.111:8383/SIG.git
This commit is contained in:
@@ -5176,7 +5176,7 @@ Public Class ClsInventarios
|
|||||||
|
|
||||||
#Region "INVENTARIOS - REPORTE DE MOVIMIENTOS DE PROVEEDOR"
|
#Region "INVENTARIOS - REPORTE DE MOVIMIENTOS DE PROVEEDOR"
|
||||||
|
|
||||||
Public Function GetRepMovimientosProveedor(CveEmpresa As Integer, CveConcepto As Integer, CveProveedor As Integer, FechaI As Date, FechaF As Date) As Boolean
|
Public Function GetRepMovimientosProveedor(CveEmpresa As Integer, CveConcepto As Integer, CveProveedor As Integer, CvePS As Integer, CveAlmacenOrigen As Integer, CveAlmacenDestino As Integer, FechaI As Date, FechaF As Date) As Boolean
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
DataAdapter("PA_Inv_ProductosProveedor")
|
DataAdapter("PA_Inv_ProductosProveedor")
|
||||||
|
|
||||||
@@ -5184,6 +5184,9 @@ Public Class ClsInventarios
|
|||||||
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
||||||
.Add("@CveConcepto", SqlDbType.Int).Value = CveConcepto
|
.Add("@CveConcepto", SqlDbType.Int).Value = CveConcepto
|
||||||
.Add("@CveProveedor", SqlDbType.Int).Value = CveProveedor
|
.Add("@CveProveedor", SqlDbType.Int).Value = CveProveedor
|
||||||
|
.Add("@CvePS", SqlDbType.Int).Value = CvePS
|
||||||
|
.Add("@CveAlmacenOrigen", SqlDbType.Int).Value = CveAlmacenOrigen
|
||||||
|
.Add("@CveAlmacenDestino", SqlDbType.Int).Value = CveAlmacenDestino
|
||||||
.Add("@FechaI", SqlDbType.Date).Value = FechaI
|
.Add("@FechaI", SqlDbType.Date).Value = FechaI
|
||||||
.Add("@FechaF", SqlDbType.Date).Value = FechaF
|
.Add("@FechaF", SqlDbType.Date).Value = FechaF
|
||||||
End With
|
End With
|
||||||
|
|||||||
@@ -3479,9 +3479,17 @@ Public Class Timbrado
|
|||||||
|
|
||||||
Try
|
Try
|
||||||
Dim RutaCBB As String = $"{UsuarioActual.Empresa.Ruta}CBB\{ObjCFDITimbre.Comprobante.SerieFolio}.jpg"
|
Dim RutaCBB As String = $"{UsuarioActual.Empresa.Ruta}CBB\{ObjCFDITimbre.Comprobante.SerieFolio}.jpg"
|
||||||
Dim CBB As New ClbNegBICFDv3_2.ClsNegCBBGenerar()
|
'Dim CBB As New ClbNegBICFDv3_2.ClsNegCBBGenerar()
|
||||||
CBB.GenerarCBB(UsuarioActual.Empresa.RFC, ObjCFDITimbre.Receptor.RFC, ObjCFDITimbre.Comprobante.Total, FolioFiscal, RutaCBB)
|
'CBB.GenerarCBB(UsuarioActual.Empresa.RFC, ObjCFDITimbre.Receptor.RFC, ObjCFDITimbre.Comprobante.Total, FolioFiscal, RutaCBB)
|
||||||
CBB = Nothing
|
'CBB = Nothing
|
||||||
|
|
||||||
|
Dim qrCode As New GoFac.QrCode()
|
||||||
|
'String cadenaqrCode = qrCode.GenerarCadenaQrCode(txtXml.Text)
|
||||||
|
|
||||||
|
Dim bCBB As Byte() = qrCode.GenerarQrCode($"{LigaVerificacionSAT}?re={UsuarioActual.Empresa.RFC}&rr={ObjCFDITimbre.Receptor.RFC}&tt={String.Format("{0,12:F6}", ObjCFDITimbre.Comprobante.Total).Trim()}&id={FolioFiscal}&fe=ELleDg==")
|
||||||
|
File.WriteAllBytes(RutaCBB, bCBB)
|
||||||
|
bCBB = Nothing
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
OnError("Ocurrió un error al generar el QR", ex)
|
OnError("Ocurrió un error al generar el QR", ex)
|
||||||
End Try
|
End Try
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ Partial Class Bancos_CuentasBancariasDetalle
|
|||||||
DDlCuentaContable.DataSource = ObjContabilidad.DtResultados
|
DDlCuentaContable.DataSource = ObjContabilidad.DtResultados
|
||||||
DDlCuentaContable.DataBind()
|
DDlCuentaContable.DataBind()
|
||||||
DDlCuentaContable.Items.Insert(0, New ListItem("Selecione", "-1"))
|
DDlCuentaContable.Items.Insert(0, New ListItem("Selecione", "-1"))
|
||||||
DDlCuentaContable.DataTextField = "Cuenta"
|
DDlCuentaContable.DataTextField = "CtaCodigo"
|
||||||
DDlCuentaContable.DataValueField = "CveCuenta"
|
DDlCuentaContable.DataValueField = "CveCuenta"
|
||||||
End If
|
End If
|
||||||
End Using
|
End Using
|
||||||
|
|||||||
@@ -106,15 +106,15 @@ public partial class Bancos_PrestamoPersonal : ClsPaginas
|
|||||||
txtFechaF.Text = DateTime.Now.ToShortDateString();
|
txtFechaF.Text = DateTime.Now.ToShortDateString();
|
||||||
TxtImporte.Attributes.Add("disabled", "disabled");
|
TxtImporte.Attributes.Add("disabled", "disabled");
|
||||||
|
|
||||||
if (UsuarioActual.Empresa.Funcionalidad(281).ToEntero() == 1)
|
//if (UsuarioActual.Empresa.Funcionalidad(281).ToEntero() == 1)
|
||||||
{
|
//{
|
||||||
TxtFechaPrestamo.Enabled = false;
|
// TxtFechaPrestamo.Enabled = false;
|
||||||
ImgCalendarioPrestamo.Visible = false;
|
// ImgCalendarioPrestamo.Visible = false;
|
||||||
|
|
||||||
TxtFechaDocumento.Enabled = false;
|
// TxtFechaDocumento.Enabled = false;
|
||||||
ImgCalendario.Visible = false;
|
// ImgCalendario.Visible = false;
|
||||||
|
|
||||||
}
|
//}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1963,10 +1963,10 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||||
RowIndex = GvRow.RowIndex
|
RowIndex = GvRow.RowIndex
|
||||||
|
|
||||||
If GvRow.FCTextBox("TxtAbono").Text = "" Then
|
If GvRow.FCTextBox("TxtAbono").Visible Then
|
||||||
CargaTipoTransaccion("Ing")
|
|
||||||
Else
|
|
||||||
CargaTipoTransaccion("Egs")
|
CargaTipoTransaccion("Egs")
|
||||||
|
Else
|
||||||
|
CargaTipoTransaccion("Ing")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim IdMov As Integer = GvRow.DataKey("IdMov").ToString.ToEntero
|
Dim IdMov As Integer = GvRow.DataKey("IdMov").ToString.ToEntero
|
||||||
|
|||||||
@@ -2351,7 +2351,7 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
ErrorMovInv = True
|
ErrorMovInv = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If Not ErrorMovInv AndAlso Not ObjConta.AddPrePolizasDetalle(CvePrePolizaTraspaso, True, TotalGarantia, TxtObservaciones.Text, 95, TxtObservaciones.Text, TxtFecha.Text.ToDate, -1, -1, CveMovimientoAlmacen:=CveMovimientoGarantia, Contabilizable:=True, ImporteMX:=TotalGarantia) Then
|
If Not ErrorMovInv AndAlso Not ObjConta.AddPrePolizasDetalle(CvePrePolizaTraspaso, True, TotalGarantia, TxtObservaciones.Text, 331, TxtObservaciones.Text, TxtFecha.Text.ToDate, -1, -1, CveMovimientoAlmacen:=CveMovimientoGarantia, Contabilizable:=True, ImporteMX:=TotalGarantia) Then
|
||||||
ErrorMovInv = True
|
ErrorMovInv = True
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
|
|||||||
@@ -31,11 +31,8 @@
|
|||||||
<div class="titlefiltros caption">
|
<div class="titlefiltros caption">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<label class="col-md-1 ">Proveedor:</label>
|
<label class="col-md-1 ">Proveedor:</label>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<asp:DropDownList ID="DdlProveedor" runat="server" AppendDataBoundItems="true" DataTextField="RazonSocial" DataValueField="CveProveedor" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
<ADS:Dropdownlost ID="DdlProveedor" runat="server" CssStyle="width: 100%;" Width="100%" DataTextField="RazonSocial" DataValueField="CveProveedor"></ADS:Dropdownlost>
|
||||||
</asp:DropDownList>
|
|
||||||
<asp:RequiredFieldValidator ID="RFVProveedor" runat="server" ControlToValidate="DdlProveedor" Display="None" InitialValue="-1" ErrorMessage="El campo <b>''Proveedor''</b> es requerido por la aplicación, por favor seleccione uno." ValidationGroup="Valida"></asp:RequiredFieldValidator>
|
|
||||||
<ajax:ValidatorCalloutExtender ID="VCEProveedor" runat="server" HighlightCssClass="vco" TargetControlID="RFVProveedor" Width="350px"></ajax:ValidatorCalloutExtender>
|
|
||||||
</div>
|
</div>
|
||||||
<label class="col-md-1 ">Fecha Inicial:</label>
|
<label class="col-md-1 ">Fecha Inicial:</label>
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
@@ -72,11 +69,25 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body" style="display:none">
|
<div class="portlet-body" style="display:none">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<label class="col-md-1 truncate">P. S.</label>
|
||||||
|
<div class="col-md-2">
|
||||||
|
<ADS:Dropdownlost runat="server" ID="DdlPS" CssStyle="width: 100%;" CssClass="DdlPS" CssClassDdl="select2me " DataTextField="PSCodigo" DataValueField="CvePS" />
|
||||||
|
</div>
|
||||||
<label class="col-md-1 ">Concepto:</label>
|
<label class="col-md-1 ">Concepto:</label>
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<asp:DropDownList ID="DdlConcepto" runat="server" AppendDataBoundItems="true" DataTextField="Concepto" DataValueField="CveConcepto" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
<asp:DropDownList ID="DdlConcepto" runat="server" AppendDataBoundItems="true" DataTextField="Concepto" DataValueField="CveConcepto" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
|
<label class="col-md-1 ">Origen:</label>
|
||||||
|
<div class="col-md-2">
|
||||||
|
<asp:DropDownList ID="DdlAlmacenOrigen" runat="server" AppendDataBoundItems="true" DataTextField="Almacen" DataValueField="CveAlmacen" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
||||||
|
</asp:DropDownList>
|
||||||
|
</div>
|
||||||
|
<label class="col-md-1 ">Destino:</label>
|
||||||
|
<div class="col-md-2">
|
||||||
|
<asp:DropDownList ID="DdlAlmacenDestino" runat="server" AppendDataBoundItems="true" DataTextField="Almacen" DataValueField="CveAlmacen" Class="table-group-action-input form-control input-inline input-sm select2me" Width="100%">
|
||||||
|
</asp:DropDownList>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -38,19 +38,39 @@ public partial class Inventarios_RepMovimientosProveedor : ClsPaginas
|
|||||||
|
|
||||||
public void CargaCombos()
|
public void CargaCombos()
|
||||||
{
|
{
|
||||||
DdlProveedor.DataSource = get_GlobalDTCompProveedores(UsuarioActual.CveEmpresa);
|
//DdlProveedor.DataSource = get_GlobalDTCompProveedores(UsuarioActual.CveEmpresa);
|
||||||
DdlProveedor.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
//DdlProveedor.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
||||||
DdlProveedor.DataBind();
|
//DdlProveedor.DataBind();
|
||||||
|
DdlProveedor.setEsWebService(true);
|
||||||
|
DdlProveedor.Attributes.Add("data-metodo", "getproveedores");
|
||||||
|
DdlProveedor.SelectedText = "Todos";
|
||||||
|
DdlProveedor.SelectedValue = "-1";
|
||||||
|
|
||||||
|
|
||||||
DdlConcepto.DataSource = GlobalDTInvConceptos;
|
DdlConcepto.DataSource = GlobalDTInvConceptos;
|
||||||
DdlConcepto.Items.Insert(0, new ListItem("Todos", "-1"));
|
DdlConcepto.Items.Insert(0, new ListItem("Todos", "-1"));
|
||||||
DdlConcepto.DataBind();
|
DdlConcepto.DataBind();
|
||||||
|
|
||||||
|
DdlAlmacenOrigen.DataSource = get_GlobalDTAlmacenUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa);
|
||||||
|
DdlAlmacenOrigen.DataBind();
|
||||||
|
DdlAlmacenOrigen.Items.Insert(0, new ListItem("Todos", "-1"));
|
||||||
|
|
||||||
|
DdlAlmacenDestino.DataSource = get_GlobalDTAlmacenUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa);
|
||||||
|
DdlAlmacenDestino.DataBind();
|
||||||
|
DdlAlmacenDestino.Items.Insert(0, new ListItem("Todos", "-1"));
|
||||||
|
|
||||||
|
DdlPS.setEsWebService(true);
|
||||||
|
DdlPS.SelectedText = "Todos";
|
||||||
|
DdlPS.SelectedValue = "-1";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CargaDatos()
|
public void CargaDatos()
|
||||||
{
|
{
|
||||||
|
int CvePS = DdlPS.SelectedValue.ToEntero();
|
||||||
ClsInventarios ObjInv = new ClsInventarios();
|
ClsInventarios ObjInv = new ClsInventarios();
|
||||||
if (ObjInv.GetRepMovimientosProveedor(UsuarioActual.CveEmpresa, DdlConcepto.SelectedValue.ToEntero(), DdlProveedor.SelectedValue.ToEntero(), txtFechaI.Text.ToDate(), txtFechaF.Text.ToDate()))
|
if (ObjInv.GetRepMovimientosProveedor(UsuarioActual.CveEmpresa, DdlConcepto.SelectedValue.ToEntero(), DdlProveedor.SelectedValue.ToEntero(),
|
||||||
|
CvePS, DdlAlmacenOrigen.SelectedValue.ToEntero(), DdlAlmacenDestino.SelectedValue.ToEntero(),
|
||||||
|
txtFechaI.Text.ToDate(), txtFechaF.Text.ToDate()))
|
||||||
{
|
{
|
||||||
DtDatos = ObjInv.DtResultados;
|
DtDatos = ObjInv.DtResultados;
|
||||||
GvDatos.DataSource = DtDatos;
|
GvDatos.DataSource = DtDatos;
|
||||||
@@ -74,7 +94,7 @@ public partial class Inventarios_RepMovimientosProveedor : ClsPaginas
|
|||||||
String FechaI;
|
String FechaI;
|
||||||
if (txtFechaI.Text == "" || txtFechaI.Text == "__/__/____") { FechaI = "-1"; } else { FechaI = $" <b>Fecha Inicial:</b> {txtFechaI.Text}"; }
|
if (txtFechaI.Text == "" || txtFechaI.Text == "__/__/____") { FechaI = "-1"; } else { FechaI = $" <b>Fecha Inicial:</b> {txtFechaI.Text}"; }
|
||||||
String Proveedor;
|
String Proveedor;
|
||||||
if (DdlProveedor.SelectedValue != "-1") { Proveedor = $" <b>Proveedor:</b> {DdlProveedor.SelectedItem.Text}"; } else { Proveedor = ""; }
|
if (DdlProveedor.SelectedValue != "-1") { Proveedor = $" <b>Proveedor:</b> {DdlProveedor.SelectedText}"; } else { Proveedor = ""; }
|
||||||
String Concepto;
|
String Concepto;
|
||||||
if (DdlConcepto.SelectedValue != "-1") { Concepto = $" <b>Concepto:</b> {DdlConcepto.SelectedItem.Text}"; } else { Concepto = ""; }
|
if (DdlConcepto.SelectedValue != "-1") { Concepto = $" <b>Concepto:</b> {DdlConcepto.SelectedItem.Text}"; } else { Concepto = ""; }
|
||||||
System.IO.FileInfo Imagen = new System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta));
|
System.IO.FileInfo Imagen = new System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta));
|
||||||
|
|||||||
@@ -493,13 +493,13 @@
|
|||||||
<asp:BoundField HeaderText="Serie" DataField="Serie" ItemStyle-Width="20%" Visible="false"/>
|
<asp:BoundField HeaderText="Serie" DataField="Serie" ItemStyle-Width="20%" Visible="false"/>
|
||||||
<asp:TemplateField HeaderText="Lote" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="7.5%" Visible="false">
|
<asp:TemplateField HeaderText="Lote" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="7.5%" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLote" Width="80px" class="form-control input-sm" runat="server" Visible="false"></asp:TextBox>
|
<asp:TextBox ID="TxtLote" Width="85px" class="form-control input-sm" Text='<%# Eval("Lote") %>' runat="server" Visible="false"></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Fecha Caducidad" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="5%" Visible="false">
|
<asp:TemplateField HeaderText="Fecha Caducidad" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="5%" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
|
||||||
<asp:TextBox ID="TxtCaducidad" CssClass="form-control input-sm ADSMaskDate" Style="width: 80px" runat="server" Visible="false"></asp:TextBox>
|
<asp:TextBox ID="TxtCaducidad" CssClass="form-control input-sm ADSMaskDate" Text='<%# Eval("FechaCaducidad") %>' Style="width: 80px" runat="server" Visible="false"></asp:TextBox>
|
||||||
<span class="input-group-btn ">
|
<span class="input-group-btn ">
|
||||||
<asp:LinkButton runat="server" ID="LnkCaducidad" class="btn default" Visible="false"> <i class="fa fa-calendar"></i> </asp:LinkButton>
|
<asp:LinkButton runat="server" ID="LnkCaducidad" class="btn default" Visible="false"> <i class="fa fa-calendar"></i> </asp:LinkButton>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -986,7 +986,7 @@ Partial Class Inventarios_ResguardoMaterial
|
|||||||
Cont = 0
|
Cont = 0
|
||||||
Importe = ObjInventario.DtResultados.SUMD("Total").RoundAD
|
Importe = ObjInventario.DtResultados.SUMD("Total").RoundAD
|
||||||
For Each Dr As DataRow In ObjInventario.DtResultados.Rows
|
For Each Dr As DataRow In ObjInventario.DtResultados.Rows
|
||||||
Dim CveSeccionAlmacen As Integer = DiccionarioSecciones(Dr("CveMovimientoDetalle").ToString.ToEntero).ToString.ToEntero
|
Dim CveSeccionAlmacen As Integer = -1 'DiccionarioSecciones(Dr("CveMovimientoDetalle").ToString.ToEntero).ToString.ToEntero
|
||||||
Dim Lote As String = "-1"
|
Dim Lote As String = "-1"
|
||||||
Dim FechaCaducidad As Date = MinFecha
|
Dim FechaCaducidad As Date = MinFecha
|
||||||
If DiccionarioLote(Dr("CveMovimientoDetalle").ToString.ToEntero).ToString <> "" Then Lote = DiccionarioLote(Dr("CveMovimientoDetalle").ToString.ToEntero).ToString
|
If DiccionarioLote(Dr("CveMovimientoDetalle").ToString.ToEntero).ToString <> "" Then Lote = DiccionarioLote(Dr("CveMovimientoDetalle").ToString.ToEntero).ToString
|
||||||
@@ -1013,6 +1013,7 @@ Partial Class Inventarios_ResguardoMaterial
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If Not TieneError Then
|
If Not TieneError Then
|
||||||
|
ObjInventario.Commit()
|
||||||
Dim Msg As New StringBuilder
|
Dim Msg As New StringBuilder
|
||||||
If Concepto = 23 Then
|
If Concepto = 23 Then
|
||||||
'FolioEntrada
|
'FolioEntrada
|
||||||
@@ -1035,7 +1036,6 @@ Partial Class Inventarios_ResguardoMaterial
|
|||||||
DdlSubProyecto.SelectedValueExist("-1")
|
DdlSubProyecto.SelectedValueExist("-1")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ObjInventario.Commit()
|
|
||||||
|
|
||||||
If Concepto = 23 Then
|
If Concepto = 23 Then
|
||||||
LimpiarMovimiento()
|
LimpiarMovimiento()
|
||||||
|
|||||||
@@ -4,18 +4,15 @@
|
|||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||||
<style>
|
<style>
|
||||||
.GVCalcularUtilidades tr td:nth-child(2) {
|
|
||||||
text-align: center;
|
.GVCalcularUtilidades tr td:nth-child(n+4) {
|
||||||
}
|
|
||||||
|
|
||||||
.GVCalcularUtilidades tr td:nth-child(n+3) {
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||||
<script>$('body').removeClass('rhumanosbody').addClass('rhumanosbody')</script>
|
<script>$('body').removeClass('rhumanosbody').addClass('rhumanosbody')</script>
|
||||||
Reparto de Utilidades
|
PTU
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
@@ -88,11 +85,22 @@
|
|||||||
<asp:GridView ID="GVCalcularUtilidades" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall GVCalcularUtilidades" AutoGenerateColumns="False"
|
<asp:GridView ID="GVCalcularUtilidades" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall GVCalcularUtilidades" AutoGenerateColumns="False"
|
||||||
DataKeyNames="Nombre,CvePersonal,DiasLaborados,SueldoTotal,Importe">
|
DataKeyNames="Nombre,CvePersonal,DiasLaborados,SueldoTotal,Importe">
|
||||||
<Columns>
|
<Columns>
|
||||||
|
<asp:TemplateField HeaderText="Código ">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="lblC" runat="server" Text='<%# Eval("Codigo")%>'> </asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Nombre ">
|
<asp:TemplateField HeaderText="Nombre ">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lblnombreCompleto" runat="server" Text='<%# Eval("Nombre")%>'> </asp:Label>
|
<asp:Label ID="lblnombreCompleto" runat="server" Text='<%# Eval("Nombre")%>'> </asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
|
<asp:TemplateField HeaderText="Centro Costo">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="lblsub" runat="server" Text='<%# Eval("SubProyecto")%>'> </asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Días Laborados">
|
<asp:TemplateField HeaderText="Días Laborados">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbldiasLaborados" runat="server" Text='<%# Eval("DiasLaborados")%>'> </asp:Label>
|
<asp:Label ID="lbldiasLaborados" runat="server" Text='<%# Eval("DiasLaborados")%>'> </asp:Label>
|
||||||
|
|||||||
@@ -199,6 +199,19 @@
|
|||||||
<asp:CheckBox ID="ChkLiquidacion" OnCheckedChanged="ChkLiquidacion_CheckedChanged" runat="server" AutoPostBack="true" />
|
<asp:CheckBox ID="ChkLiquidacion" OnCheckedChanged="ChkLiquidacion_CheckedChanged" runat="server" AutoPostBack="true" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="row" id="divAnticipo" runat="server" visible="false" >
|
||||||
|
<div class="col-md-2" >Anticipo:</div>
|
||||||
|
<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-3" runat="server" id="Div4" visible="false">
|
||||||
|
<asp:CheckBox ID="CheckBox2" OnCheckedChanged="ChkLiquidacion_CheckedChanged" runat="server" AutoPostBack="true" />
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UpCuentaDeposito" UpdateMode="Conditional" runat="server">
|
<asp:UpdatePanel ID="UpCuentaDeposito" UpdateMode="Conditional" runat="server">
|
||||||
@@ -239,37 +252,35 @@
|
|||||||
<br />
|
<br />
|
||||||
<asp:UpdatePanel ID="UpGuardar" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpGuardar" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<table class="Widthall">
|
<table class="Widthall" >
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: right; width: 20%">
|
<td style="text-align: right; width: 20%">
|
||||||
<asp:CheckBox Text=" Seguir Registrando Pagos" ID="ChkSeguirRegistrando" CssClass="md-checksd" runat="server" />
|
<asp:CheckBox Text=" Seguir Registrando Pagos" ID="ChkSeguirRegistrando" CssClass="md-checksd" runat="server" />
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: left; width: 12%">
|
<td style="text-align: left; width: 16%">
|
||||||
<asp:CheckBox Text=" Emitir complemento de pago" ID="ChkComplementoPago" Visible="true" CssClass="md-checksd" runat="server" />
|
<asp:CheckBox Text=" Emitir complemento de pago" ID="ChkComplementoPago" Visible="true" CssClass="md-checksd" runat="server" />
|
||||||
<br />
|
<br />
|
||||||
<asp:Label ID="LblValidaCeuntaTipoTransaccion" runat="server" Visible="false" ForeColor="Red"></asp:Label>
|
<asp:Label ID="LblValidaCeuntaTipoTransaccion" runat="server" Visible="false" ForeColor="Red"></asp:Label>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: left; width: 30%">
|
<td style="text-align: left; ">
|
||||||
<asp:Button ID="BtnIEGuardar" runat="server" Text="Guardar" ValidationGroup="GrpGuardar" class="btn btn-primary" />
|
<asp:Button ID="BtnIEGuardar" runat="server" Text="Guardar" ValidationGroup="GrpGuardar" class="btn btn-primary" />
|
||||||
</td>
|
</td>
|
||||||
|
<td style="text-align: right; width: 18%">
|
||||||
|
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvCxC.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 125px;" />
|
||||||
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvCxC.ClientID) %>" style="margin-top: -3px; margin-right: 20px" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||||
|
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
<br />
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="Widthall" style="text-align: right!important; margin-top: 20px!important; margin-bottom: 2px!important">
|
|
||||||
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvCxC.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
|
||||||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvCxC.ClientID) %>" style="margin-top: -3px; margin-right: 20px" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UPVentas" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UPVentas" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:GridView ID="GvCxC" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Cuentas por Cobrar Pendientes"
|
<asp:GridView ID="GvCxC" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Cuentas por Cobrar Pendientes"
|
||||||
DataKeyNames="TipoDocto,CveVenta,CveCliente,SerieFolio,Original,SubTotal,IVA,IEPS,RetIVA,RetISR,Num3,CveSubProyecto,CveMoneda,Saldo,TipoCambio, RFC,UUID,Fecha,PorcentajeIVA,DescuentoProntoPago,CveTipoRetencion,Descuento,ClaveMetodoPagoSAT"
|
DataKeyNames="TipoDocto,CveVenta,CveCliente,SerieFolio,Original,SubTotal,IVA,IEPS,RetIVA,RetISR,Num3,CveSubProyecto,CveMoneda,Saldo,TipoCambio, RFC,UUID,Fecha,PorcentajeIVA,DescuentoProntoPago,CveTipoRetencion,Descuento,ClaveMetodoPagoSAT"
|
||||||
CssClass="table table-striped table-advance table-hover Widthall" Style="text-align: center;" GridLines="None">
|
CssClass="table table-striped table-advance table-hover Widthall" Style="text-align: center;" GridLines="None" HeaderStyle-CssClass="ADtr">
|
||||||
<Columns>
|
<Columns>
|
||||||
|
|
||||||
<%--0--%>
|
<%--0--%>
|
||||||
@@ -338,7 +349,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--9--%>
|
<%--9--%>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-width="35px">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-width="25px">
|
||||||
<HeaderTemplate></HeaderTemplate>
|
<HeaderTemplate></HeaderTemplate>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="LtlMoneda" runat="server" Text='<%# Eval("TMoneda", "{0}") %>' Style="text-decoration: none" Enabled="false" ForeColor="#333333"></asp:HyperLink>
|
<asp:HyperLink ID="LtlMoneda" runat="server" Text='<%# Eval("TMoneda", "{0}") %>' Style="text-decoration: none" Enabled="false" ForeColor="#333333"></asp:HyperLink>
|
||||||
@@ -399,55 +410,56 @@
|
|||||||
<%--17--%>
|
<%--17--%>
|
||||||
<asp:TemplateField Visible="false">
|
<asp:TemplateField Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol1" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol1" Width="55px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--18--%>
|
<%--18--%>
|
||||||
<asp:TemplateField Visible="false">
|
<asp:TemplateField Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol2" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol2" Width="55px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--19--%>
|
<%--19--%>
|
||||||
<asp:TemplateField Visible="false">
|
<asp:TemplateField Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol3" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol3" Width="55px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--20--%>
|
<%--20--%>
|
||||||
<asp:TemplateField Visible="false">
|
<asp:TemplateField Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol4" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol4" Width="55px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--21--%>
|
<%--21--%>
|
||||||
<asp:TemplateField Visible="false">
|
<asp:TemplateField Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol5" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol5" Width="55px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--22--%>
|
<%--22--%>
|
||||||
<asp:TemplateField Visible="false">
|
<asp:TemplateField Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol6" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol6" Width="55px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--23--%>
|
<%--23--%>
|
||||||
<asp:TemplateField Visible="false">
|
<asp:TemplateField Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol7" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol7" Width="55px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--24--%>
|
<%--24--%>
|
||||||
<asp:TemplateField Visible="false" HeaderText="Total Gastos">
|
<asp:TemplateField Visible="false" HeaderText="Total Gastos">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtLiqCol8" Width="50px" runat="server" Style="text-align: right;" onkeypress="return disablekeys();"></asp:TextBox>
|
<asp:TextBox ID="TxtLiqCol8" Width="55px" runat="server" Style="text-align: right;" onkeypress="return disablekeys();"></asp:TextBox>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<%--25--%>
|
<%--25--%>
|
||||||
<asp:TemplateField Visible="false" HeaderText="Anticipo">
|
<asp:TemplateField Visible="false" HeaderText="Anticipo" ItemStyle-Width="120px">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:TextBox ID="TxtAmort" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
<asp:TextBox ID="TxtAmort" Width="50px" runat="server" Style="text-align: right;" ></asp:TextBox>
|
||||||
|
<asp:DropDownList ID="DdlAnti" runat="server" Width="40px" DataTextField="RazonSocial" DataValueField="CveIE"></asp:DropDownList>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
@@ -616,21 +628,14 @@
|
|||||||
} else {
|
} else {
|
||||||
txt.value = "";
|
txt.value = "";
|
||||||
|
|
||||||
let ClsSelLiquidacionVenta = ".ClsSelLiquidacionVenta" + CveVenta;
|
let ClsSelLiqVenta = ".ClsSelLiqVenta" + CveVenta;
|
||||||
let ClsSelLiquidacionVentaTotal = ".ClsSelLiquidacionVentaTotal" + CveVenta;
|
let ClsSelLiqVentaTotal = ".ClsSelLiqVentaTotal" + CveVenta;
|
||||||
|
|
||||||
$(ClsSelLiquidacionVenta).val('');
|
$(ClsSelLiqVenta).val('');
|
||||||
$(ClsSelLiquidacionVentaTotal).val('');
|
$(ClsSelLiqVentaTotal).val('');
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
//if (typeof t2 === "undefined") {
|
|
||||||
|
|
||||||
//} else {
|
|
||||||
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
if (chkPesosBancos) {
|
if (chkPesosBancos) {
|
||||||
CambiaPesosDolares()
|
CambiaPesosDolares()
|
||||||
} else if (chkDolaresBancos) {
|
} else if (chkDolaresBancos) {
|
||||||
@@ -654,6 +659,7 @@
|
|||||||
var div = document.getElementById("DivTC")
|
var div = document.getElementById("DivTC")
|
||||||
|
|
||||||
let totalLiquidacion = 0.0;
|
let totalLiquidacion = 0.0;
|
||||||
|
let totalAnti = 0.0;
|
||||||
|
|
||||||
if ($get('TxtTC') != null) {
|
if ($get('TxtTC') != null) {
|
||||||
tc = ToDouble($get('TxtTC').value);
|
tc = ToDouble($get('TxtTC').value);
|
||||||
@@ -709,21 +715,29 @@
|
|||||||
}
|
}
|
||||||
$get('TxtObservaciones').value = $get('HdnObs').value + ' Ventas: ' + Ventas;
|
$get('TxtObservaciones').value = $get('HdnObs').value + ' Ventas: ' + Ventas;
|
||||||
|
|
||||||
|
$(".ClsSelLiq").each(function () {
|
||||||
|
|
||||||
|
totalLiquidacion = totalLiquidacion + ToDouble($(this).val());
|
||||||
|
|
||||||
$(".ClsSelLiquidacion").each(function () {
|
|
||||||
|
|
||||||
let valorString = $(this).val();
|
|
||||||
valorString = valorString.replace(/,/g, '');
|
|
||||||
|
|
||||||
if (valorString.trim().length > 0) {
|
|
||||||
totalLiquidacion = totalLiquidacion + parseFloat(valorString);
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".ClsSelLiqAnt").each(function () {
|
||||||
|
|
||||||
|
totalAnti = totalAnti + ToDouble($(this).val());
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
totalLiquidacion = totalLiquidacion + totalAnti;
|
||||||
|
|
||||||
|
if ($get('TxtAnticipo') != null) {
|
||||||
|
|
||||||
|
if ($get('TxtAnticipo').value == '') {
|
||||||
|
$get('TxtAnticipo').value = 0.00
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Importe = Importe + ToDouble($get('TxtAnticipo').value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($get('TxtOtrosImportes') != null) {
|
if ($get('TxtOtrosImportes') != null) {
|
||||||
if (pagoMultiple != 0) {
|
if (pagoMultiple != 0) {
|
||||||
@@ -737,11 +751,10 @@
|
|||||||
else {
|
else {
|
||||||
return Importe + parseFloat(Comision) - totalLiquidacion;
|
return Importe + parseFloat(Comision) - totalLiquidacion;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return Importe - totalLiquidacion
|
return Importe - totalLiquidacion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function FnCambia(chk, txt, saldo, op, pagoMultiple, monedaPago) {
|
function FnCambia(chk, txt, saldo, op, pagoMultiple, monedaPago) {
|
||||||
@@ -912,34 +925,35 @@
|
|||||||
$get("BtnCambiaTipoMoneda").click();
|
$get("BtnCambiaTipoMoneda").click();
|
||||||
TipoCambioActual = TipoCambioTxt;
|
TipoCambioActual = TipoCambioTxt;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function SumaLiq(txt, CveVenta, pagoMultiple, monedaPago) {
|
||||||
|
|
||||||
|
let ClsSelLiqVenta = ".ClsSelLiqVenta" + CveVenta;
|
||||||
|
let ClsSelLiqVentaTotal = ".ClsSelLiqVentaTotal" + CveVenta;
|
||||||
|
let ClsSelLiqAnticipo = ".ClsSelLiqAnt" + CveVenta;
|
||||||
|
|
||||||
function SumaLiquidacion(txt, CveVenta, pagoMultiple, monedaPago) {
|
|
||||||
|
|
||||||
let ClsSelLiquidacionVenta = ".ClsSelLiquidacionVenta" + CveVenta;
|
|
||||||
let ClsSelLiquidacionVentaTotal = ".ClsSelLiquidacionVentaTotal" + CveVenta;
|
|
||||||
let Total = 0.0;
|
let Total = 0.0;
|
||||||
|
let Anticipos = 0.0;
|
||||||
|
|
||||||
|
$( ClsSelLiqVenta).each(function () {
|
||||||
|
|
||||||
$( ClsSelLiquidacionVenta).each(function () {
|
Total = Total + ToDouble($(this).val());
|
||||||
|
|
||||||
let valorString = $(this).val();
|
|
||||||
valorString = valorString.replace(/,/g, '');
|
|
||||||
|
|
||||||
if (valorString.trim().length > 0) {
|
|
||||||
Total = Total + parseFloat(valorString);
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
$(ClsSelLiqAnticipo).each(function () {
|
||||||
|
|
||||||
$(ClsSelLiquidacionVentaTotal).each(function () {
|
Anticipos = Anticipos + ToDouble($(this).val());
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
Total = Total + Anticipos;
|
||||||
|
|
||||||
|
$(ClsSelLiqVentaTotal).each(function () {
|
||||||
$(this).val(Total);
|
$(this).val(Total);
|
||||||
FormatoMoneda2($(this));
|
FormatoMoneda2($(this));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
FormatoMoneda(txt);
|
FormatoMoneda(txt);
|
||||||
|
|
||||||
var Suma = SumaValores(pagoMultiple, monedaPago);
|
var Suma = SumaValores(pagoMultiple, monedaPago);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user