Fix :Estimate & Invoices & Receipt DataTable

This commit is contained in:
elforjani3
2020-08-13 14:50:45 +02:00
parent 6a18888599
commit 5384fa2fb5
3 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ function EstimatesDataTable({
{
id: 'customer_id',
Header: formatMessage({ id: 'customer_name' }),
accessor: (row) => row.customer_id,
accessor: 'customer.display_name',
width: 140,
className: 'customer_id',
},

View File

@@ -131,7 +131,7 @@ function InvoicesDataTable({
{
id: 'customer_id',
Header: formatMessage({ id: 'customer_name' }),
accessor: (row) => row.customer_id,
accessor: 'customer.display_name',
width: 140,
className: 'customer_id',
},

View File

@@ -130,7 +130,7 @@ function ReceiptsDataTable({
{
id: 'customer_id',
Header: formatMessage({ id: 'customer_name' }),
accessor: (row) => row.customer_id,
accessor: 'customer.display_name',
width: 140,
className: 'customer_id',
},