mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-15 09:14:38 -04:00
Fixes for all var export
This commit is contained in:
parent
d9e482f5b7
commit
cb5bf6aff7
@ -131,7 +131,11 @@ class CreditExport extends BaseExport
|
|||||||
$t->replace(Ninja::transformTranslations($this->company->settings));
|
$t->replace(Ninja::transformTranslations($this->company->settings));
|
||||||
|
|
||||||
if (count($this->input['report_keys']) == 0) {
|
if (count($this->input['report_keys']) == 0) {
|
||||||
$this->input['report_keys'] = array_values($this->entity_keys);
|
|
||||||
|
$this->input['report_keys'] = collect(array_values($this->entity_keys))->map(function ($value){
|
||||||
|
return 'credit.'.$value;
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = Credit::query()
|
$query = Credit::query()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user