-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* filter orders by date range, order number, sku and state * hide order filter if there are no orders * load more orders button * update order include types * add date range picker formly component * vertical formly wrapper Co-authored-by: Dilara Gueler <[email protected]> Co-authored-by: Silke <[email protected]>
- Loading branch information
1 parent
650dcf3
commit 564d5c8
Showing
30 changed files
with
886 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/app/core/models/order-list-query/order-list-query.model.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
export type OrderIncludeType = | ||
| 'all' | ||
| 'buckets' | ||
| 'buckets_discounts' | ||
| 'buckets_shipToAddress' | ||
| 'buckets_shippingMethod' | ||
| 'buyingContext' | ||
| 'commonShipToAddress' | ||
| 'commonShippingMethod' | ||
| 'discounts' | ||
| 'discounts_promotion' | ||
| 'invoiceToAddress' | ||
| 'lineItems' | ||
| 'lineItems_discounts' | ||
| 'lineItems_product' | ||
| 'lineItems_shipToAddress' | ||
| 'lineItems_shippingMethod' | ||
| 'lineItems_warranty' | ||
| 'payments' | ||
| 'payments_paymentInstrument' | ||
| 'payments_paymentMethod'; | ||
|
||
export interface OrderListQuery { | ||
limit: number; | ||
include?: OrderIncludeType[]; | ||
offset?: number; | ||
documentNumber?: string[]; | ||
customerOrderID?: string[]; | ||
creationDateFrom?: string; | ||
creationDateTo?: string; | ||
lineItem_product?: string[]; | ||
lineItem_customerProductID?: string[]; | ||
lineItem_partialOrderNo?: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.