mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-26 00:05:45 +00:00
refactor(FE): Update table columns and improve UI for Project Flock
pages
This commit is contained in:
@@ -191,13 +191,6 @@ const ProjectFlockClosingForm = ({
|
||||
isResponseSuccess(closingData) ? closingData.data?.expenses : []
|
||||
}
|
||||
columns={[
|
||||
{
|
||||
header: 'PO Number',
|
||||
accessorKey: 'po_number',
|
||||
cell(props) {
|
||||
return props.row.original.po_number || '-';
|
||||
},
|
||||
},
|
||||
{
|
||||
header: 'Ref Number',
|
||||
accessorKey: 'reference_number',
|
||||
@@ -205,9 +198,19 @@ const ProjectFlockClosingForm = ({
|
||||
return props.row.original.reference_number || '-';
|
||||
},
|
||||
},
|
||||
{
|
||||
header: 'PO Number',
|
||||
accessorKey: 'po_number',
|
||||
cell(props) {
|
||||
return props.row.original.po_number || '-';
|
||||
},
|
||||
},
|
||||
{
|
||||
header: 'Total',
|
||||
accessorKey: 'total',
|
||||
cell(props) {
|
||||
return formatNumber(props.row.original.total);
|
||||
},
|
||||
},
|
||||
{
|
||||
header: 'Status',
|
||||
@@ -276,6 +279,9 @@ const ProjectFlockClosingForm = ({
|
||||
{
|
||||
header: 'Quantity',
|
||||
accessorKey: 'quantity',
|
||||
cell(props) {
|
||||
return formatNumber(props.row.original.quantity);
|
||||
},
|
||||
},
|
||||
{
|
||||
header: 'UOM',
|
||||
|
||||
Reference in New Issue
Block a user