Interface: OrderListProps
Defined in: components/OrderList.tsx:18
Properties
channelIds?
optionalchannelIds?:number[]
Defined in: components/OrderList.tsx:93
Filter orders by channel IDs
className?
optionalclassName?:string
Defined in: components/OrderList.tsx:72
Override base styles
columnConfig?
optionalcolumnConfig?:Record<string,string>
Defined in: components/OrderList.tsx:39
Label mapping for columns
columns?
optionalcolumns?:string[]
Defined in: components/OrderList.tsx:36
Columns to display. Defaults to ['id', 'date', 'status', 'total', 'action']
companyId?
optionalcompanyId?:number
Defined in: components/OrderList.tsx:66
Override company ID for order filtering (respects company switcher)
enableSearch?
optionalenableSearch?:boolean
Defined in: components/OrderList.tsx:42
Enable searching
flat?
optionalflat?:boolean
Defined in: components/OrderList.tsx:90
Drop the results container's card chrome (background/border/shadow). Defaults to false.
formatDate?
optionalformatDate?: (dateString) =>string
Defined in: components/OrderList.tsx:99
Format date
Parameters
dateString
string
Returns
string
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/OrderList.tsx:96
Format price
Parameters
price
number
Returns
string
getStatusColor?
optionalgetStatusColor?: (status) =>string
Defined in: components/OrderList.tsx:102
Get status color
Parameters
status
string
Returns
string
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: components/OrderList.tsx:30
The initialized GraphQL Client instance. Resolved from PropellerProvider when omitted.
hideHeader?
optionalhideHeader?:boolean
Defined in: components/OrderList.tsx:87
Hide the column header row. Defaults to false.
hidePagination?
optionalhidePagination?:boolean
Defined in: components/OrderList.tsx:84
Hide pagination controls. Defaults to false.
initialItemsPerPage?
optionalinitialItemsPerPage?:number
Defined in: components/OrderList.tsx:75
Items per page default
initialSearchForm?
optionalinitialSearchForm?:OrderSearchForm
Defined in: components/OrderList.tsx:52
Seed the filter form on mount — typically rehydrated from the URL query so
a bookmarked/shared filtered view restores on reload. Pair with
onSearchApply so the page can keep the URL in sync when filters change.
labels?
optionallabels?:object
Defined in: components/OrderList.tsx:113
Localization label overrides for UI strings.
action?
optionalaction?:string
Header label for the action column.
date?
optionaldate?:string
Header label for the date column.
loading?
optionalloading?:string
Loading-state message.
next?
optionalnext?:string
Text for the next-page pagination button.
noOrders?
optionalnoOrders?:string
Message shown when no orders match.
of?
optionalof?:string
Connector word in the pagination summary ("of").
order?
optionalorder?:string
Header label for the order ID column.
previous?
optionalprevious?:string
Text for the previous-page pagination button.
showingPage?
optionalshowingPage?:string
Prefix text in the pagination summary ("Showing page").
status?
optionalstatus?:string
Header label for the status column.
total?
optionaltotal?:string
Header label for the total column.
view?
optionalview?:string
Text for the per-row "View" action button.
language?
optionallanguage?:string
Defined in: components/OrderList.tsx:24
Storefront language ('EN', 'NL', …). Decides the number format prices are
rendered in — without it they fall back to Dutch separators regardless of
the language the shopper is reading. Resolved from <PropellerProvider> when omitted.
onOrderClick
onOrderClick: (
orderId) =>void
Defined in: components/OrderList.tsx:33
Callback when an order is clicked
Parameters
orderId
number
Returns
void
onSearchApply?
optionalonSearchApply?: (form) =>void
Defined in: components/OrderList.tsx:60
Fires when the user applies or clears filters (the "Search"/"Clear"
buttons). Receives the active filter form. Use it to persist the filters
to the URL — the component owns no router, so the page decides how (and
whether) to reflect them in location.
Parameters
form
Returns
void
orderStatus?
optionalorderStatus?:string[]
Defined in: components/OrderList.tsx:69
Filter orders by these statuses
rowsClickable?
optionalrowsClickable?:boolean
Defined in: components/OrderList.tsx:78
Rows are clickable
searchFields?
optionalsearchFields?:string[]
Defined in: components/OrderList.tsx:45
Fields enabled for searching (UI inputs)
showCompanyOrders?
optionalshowCompanyOrders?:boolean
Defined in: components/OrderList.tsx:81
Show company orders
statusLabels?
optionalstatusLabels?:Record<string,string>
Defined in: components/OrderList.tsx:110
Localized display labels for order/quote statuses, keyed by the raw backend
status value (e.g. { NEW: 'Nieuw', CONFIRMED: 'Bevestigd', REQUEST: 'Aangevraagd' }). Unknown statuses fall back to the raw value. Without
this the list printed the raw enum (NEW/CONFIRMED/REQUEST) to the customer.
termFields?
optionaltermFields?:any[]
Defined in: components/OrderList.tsx:63
Term fields configuration (backend)
user?
optionaluser?:Contact|Customer|null
Defined in: components/OrderList.tsx:27
The authenticated user (Contact or Customer). Resolved from PropellerProvider when omitted.