idurar/idurar-erp-crm

Create Daily Job Cron to Check Expiry Status of Invoices and Quotes

Open

#417 opened on Sep 4, 2023

View on GitHub
 (6 comments) (0 reactions) (1 assignee)JavaScript (4,308 stars) (1,036 forks)batch import
good first issue✨ enhancement🔧 Backend

Description

Description: This task involves creating a daily job cron that checks the expiry status of invoices and quotes in the system. The specific actions to be performed based on the expiry status are as follows:

For expired invoices:

If an invoice is found to be expired, the system should update its status to "overdue". This will help in identifying and managing overdue invoices more efficiently.

For expired quotes:

If a quote is identified as expired, the system should update its status to "expired". This helps keep track of quotes that have passed their validity period, enabling better decision-making and ensuring accurate sales records.

  • The daily job cron should run automatically at a pre-defined time each day to ensure timely identification and update of expired invoices and quotes. By implementing this feature, the system will provide a more streamlined and automated process for managing the status of invoices and quotes.

Contributor guide