Interface: OrderSummaryProps
Defined in: components/OrderSummary.tsx:12
Properties
countries?
optionalcountries?:object[]
Defined in: components/OrderSummary.tsx:56
List of countries for resolving codes to names [{code: 'NL', name: 'Netherlands'}, ...]
code
code:
string
name
name:
string
currency?
optionalcurrency?:string
Defined in: components/OrderSummary.tsx:62
Currency symbol used by the default formatter. Default: '€'.
formatDate?
optionalformatDate?: (dateString) =>string
Defined in: components/OrderSummary.tsx:50
Custom date formatting function
Parameters
dateString
string
Returns
string
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/OrderSummary.tsx:35
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?:Record<string,string>
Defined in: components/OrderSummary.tsx:53
Labels for the component
order
order:
any
Defined in: components/OrderSummary.tsx:14
The order object from propeller-sdk-v2
orderSummaryContainerClass?
optionalorderSummaryContainerClass?:string
Defined in: components/OrderSummary.tsx:17
The CSS class for the order summary container
showDeliveryAddress?
optionalshowDeliveryAddress?:boolean
Defined in: components/OrderSummary.tsx:41
Show the delivery address
showDeliveryInfo?
optionalshowDeliveryInfo?:boolean
Defined in: components/OrderSummary.tsx:44
Show payment, carrier, and delivery date info
showInvoiceAddress?
optionalshowInvoiceAddress?:boolean
Defined in: components/OrderSummary.tsx:38
Show the invoice address
showOrderDate?
optionalshowOrderDate?:boolean
Defined in: components/OrderSummary.tsx:26
Show the order date
showOrderNumber?
optionalshowOrderNumber?:boolean
Defined in: components/OrderSummary.tsx:23
Show the order number
showOrderStatus?
optionalshowOrderStatus?:boolean
Defined in: components/OrderSummary.tsx:29
Show the order status
showOrderTotal?
optionalshowOrderTotal?:boolean
Defined in: components/OrderSummary.tsx:32
Show the order total
showRemarks?
optionalshowRemarks?:boolean
Defined in: components/OrderSummary.tsx:47
Show order remarks and reference
title?
optionaltitle?:string
Defined in: components/OrderSummary.tsx:20
Title of the order summary