refactor: quotation card badge color & constant
This commit is contained in:
parent
063439c1c6
commit
9105dcf7fe
3 changed files with 12 additions and 8 deletions
|
|
@ -11,6 +11,7 @@ import { useNavigator } from 'src/stores/navigator';
|
|||
import useFlowStore from 'src/stores/flow';
|
||||
import useMyBranch from 'stores/my-branch';
|
||||
import { useQuotationForm } from './form';
|
||||
import { hslaColors } from './constants';
|
||||
|
||||
// NOTE Import Types
|
||||
import { CustomerBranchCreate } from 'stores/customer/types';
|
||||
|
|
@ -652,6 +653,7 @@ async function storeDataLocal(id: string) {
|
|||
item.row.createdBy.lastName
|
||||
"
|
||||
:total-price="item.row.finalPrice"
|
||||
:badge-color="hslaColors[item.row.quotationStatus] || ''"
|
||||
@preview="storeDataLocal(item.row.id)"
|
||||
@view="
|
||||
() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue