feat: create return reason (#8516)

* feat: create and edit return reasons

* add prop to hide data table header

* make return reasons searchable

* hide table header
This commit is contained in:
Christian
2024-08-12 07:47:07 +02:00
committed by GitHub
parent a19c562bec
commit 4eb2e8379f
18 changed files with 482 additions and 82 deletions
+8 -4
View File
@@ -2489,25 +2489,29 @@ export interface FilterableOrderItemProps
*/
export interface FilterableOrderReturnReasonProps
extends BaseFilterable<FilterableOrderReturnReasonProps> {
/**
* Find return reasons through this search term
*/
q?: string
/**
* The IDs to filter the return reasons by.
*/
id?: string | string[]
id?: string | string[] | OperatorMap<string | string[]>
/**
* Filter the return reason by their value.
*/
value?: string | string[]
value?: string | string[] | OperatorMap<string | string[]>
/**
* Filter the return reason by their label.
*/
label?: string
label?: string | OperatorMap<string>
/**
* Filter the return reason by their description.
*/
description?: string
description?: string | OperatorMap<string>
}
/**