refactor: add table paySplit

This commit is contained in:
Thanaphon Frappet 2024-10-29 11:06:13 +07:00
parent c890d97480
commit 7ef44227b9
2 changed files with 56 additions and 0 deletions

View file

@ -1,3 +1,5 @@
import { QTableProps } from 'quasar';
export const productTreeDecoration = [
{
level: 0,
@ -26,4 +28,27 @@ export const pageTabs = [
'installmentsCustomCash',
];
export const columnPaySplit = [
{
name: 'installmentNo',
align: 'center',
label: 'quotation.periodNo',
field: 'no',
},
{
name: 'amount',
align: 'left',
label: 'quotation.paySplitMessage',
field: 'amount',
},
{
name: 'status',
align: 'center',
label: 'general.status',
field: 'status',
},
] satisfies QTableProps['columns'];
export const fieldSelectedOption = [{ label: 'general.type', value: 'value' }];