Ticket #176 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

recurring invoices: redesign status

Reported by: jzarate Owned by: jzarate
Priority: major Milestone: 0.2
Component: recurring Keywords: recurring invoices, generation date
Cc:

Description (last modified by jzarate) (diff)

the avaliable status (in order of precedence)

  • draft : (draft field = 1)
  • disabled: (enabled field = 0)
  • desync: (out of sync, desync field = 1)
  • enabled: (enabled field = 1)

Also, when the recurring invoice gets "exhausted" it is automatically set to disabled.

also, every time the system checks for scheduled jobs, it also checks and marks desync recurring invoices.

Change History

Changed 3 years ago by jzarate

  • status changed from new to assigned

Changed 3 years ago by jzarate

r696

- added a "desync" field to the database to mark "desynced" recurring invoices - on the checkjobs task the recurring invoices that have missed a generation are also checked and marked accordingly - added two new states to the recurring invoice:

  • exhausted
  • out_of_sync

- added new RecurringInvoiceFinder? method: "outOfSync" which looks for out-of-sync recurring invoices.

Changed 3 years ago by jzarate

  • status changed from assigned to closed
  • resolution set to fixed
  • description modified (diff)
  • summary changed from recurring invoices: mark recurring invoices with past generation date to recurring invoices: redesign status
Note: See TracTickets for help on using tickets.