diff --git a/App_Code/ClsVentas.vb b/App_Code/ClsVentas.vb
index 5ba4bc54a..309a3d465 100644
--- a/App_Code/ClsVentas.vb
+++ b/App_Code/ClsVentas.vb
@@ -5336,7 +5336,7 @@ Public Class ClsVentas
#End Region
- Public Function AddAutorizacionLimite(CveEmpresa As Integer, CveCliente As Integer, CveVendedor As Integer, Importe As Decimal, CveEstatus As Integer, CveUsuario As Integer, TipoAutorizacion As Integer, TipoDocumento As String, Optional DiasVencidos As Integer = 0, Optional Motivo As String = "") As Boolean
+ Public Function AddAutorizacionLimite(CveEmpresa As Integer, CveCliente As Integer, CveVendedor As Integer, Importe As Decimal, CveEstatus As Integer, CveUsuario As Integer, TipoAutorizacion As Integer, TipoDocumento As String, Optional DiasVencidos As Integer = 0, Optional Motivo As String = "", Optional PorcentajeDescuento As Decimal = 0) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Vta_AutorizacionLimitesAdd")
With SqlAdapter.SelectCommand.Parameters
@@ -5349,6 +5349,7 @@ Public Class ClsVentas
.Add("@TipoAutorizacion", SqlDbType.Int).Value = TipoAutorizacion
.Add("@TipoDocumento", SqlDbType.VarChar).Value = TipoDocumento
.Add("@DiasVencidos", SqlDbType.Int).Value = DiasVencidos
+ .Add("@PorcentajeDescuento", SqlDbType.Decimal).Value = PorcentajeDescuento
.Add("@Motivo", SqlDbType.VarChar).Value = Motivo
End With
Try
diff --git a/App_Code/Modelos.vb b/App_Code/Modelos.vb
index 7167697c1..f91f6b6b1 100644
--- a/App_Code/Modelos.vb
+++ b/App_Code/Modelos.vb
@@ -5736,7 +5736,7 @@ Namespace Modelos
Else
If Not ObjVentas.UpdateEstatusFactura(CveEstatus, FolioFiscal, CancelacionAcuse, CancelacionFecha, CveVenta, IDPoliza, CvePAC:=CvePACCancelacion, CveEstatusRefacturacion:=CveEstatusRefacturacion,
CveUsuarioCambiaEstatus:=UsuarioActual.CveUsuario, FechaCambioEstatus:=Now.ToString("yyyy-MM-dd HH:mm:ss.mmm"), CveMotivoCancelacion:=CveMotivoCancelacion,
- MotivoCancelacion:=MotivoCancelacion, EstadoCancelacion:=EstadoCancelacion, CveEstadoCancelacion:=CveEstadoCancelacion) Then
+ MotivoCancelacion:=MotivoCancelacion, EstadoCancelacion:=EstadoCancelacion, CveEstadoCancelacion:=CveEstadoCancelacion, SelloSolicitudDigitalSAT:=SolicitudCancelacionAcuse) Then
ErrorCancelar = True
MensajeError = "Ocurrió un error al guardar el estatus de cancelación."
End If
diff --git a/Empresas/154/Formatos/Factura.rdlc b/Empresas/154/Formatos/Factura.rdlc
index 725f8d552..fafc066a2 100644
--- a/Empresas/154/Formatos/Factura.rdlc
+++ b/Empresas/154/Formatos/Factura.rdlc
@@ -477,7 +477,7 @@
true
- 4.65368in
+ 3.52868in
0.06752in
1.41544in
8.23953in
@@ -1242,7 +1242,6 @@
2pt
- true
@@ -1284,37 +1283,6 @@
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox5
- 6.29109cm
- 0.28014cm
- 0.05496cm
- 20.88652cm
- 2
-
-
- Black
- 2pt
- 2pt
- 2pt
- 2pt
-
-
true
true
@@ -1388,7 +1356,7 @@
4.18454cm
2.70968cm
9.58983cm
- 3
+ 2
@@ -1468,7 +1436,7 @@
13.77437cm
2.70968cm
4.34463cm
- 4
+ 3
@@ -1502,7 +1470,7 @@
18.23008cm
0.96018cm
2.79101cm
- 5
+ 4
@@ -1538,7 +1506,7 @@
18.23008cm
0.6cm
2.79101cm
- 6
+ 5
@@ -1589,7 +1557,7 @@
18.23008cm
0.86903cm
2.79101cm
- 7
+ 6
@@ -1680,7 +1648,7 @@
0.28014cm
1.09007cm
9.71199cm
- 8
+ 7
@@ -1760,7 +1728,7 @@
10.06268cm
0.7927cm
9.71199cm
- 9
+ 8
@@ -1941,7 +1909,7 @@
0.25136cm
0.74611cm
13.82025cm
- 10
+ 9
@@ -1974,7 +1942,7 @@
14.07729cm
0.57354cm
2.90753cm
- 11
+ 10
@@ -2000,11 +1968,11 @@
Textbox5
- 8.98809cm
+ 6.13059cm
0.24983cm
0.05496cm
20.88652cm
- 12
+ 11
@@ -2058,7 +2026,7 @@
17.09066cm
0.64028cm
3.90165cm
- 13
+ 12
@@ -2240,11 +2208,11 @@
Textbox4
- 9.1136cm
+ 6.2561cm
0.16383cm
2.44366cm
15.07903cm
- 14
+ 13
@@ -2270,11 +2238,11 @@
Textbox5
- 11.6631cm
+ 8.8056cm
0.10579cm
0.05496cm
20.88652cm
- 15
+ 14
@@ -2389,116 +2357,17 @@
DataSet1
- 9.1136cm
+ 6.2561cm
15.31342cm
0.48004cm
5.71104cm
- 16
+ 15
-
- true
- true
- true
-
-
-
-
- Sucursal Matriz
-
-
-
-
-
-
-
-
- Beneficiario: SERVICIOS ELECTRICOS Y CONTROL DE HERMOSILLO S.A DE C.V
-
-
-
-
-
-
-
-
- Banco: BANORTE
-
-
-
- 0cm
- 0cm
-
-
-
-
-
- CLABE: 072 760 004 614 648 782
-
-
-
- 0cm
- 0cm
-
-
-
-
-
- Cuenta: 0461464878
-
-
-
- 0cm
- 0cm
-
-
-
- Textbox1
- 7.01327cm
- 0.25136cm
- 1.8337cm
- 9.18009cm
- 17
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
Embedded
RFIRMAELECTRONICAEDITABLE
@@ -2507,45 +2376,13 @@
0.28014cm
1.73059cm
3.63914cm
- 18
+ 16
-
- true
- true
-
-
-
-
- Cuenta Bancaria
-
-
-
-
-
-
- Textbox13
- 6.49293cm
- 0.28014cm
- 0.52035cm
- 9.15131cm
- 19
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
@@ -3017,11 +2854,11 @@
true
- 15.5602cm
+ 12.7027cm
0.16937cm
2.67787cm
20.85172cm
- 20
+ 17
=Microsoft.VisualBasic.Interaction.IIF(First(Fields!SerieFolio.Value, "DataSet4") <> "", False, True)
@@ -3032,7 +2869,7 @@
- 18.23807cm
+ 15.38057cm