mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE): Add support for displaying DO number in MarketingTable
This commit is contained in:
@@ -379,8 +379,13 @@ const MarketingTable = () => {
|
||||
},
|
||||
},
|
||||
{
|
||||
accessorKey: 'so_number',
|
||||
accessorKey: 'so_do_number',
|
||||
header: 'No. Order',
|
||||
cell: (props) => {
|
||||
return props.row.original.do_number
|
||||
? props.row.original.do_number
|
||||
: props.row.original.so_number;
|
||||
},
|
||||
},
|
||||
{
|
||||
accessorKey: 'so_date',
|
||||
@@ -408,7 +413,7 @@ const MarketingTable = () => {
|
||||
: approval?.step_number == 2
|
||||
? 'info'
|
||||
: approval?.step_number == 3
|
||||
? 'warning'
|
||||
? 'success'
|
||||
: 'neutral'
|
||||
: 'neutral'
|
||||
}
|
||||
|
||||
+2
@@ -17,6 +17,8 @@ export type BaseMarketing = {
|
||||
status?: string;
|
||||
so_number: string;
|
||||
so_date: string;
|
||||
do_number?: string;
|
||||
do_date?: string;
|
||||
customer: Customer;
|
||||
sales_person: CreatedUser;
|
||||
notes: string;
|
||||
|
||||
Reference in New Issue
Block a user