Cambio validacion de fechas documento para las empresas UsaAC
This commit is contained in:
@@ -732,6 +732,7 @@ Partial Class Bancos_ProveedoresAbonar
|
|||||||
Dim AnioDocumento As Integer = FechaDocumento.Year
|
Dim AnioDocumento As Integer = FechaDocumento.Year
|
||||||
Dim MesDocumento As Integer = FechaDocumento.Month
|
Dim MesDocumento As Integer = FechaDocumento.Month
|
||||||
|
|
||||||
|
If UsuarioActual.Empresa.UsaAC = False Then
|
||||||
If AnioFactura > AnioDocumento Then
|
If AnioFactura > AnioDocumento Then
|
||||||
FoliosFechasValFechaDocumento.AppendLine($"Folio: { gvRowVal.DataKey("SerieFolio") } fecha: {gvRowVal.DataKey("Fecha").ToDate.ToString("dd/MM/yyyy") } <br/>")
|
FoliosFechasValFechaDocumento.AppendLine($"Folio: { gvRowVal.DataKey("SerieFolio") } fecha: {gvRowVal.DataKey("Fecha").ToDate.ToString("dd/MM/yyyy") } <br/>")
|
||||||
ValFechaDocumento = True
|
ValFechaDocumento = True
|
||||||
@@ -739,7 +740,7 @@ Partial Class Bancos_ProveedoresAbonar
|
|||||||
FoliosFechasValFechaDocumento.AppendLine($"Folio: { gvRowVal.DataKey("SerieFolio") } fecha: {gvRowVal.DataKey("Fecha").ToDate.ToString("dd/MM/yyyy") } <br/>")
|
FoliosFechasValFechaDocumento.AppendLine($"Folio: { gvRowVal.DataKey("SerieFolio") } fecha: {gvRowVal.DataKey("Fecha").ToDate.ToString("dd/MM/yyyy") } <br/>")
|
||||||
ValFechaDocumento = True
|
ValFechaDocumento = True
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|||||||
@@ -671,6 +671,7 @@ Partial Class Ventas_ClientesAbonar
|
|||||||
Dim AnioDocumento As Integer = FechaDocumento.Year
|
Dim AnioDocumento As Integer = FechaDocumento.Year
|
||||||
Dim MesDocumento As Integer = FechaDocumento.Month
|
Dim MesDocumento As Integer = FechaDocumento.Month
|
||||||
|
|
||||||
|
If UsuarioActual.Empresa.UsaAC = False Then
|
||||||
If AnioFactura > AnioDocumento Then
|
If AnioFactura > AnioDocumento Then
|
||||||
FoliosFechasValFechaDocumento.AppendLine($"Folio: { gvRowVal.DataKey("SerieFolio") } fecha: {gvRowVal.DataKey("Fecha").ToDate.ToString("dd/MM/yyyy") } <br/>")
|
FoliosFechasValFechaDocumento.AppendLine($"Folio: { gvRowVal.DataKey("SerieFolio") } fecha: {gvRowVal.DataKey("Fecha").ToDate.ToString("dd/MM/yyyy") } <br/>")
|
||||||
ValFechaDocumento = True
|
ValFechaDocumento = True
|
||||||
@@ -680,6 +681,7 @@ Partial Class Ventas_ClientesAbonar
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user