Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #177 from commercelayer/hide-archived-from-lists
Browse files Browse the repository at this point in the history
Hide archived orders from open lists
  • Loading branch information
gciotola authored Jul 2, 2024
2 parents d312e71 + 788db93 commit e784d46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/app/src/data/lists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const presets: Record<ListType, FormFullValues> = {
awaitingApproval: {
status_in: ['placed'],
payment_status_in: ['authorized', 'free', 'paid'],
archived: 'show',
archived: 'hide',
viewTitle: 'Awaiting approval'
},
editing: {
Expand All @@ -25,13 +25,13 @@ export const presets: Record<ListType, FormFullValues> = {
paymentToCapture: {
status_in: ['approved'],
payment_status_in: ['authorized'],
archived: 'show',
archived: 'hide',
viewTitle: 'Payment to capture'
},
fulfillmentInProgress: {
status_in: ['approved'],
fulfillment_status_in: ['in_progress'],
archived: 'show',
archived: 'hide',
viewTitle: 'Fulfillment in progress'
},
history: {
Expand Down

0 comments on commit e784d46

Please sign in to comment.