Merge branch 'master' of http://agonzalez@192.168.10.111:8383/SIG.git
This commit is contained in:
@@ -1490,7 +1490,7 @@ Public Class ClsPaginas
|
|||||||
' Application("GlobalDTBancosCuentas") = value
|
' Application("GlobalDTBancosCuentas") = value
|
||||||
' End Set
|
' End Set
|
||||||
'End Property
|
'End Property
|
||||||
Property GlobalDTBancosCuentas(CveUsuario As Integer, Optional CveCuenta As Integer = -1, Optional Estatus As Integer = 1, Optional CveEmpresa As Integer = -1) As DataTable
|
Property GlobalDTBancosCuentas(CveUsuario As Integer, Optional CveCuenta As Integer = -1, Optional Estatus As Integer = 1, Optional CveEmpresa As Integer = -1, Optional CveTipoCuenta As Integer = -1) As DataTable
|
||||||
Get
|
Get
|
||||||
Dim AppNombre As String = String.Format("GlobalDTBancosCuentas-{0}", CveEmpresa)
|
Dim AppNombre As String = String.Format("GlobalDTBancosCuentas-{0}", CveEmpresa)
|
||||||
'sino existe, recarga los datos
|
'sino existe, recarga los datos
|
||||||
@@ -1506,6 +1506,7 @@ Public Class ClsPaginas
|
|||||||
|
|
||||||
Dim Str As String = String.Format("CveEmpresa = {0} ", UsuarioActual.CveEmpresa)
|
Dim Str As String = String.Format("CveEmpresa = {0} ", UsuarioActual.CveEmpresa)
|
||||||
If CveUsuario > -1 Then Str = String.Format("{0} AND CveUsuario = {1}", Str, CveUsuario)
|
If CveUsuario > -1 Then Str = String.Format("{0} AND CveUsuario = {1}", Str, CveUsuario)
|
||||||
|
If CveTipoCuenta > -1 Then Str = String.Format("{0} AND CveTipoCuenta = {1}", Str, CveTipoCuenta)
|
||||||
If CveCuenta > -1 Then Str = String.Format("{0} AND CveCuenta = {1}", Str, CveCuenta)
|
If CveCuenta > -1 Then Str = String.Format("{0} AND CveCuenta = {1}", Str, CveCuenta)
|
||||||
If Estatus > -1 Then Str = String.Format("{0} AND Estatus = '{1}'", Str, If(Estatus = 1, "Activo", "Inactivo"))
|
If Estatus > -1 Then Str = String.Format("{0} AND Estatus = '{1}'", Str, If(Estatus = 1, "Activo", "Inactivo"))
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
<asp:LinkButton ID="LnkExportar" runat="server"><i class="fa fa-ad-excel"></i> Generar Excel</asp:LinkButton>
|
<asp:LinkButton ID="LnkExportar" runat="server"><i class="fa fa-ad-excel"></i> Generar Excel</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton runat="server" ID="LnkProyectos" OnClick="LnkProyectos_Click" Text="Proyectos" />
|
<asp:LinkButton runat="server" ID="LnkProyectado" OnClick="LnkProyectado_Click" Text="Cargar Proyecciones" />
|
||||||
</li>
|
</li>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
||||||
@@ -200,8 +200,8 @@
|
|||||||
<asp:Label runat="server" ID="LblProyectado" Text="Incluir Proyectados" class="col-md-1 truncate" />
|
<asp:Label runat="server" ID="LblProyectado" Text="Incluir Proyectados" class="col-md-1 truncate" />
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<asp:DropDownList ID="DdlProyeccionFiltro" runat="server" CssClass="select2me" Width="100%" >
|
<asp:DropDownList ID="DdlProyeccionFiltro" runat="server" CssClass="select2me" Width="100%" >
|
||||||
<asp:ListItem Text="Si" Value="1" Selected="True" />
|
<asp:ListItem Text="Si" Value="1" />
|
||||||
<asp:ListItem Text="No" Value="2" />
|
<asp:ListItem Text="No" Value="0" Selected="True" />
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
</asp:Panel>
|
</asp:Panel>
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ Partial Class Inventarios_KardexAlmacen
|
|||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub LnkProyectos_Click(sender As Object, e As EventArgs)
|
Protected Sub LnkProyectado_Click(sender As Object, e As EventArgs)
|
||||||
RegistraScript(String.Format("$('#{0}').modal();", "DivProyeccion"))
|
RegistraScript(String.Format("$('#{0}').modal();", "DivProyeccion"))
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ public partial class Nomina_Aguinaldo : ClsPaginas
|
|||||||
int CvePeriodo;
|
int CvePeriodo;
|
||||||
decimal ImporteGravado = 0;
|
decimal ImporteGravado = 0;
|
||||||
decimal ImporteExento = 0;
|
decimal ImporteExento = 0;
|
||||||
|
decimal ImporteValor = 0;
|
||||||
//string NombrePersonal = "";
|
//string NombrePersonal = "";
|
||||||
int CveMetodoPago = 0;
|
int CveMetodoPago = 0;
|
||||||
int CveNomina = 0;
|
int CveNomina = 0;
|
||||||
@@ -167,6 +168,8 @@ public partial class Nomina_Aguinaldo : ClsPaginas
|
|||||||
Importe = row["Aguinaldo"].ToString().ToDecimal();
|
Importe = row["Aguinaldo"].ToString().ToDecimal();
|
||||||
ImporteGravado = row["AguinaldoGravado"].ToString().ToDecimal();
|
ImporteGravado = row["AguinaldoGravado"].ToString().ToDecimal();
|
||||||
ImporteExento = Importe - ImporteGravado;
|
ImporteExento = Importe - ImporteGravado;
|
||||||
|
ImporteValor = row["DiasLaborados"].ToString().ToDecimal();
|
||||||
|
|
||||||
|
|
||||||
if (CvePersonal > 0 && Importe>0 && row["CveNomina"].ToString().ToEntero()==0)
|
if (CvePersonal > 0 && Importe>0 && row["CveNomina"].ToString().ToEntero()==0)
|
||||||
{
|
{
|
||||||
@@ -196,7 +199,7 @@ public partial class Nomina_Aguinaldo : ClsPaginas
|
|||||||
if (CveNomina > 0)
|
if (CveNomina > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!objNomina.AddUPNom_NominasDetalles(objNomina.CveNomina, CvePeriodoSeleccionado, CvePersonal, CveConcepto, Importe, ImporteGravado, ImporteExento, UsuarioActual.CveUsuario))
|
if (!objNomina.AddUPNom_NominasDetalles(objNomina.CveNomina, CvePeriodoSeleccionado, CvePersonal, CveConcepto, Importe, ImporteGravado, ImporteExento, ImporteValor, UsuarioActual.CveUsuario))
|
||||||
{
|
{
|
||||||
continuar = false;
|
continuar = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -355,7 +355,7 @@ Partial Class Ventas_ClientesAbonar
|
|||||||
|
|
||||||
Private Sub CargaCuentas()
|
Private Sub CargaCuentas()
|
||||||
DdlCuenta.Items.Clear()
|
DdlCuenta.Items.Clear()
|
||||||
Dim dt As DataTable = GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa:=UsuarioActual.CveEmpresa)
|
Dim dt As DataTable = GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa:=UsuarioActual.CveEmpresa, CveTipoCuenta:=2)
|
||||||
|
|
||||||
If ChkPagarPesos.Checked Then
|
If ChkPagarPesos.Checked Then
|
||||||
dt = dt.FiltraParametros(String.Format("CveMoneda = {0}", 1))
|
dt = dt.FiltraParametros(String.Format("CveMoneda = {0}", 1))
|
||||||
@@ -1730,9 +1730,14 @@ Partial Class Ventas_ClientesAbonar
|
|||||||
ErrorAC = True
|
ErrorAC = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ErrorAC = Not ObjConta.AjustaPoliza(IDPoliza)
|
If Not ErrorAC Then
|
||||||
|
ErrorAC = Not ObjConta.AjustaPoliza(IDPoliza)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If Not ErrorAC Then
|
||||||
|
ErrorAC = Not ObjIE.UpdateIEPrePoliza(Fecha, FolioPoliza.ToString, IDPoliza, CvePrePoliza, CveIE, 0)
|
||||||
|
End If
|
||||||
|
|
||||||
ErrorAC = Not ObjIE.UpdateIEPrePoliza(Fecha, FolioPoliza.ToString, IDPoliza, CvePrePoliza, CveIE, 0)
|
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user