From 1ddd8a3e72495efe1b1278014958b6c7bfeaac38 Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Sat, 28 Nov 2020 21:31:11 +0200 Subject: [PATCH] Fix: currency_code in Customers&Vendors Table. --- client/src/containers/Customers/CustomerTable.js | 5 +++-- client/src/containers/Vendors/VendorsTable.js | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/containers/Customers/CustomerTable.js b/client/src/containers/Customers/CustomerTable.js index e8595d6a8..87158ad16 100644 --- a/client/src/containers/Customers/CustomerTable.js +++ b/client/src/containers/Customers/CustomerTable.js @@ -137,7 +137,9 @@ const CustomerTable = ({ { id: 'receivable_balance', Header: formatMessage({ id: 'receivable_balance' }), - accessor: (r) => , + accessor: (r) => ( + + ), className: 'receivable_balance', width: 100, }, @@ -189,7 +191,6 @@ const CustomerTable = ({ customersCurrentViewId === -1, customers.length === 0, ].every((condition) => condition === true); - return (
diff --git a/client/src/containers/Vendors/VendorsTable.js b/client/src/containers/Vendors/VendorsTable.js index e35676940..9720faee9 100644 --- a/client/src/containers/Vendors/VendorsTable.js +++ b/client/src/containers/Vendors/VendorsTable.js @@ -136,7 +136,9 @@ function VendorsTable({ { id: 'receivable_balance', Header: formatMessage({ id: 'receivable_balance' }), - accessor: (r) => , + accessor: (r) => ( + + ), className: 'receivable_balance', width: 100, },