Skip to content

Commit

Permalink
transaction comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeach92 committed Feb 23, 2024
1 parent 2d1c8ad commit e032aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/businesslogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def _service_paid_by_transaction(servicesubscription, transaction, add_days):
logger.debug(
f"{servicesubscription} paid for first time, adding bonus of {bonus_days}"
)
if transaction.comment != "":
if transaction.comment:
transaction.comment = transaction.comment + f"\r\nFirst payment of {servicesubscription} - added {bonus_days.days} bonus days."
else:
transaction.comment = f"First payment of {servicesubscription} - added {bonus_days.days} bonus days."
Expand Down

0 comments on commit e032aeb

Please sign in to comment.