mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add client currency as default props
This commit is contained in:
parent
53d1c55acf
commit
1b66a42578
@ -134,6 +134,7 @@ class BaseExport
|
||||
|
||||
protected array $invoice_report_keys = [
|
||||
'name' => 'client.name',
|
||||
"currency" => "client.currency_id",
|
||||
"invoice_number" => "invoice.number",
|
||||
"amount" => "invoice.amount",
|
||||
"balance" => "invoice.balance",
|
||||
@ -174,6 +175,8 @@ class BaseExport
|
||||
];
|
||||
|
||||
protected array $recurring_invoice_report_keys = [
|
||||
'name' => 'client.name',
|
||||
"currency" => "client.currency_id",
|
||||
"invoice_number" => "recurring_invoice.number",
|
||||
"amount" => "recurring_invoice.amount",
|
||||
"balance" => "recurring_invoice.balance",
|
||||
@ -298,6 +301,8 @@ class BaseExport
|
||||
];
|
||||
|
||||
protected array $quote_report_keys = [
|
||||
'name' => 'client.name',
|
||||
"currency" => "client.currency_id",
|
||||
'custom_value1' => 'quote.custom_value1',
|
||||
'custom_value2' => 'quote.custom_value2',
|
||||
'custom_value3' => 'quote.custom_value3',
|
||||
@ -336,6 +341,8 @@ class BaseExport
|
||||
];
|
||||
|
||||
protected array $credit_report_keys = [
|
||||
'name' => 'client.name',
|
||||
"currency" => "client.currency_id",
|
||||
"credit_number" => "credit.number",
|
||||
"amount" => "credit.amount",
|
||||
"balance" => "credit.balance",
|
||||
@ -368,6 +375,7 @@ class BaseExport
|
||||
];
|
||||
|
||||
protected array $payment_report_keys = [
|
||||
'name' => 'client.name',
|
||||
"date" => "payment.date",
|
||||
"amount" => "payment.amount",
|
||||
"refunded" => "payment.refunded",
|
||||
@ -385,7 +393,6 @@ class BaseExport
|
||||
"custom_value4" => "payment.custom_value4",
|
||||
"user" => "payment.user_id",
|
||||
"assigned_user" => "payment.assigned_user_id",
|
||||
|
||||
];
|
||||
|
||||
protected array $expense_report_keys = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user