Additional fields for client exports

This commit is contained in:
David Bomba 2023-09-29 06:39:28 +10:00
parent 208aa7ed36
commit ffa725a7c0
2 changed files with 5 additions and 2 deletions

View File

@ -125,7 +125,8 @@ class BaseExport
"contact_custom_value2" => "contact.custom_value2",
"contact_custom_value3" => "contact.custom_value3",
"contact_custom_value4" => "contact.custom_value4",
'payment_balance' => 'client.payment_balance',
'credit_balance' => 'client.credit_balance',
];
protected array $invoice_report_keys = [

View File

@ -71,7 +71,9 @@ class ClientExport extends BaseExport
'contact_custom_value3' => 'contact.custom_value3',
'contact_custom_value4' => 'contact.custom_value4',
'email' => 'contact.email',
'status' => 'status'
'status' => 'status',
'payment_balance' => 'client.payment_balance',
'credit_balance' => 'client.credit_balance',
];
public function __construct(Company $company, array $input)