From e0a3daff05d367c67782e169a88d51ab2270d7df Mon Sep 17 00:00:00 2001 From: LuizCamposGN Date: Fri, 17 Sep 2021 12:19:06 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20nas=20Data=20de=20Expira?= =?UTF-8?q?=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBillet.pas | 2 +- .../Utils/Views/Charges/ViewPayChargeBilletOneStep.pas | 2 +- Code/Api Boletos/Utils/Views/Plans/ViewPayPlan.pas | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBillet.pas b/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBillet.pas index bdee17c..1627329 100644 --- a/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBillet.pas +++ b/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBillet.pas @@ -176,7 +176,7 @@ function TViewPayChargeBillet.GetBody: String; ClassChargeCreate.Payment.Billet.Configurations := Conf; - ClassChargeCreate.Payment.Billet.ExpireAt := FormatDateTime( 'yyyy-mm-dd', Today + 10 ); + ClassChargeCreate.Payment.Billet.ExpireAt := txtExpire.Text;; ClassChargeCreate.Payment.Billet.Message := txtMessage.Text; BodyRequest := SO(ClassChargeCreate.AsJSON(False, False)); diff --git a/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBilletOneStep.pas b/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBilletOneStep.pas index d062825..8e8a821 100644 --- a/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBilletOneStep.pas +++ b/Code/Api Boletos/Utils/Views/Charges/ViewPayChargeBilletOneStep.pas @@ -202,7 +202,7 @@ function TViewPayChargeBilletOneStep.GetBody: String; ClassChargeCreate.Payment.Billet.Configurations := Conf; - ClassChargeCreate.Payment.Billet.ExpireAt := FormatDateTime( 'yyyy-mm-dd', Today + 10 ); + ClassChargeCreate.Payment.Billet.ExpireAt := txtExpire.Text;; ClassChargeCreate.Payment.Billet.Message := txtMessage.Text; strConcat := Concat(ClassChargeItem.AsJSON(False, False), ClassChargeCreate.AsJSON(False, False)); diff --git a/Code/Api Boletos/Utils/Views/Plans/ViewPayPlan.pas b/Code/Api Boletos/Utils/Views/Plans/ViewPayPlan.pas index 907376f..b95abe5 100644 --- a/Code/Api Boletos/Utils/Views/Plans/ViewPayPlan.pas +++ b/Code/Api Boletos/Utils/Views/Plans/ViewPayPlan.pas @@ -175,7 +175,7 @@ function TViewPayPlan.GetBody: String; ClassChargeCreate.Payment.Billet.Configurations := Conf; - ClassChargeCreate.Payment.Billet.ExpireAt := FormatDateTime( 'yyyy-mm-dd', Today + 10 ); + ClassChargeCreate.Payment.Billet.ExpireAt := txtExpire.Text;; ClassChargeCreate.Payment.Billet.Message := txtMessage.Text; BodyRequest := SO(ClassChargeCreate.AsJSON(False, False));