Updated the table
This commit is contained in:
@@ -618,8 +618,7 @@ export default function PaymentRecord() {
|
|||||||
id: "agentValue",
|
id: "agentValue",
|
||||||
cell: (info) => {
|
cell: (info) => {
|
||||||
const {value} = columHelperValue(info.column.id, info);
|
const {value} = columHelperValue(info.column.id, info);
|
||||||
const currency = CURRENCIES.find((x) => x.currency === info.row.original.currency)?.label;
|
const finalValue = `${value} ${info.row.original.currency}`;
|
||||||
const finalValue = `${value} ${currency}`;
|
|
||||||
return <span>{finalValue}</span>;
|
return <span>{finalValue}</span>;
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user