update transaction history in full name customer column
This commit is contained in:
@ -153,10 +153,10 @@ const TransactionProvider = ({ children }: { children: React.ReactNode }) => {
|
||||
},
|
||||
{
|
||||
accessorFn: (row) => {
|
||||
const purchase = row?.purchase?.destination_customer?.fullname;
|
||||
const transfer = row?.transfer?.destination_customer?.fullname;
|
||||
const purchase = "T-PAY";
|
||||
const transfer = row?.transfer.destination_name;
|
||||
|
||||
return purchase ?? transfer ?? "";
|
||||
return purchase ?? transfer;
|
||||
},
|
||||
id: 'destination_customer.fullname',
|
||||
header: ({ column }) => (
|
||||
|
||||
Reference in New Issue
Block a user