mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #8891 from beganovich/fixes-for-client-export
Align client export with rest of code
This commit is contained in:
commit
5eecc7bb57
@ -189,7 +189,7 @@ class ClientExport extends BaseExport
|
||||
$clean_row[$key]['id'] = $report_keys[1] ?? $report_keys[0];
|
||||
$clean_row[$key]['hashed_id'] = $report_keys[0] == 'client' ? null : $resource->{$report_keys[0]}->hashed_id ?? null;
|
||||
$clean_row[$key]['value'] = $row[$column_key];
|
||||
$clean_row[$key]['identifier'] = $key;
|
||||
$clean_row[$key]['identifier'] = $value;
|
||||
|
||||
if(in_array($clean_row[$key]['id'], ['paid_to_date', 'balance', 'credit_balance','payment_balance']))
|
||||
$clean_row[$key]['display_value'] = Number::formatMoney($row[$column_key], $resource);
|
||||
|
Loading…
x
Reference in New Issue
Block a user