Skip to content

Commit

Permalink
update statement due task so it can be run any time and set overdue s…
Browse files Browse the repository at this point in the history
…tatus
  • Loading branch information
ochiu committed Nov 21, 2023
1 parent 2bb0fdc commit e350e9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jobs/payment-jobs/tasks/statement_due_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def process_unpaid_statements(cls):
cls._notify_for_monthly()

# Set overdue status for invoices
if current_local_time().date().day == 1:
cls._update_invoice_overdue_status()
cls._update_invoice_overdue_status()

@classmethod
def _update_invoice_overdue_status(cls):
Expand Down

0 comments on commit e350e9e

Please sign in to comment.