mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
fix(FE): fixing closing overhead
This commit is contained in:
@@ -96,13 +96,10 @@ const ClosingOverheadTable = ({
|
||||
{
|
||||
id: 'budget_total_amount',
|
||||
header: 'Total',
|
||||
accessorFn: (props) =>
|
||||
props.budget_total_amount
|
||||
? formatCurrency(props.budget_total_amount)
|
||||
: '-',
|
||||
accessorFn: (props) => formatCurrency(props.budget_total_amount),
|
||||
footer: total
|
||||
? () => formatCurrency(total.budget_total_amount)
|
||||
: '',
|
||||
: '0',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -121,7 +118,7 @@ const ClosingOverheadTable = ({
|
||||
id: 'actual_quantity',
|
||||
header: 'Jumlah',
|
||||
accessorFn: (props) => formatNumber(props.actual_quantity),
|
||||
footer: total ? () => formatNumber(total.actual_quantity) : '',
|
||||
footer: total ? () => formatNumber(total.actual_quantity) : '0',
|
||||
},
|
||||
{
|
||||
id: 'actual_unit_price',
|
||||
@@ -135,7 +132,7 @@ const ClosingOverheadTable = ({
|
||||
accessorFn: (props) => formatCurrency(props.actual_total_amount),
|
||||
footer: total
|
||||
? () => formatCurrency(total.actual_total_amount)
|
||||
: '',
|
||||
: '0',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user