Reasons
The Reasons module is used to manage predefined reasons for Order Cancellation and Refunds. These reasons can be attached to orders during cancellation or refund processes to maintain consistency and reporting.

Filters
The list of reasons can be filtered using:
- Type → Filter by reason type (
Cancellation,Refund). - Activation → Show only
ActiveorInactivereasons. - From / To → Filter by creation date range.
Actions
Create Reason
- Opens a form to create a new reason.
- Requires multilingual support for the reason name.
- Type and activation status must be set.
Row Actions
Each row has quick actions available via the three-dot menu:
- Edit Reason → Update name, type, or activation status.
- Delete Reason → Permanently remove a reason.
Bulk Actions
- Delete Reasons → Multiple reasons can be selected and deleted at once.
CRUD Attributes
| Attribute | Description | Rules |
|---|---|---|
| Name | The reason name. Supports multiple translations. | Required |
| Type | Defines the reason type. | Required (Cancellation / Refund) |
| Active | Controls whether the reason is available for selection | Optional |
Create Reason Page

- Name → Enter the translated name (multi-language supported).
- Type → Select
CancellationorRefund. - Active → Checkbox to enable or disable reason.
Once filled, click Create to add the new reason.
Edit Reason Page

- Same as the Create Reason form but pre-filled with existing data.
- Allows updating translations, type, or activation status.
- Click Update to save changes.
✅ Note: Only active reasons will be displayed for selection during order cancellation or refund operations.
