mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
fix(FE): fixing negative value in index table
This commit is contained in:
@@ -416,7 +416,8 @@ const FinanceTable = () => {
|
||||
},
|
||||
{
|
||||
header: 'Pemasukan (Rp)',
|
||||
accessorFn: (finance: Finance) => formatCurrency(finance.income_amount),
|
||||
accessorFn: (finance: Finance) =>
|
||||
formatCurrency(Math.abs(finance.income_amount)),
|
||||
},
|
||||
{
|
||||
header: 'Aksi',
|
||||
|
||||
Reference in New Issue
Block a user