idurar/idurar-erp-crm
Create Daily Job Cron to Check Expiry Status of Invoices and Quotes
開放
#417 建立於 2023年9月4日
good first issue✨ enhancement🔧 Backend
倉庫指標
- 星標
- (4,308 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
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.