feat: canceled tab quotation
This commit is contained in:
parent
911f0cb5a8
commit
7b78c95292
2 changed files with 9 additions and 0 deletions
|
|
@ -287,6 +287,7 @@ async function fetchQuotationList() {
|
||||||
Invoice: 'PaymentInProcess',
|
Invoice: 'PaymentInProcess',
|
||||||
PaymentSuccess: 'PaymentSuccess',
|
PaymentSuccess: 'PaymentSuccess',
|
||||||
ProcessComplete: 'ProcessComplete',
|
ProcessComplete: 'ProcessComplete',
|
||||||
|
Canceled: 'Canceled',
|
||||||
} as const
|
} as const
|
||||||
)[pageState.currentTab]
|
)[pageState.currentTab]
|
||||||
: 'Issued',
|
: 'Issued',
|
||||||
|
|
@ -454,6 +455,13 @@ async function storeDataLocal(id: string) {
|
||||||
color: 'blue',
|
color: 'blue',
|
||||||
hidden: pageState.currentTab !== 'ProcessComplete',
|
hidden: pageState.currentTab !== 'ProcessComplete',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
icon: 'mdi-cancel',
|
||||||
|
count: quotationStats.canceled,
|
||||||
|
label: 'general.cancel',
|
||||||
|
color: 'red',
|
||||||
|
hidden: pageState.currentTab !== 'Canceled',
|
||||||
|
},
|
||||||
]"
|
]"
|
||||||
:dark="$q.dark.isActive"
|
:dark="$q.dark.isActive"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ export const pageTabs = [
|
||||||
'Invoice',
|
'Invoice',
|
||||||
'PaymentSuccess',
|
'PaymentSuccess',
|
||||||
'ProcessComplete',
|
'ProcessComplete',
|
||||||
|
'Canceled',
|
||||||
];
|
];
|
||||||
|
|
||||||
export const columnPaySplit = [
|
export const columnPaySplit = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue