Skip to content

Commit

Permalink
Correção nas Data de Expiração
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizCamposGN committed Sep 17, 2021
1 parent a3b2355 commit e0a3daf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion Code/Api Boletos/Utils/Views/Plans/ViewPayPlan.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit e0a3daf

Please sign in to comment.