Expected Behavior
The status of an order is changed automatically when:
- The current status of an order is "Approved", and the current date reached its "start_date". the new status should be "Ongoing".
- The current status of an order is "Ongoing", and the current date reached its "end_date". the new status should be "Finished".
- The current status of an order is "Pending", and the current date reached its "start_date". the new status should be "Canceled".
Current Behavior
The status of an order is not changed when reaching its "start_date" / "end_date".
Acceptance Criteria
- The status of an order which is currently going should be only "Ongoing" / "Canceled".
- The status of an order which its "end_date" is earlier of the current date should be only "Finished" / "Canceled".
Expected Behavior
The status of an order is changed automatically when:
Current Behavior
The status of an order is not changed when reaching its "start_date" / "end_date".
Acceptance Criteria