Fix: Inserta Pagos SP Id_Cliente (0) y Id_TipoIva (5) - Feat: Google Analytics Tag

This commit is contained in:
2026-03-18 14:55:26 -03:00
parent 37869fa8b4
commit dd4b32dd7e
3 changed files with 26 additions and 15 deletions

View File

@@ -98,7 +98,7 @@ public class LegacyPaymentService : ILegacyPaymentService
var p = new DynamicParameters();
p.Add("@tipo", ad.VehicleTypeID == 1 ? "A" : "M");
p.Add("@nro_operacion", tx.TransactionID);
p.Add("@id_cliente", ad.UserID);
p.Add("@id_cliente", 0);
p.Add("@tipodoc", 96);
p.Add("@nro_doc", "0");
p.Add("@razon", $"{ad.User.FirstName} {ad.User.LastName}".Trim().ToUpper());
@@ -108,7 +108,7 @@ public class LegacyPaymentService : ILegacyPaymentService
p.Add("@codigopostal", "1900");
p.Add("@telefono", ad.ContactPhone ?? "");
p.Add("@email", ad.User.Email);
p.Add("@id_tipoiva", 1);
p.Add("@id_tipoiva", 5);
p.Add("@porcentaje_iva1", 10.5m);
p.Add("@porcentaje_iva2", 0);
p.Add("@porcentaje_percepcion", 0);