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',
|
||||
PaymentSuccess: 'PaymentSuccess',
|
||||
ProcessComplete: 'ProcessComplete',
|
||||
Canceled: 'Canceled',
|
||||
} as const
|
||||
)[pageState.currentTab]
|
||||
: 'Issued',
|
||||
|
|
@ -454,6 +455,13 @@ async function storeDataLocal(id: string) {
|
|||
color: 'blue',
|
||||
hidden: pageState.currentTab !== 'ProcessComplete',
|
||||
},
|
||||
{
|
||||
icon: 'mdi-cancel',
|
||||
count: quotationStats.canceled,
|
||||
label: 'general.cancel',
|
||||
color: 'red',
|
||||
hidden: pageState.currentTab !== 'Canceled',
|
||||
},
|
||||
]"
|
||||
:dark="$q.dark.isActive"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ export const pageTabs = [
|
|||
'Invoice',
|
||||
'PaymentSuccess',
|
||||
'ProcessComplete',
|
||||
'Canceled',
|
||||
];
|
||||
|
||||
export const columnPaySplit = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue