Skip to content

Changing an order's status according to the date automatically #108

@OfirMatasas

Description

@OfirMatasas

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".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions