feat(promotion,dashboard,types,utils,medusa): Add statuses to promotions (#10950)
what: - adds a status column to promotion table - introduce active promotion query - scope revert, register and compute actions to active promotions - admin to create and update promotion with statuses RESOLVES CMRC-845 RESOLVES CMRC-846 RESOLVES CMRC-847 RESOLVES CMRC-848 RESOLVES CMRC-849 RESOLVES CMRC-850
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1933,7 +1933,19 @@
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"title": "Status"
|
||||
"label": "Status",
|
||||
"draft": {
|
||||
"title": "Draft",
|
||||
"description": "Customers will not be able to use the code yet"
|
||||
},
|
||||
"active": {
|
||||
"title": "Active",
|
||||
"description": "Customers will be able to use the code"
|
||||
},
|
||||
"inactive": {
|
||||
"title": "Inactive",
|
||||
"description": "Customers will no longer be able to use the code"
|
||||
}
|
||||
},
|
||||
"method": {
|
||||
"label": "Method",
|
||||
@@ -2676,6 +2688,8 @@
|
||||
"scheduled": "Scheduled",
|
||||
"expired": "Expired",
|
||||
"active": "Active",
|
||||
"inactive": "Inactive",
|
||||
"draft": "Draft",
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user