refactor: change stats card icon for each status (#78)

* refactor: change stats card icon for each status

* refactor: change stats color
This commit is contained in:
Methapon Metanipat 2024-11-19 15:57:26 +07:00 committed by GitHub
parent c6190bbedc
commit f6645b0a86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -387,7 +387,7 @@ async function storeDataLocal(id: string) {
labelI18n
:branch="[
{
icon: 'mdi-cash',
icon: 'material-symbols-light:receipt-long',
count: quotationStats.issued,
label: 'quotation.status.Issued',
color: 'orange',
@ -400,33 +400,29 @@ async function storeDataLocal(id: string) {
color: 'pink',
hidden: pageState.currentTab !== 'Accepted',
},
{
icon: 'mdi-hand-coin-outline',
icon: 'pajamas:expire',
count: quotationStats.expired,
label: 'quotation.status.Expired',
color: 'cyan',
hidden: pageState.currentTab !== 'Expired',
},
{
icon: 'mdi-hand-coin-outline',
icon: 'material-symbols-light:receipt-long',
count: quotationStats.paymentInProcess,
label: 'quotation.status.Invoice',
color: 'purple',
hidden: pageState.currentTab !== 'Invoice',
},
{
icon: 'mdi-hand-coin-outline',
icon: 'fluent:receipt-money-16-regular',
count: quotationStats.paymentSuccess,
label: 'quotation.status.PaymentSuccess',
color: 'dark-orange',
color: 'light-green',
hidden: pageState.currentTab !== 'PaymentSuccess',
},
{
icon: 'mdi-hand-coin-outline',
icon: 'mdi-check-decagram-outline',
count: quotationStats.processComplete,
label: 'quotation.status.ProcessComplete',
color: 'blue',