mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
allow total columns to be customized in PDF
This commit is contained in:
parent
07e8ded6a7
commit
5daeab3895
@ -593,6 +593,19 @@ class CompanySettings extends BaseSettings
|
|||||||
'$task.tax',
|
'$task.tax',
|
||||||
'$task.line_total',
|
'$task.line_total',
|
||||||
],
|
],
|
||||||
|
'total_columns' => [
|
||||||
|
'$total_taxes',
|
||||||
|
'$line_taxes',
|
||||||
|
'$subtotal',
|
||||||
|
'$total',
|
||||||
|
'$discount',
|
||||||
|
'$custom_surcharge1',
|
||||||
|
'$custom_surcharge2',
|
||||||
|
'$custom_surcharge3',
|
||||||
|
'$custom_surcharge4',
|
||||||
|
'$paid_to_date',
|
||||||
|
'$client.balance'
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
return json_decode(json_encode($variables));
|
return json_decode(json_encode($variables));
|
||||||
|
@ -53,6 +53,7 @@ class UpdateExchangeRates implements ShouldQueue
|
|||||||
|
|
||||||
private function updateCurrencies()
|
private function updateCurrencies()
|
||||||
{
|
{
|
||||||
|
info("updating currencies");
|
||||||
|
|
||||||
if(empty(config('ninja.currency_converter_api_key')))
|
if(empty(config('ninja.currency_converter_api_key')))
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user