mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for tests
This commit is contained in:
parent
8b400020ce
commit
a33b12b28d
@ -44,8 +44,8 @@ class CreditExport extends BaseExport
|
|||||||
$headerdisplay = $this->buildHeader();
|
$headerdisplay = $this->buildHeader();
|
||||||
|
|
||||||
$header = collect($this->input['report_keys'])->map(function ($key, $value) use($headerdisplay){
|
$header = collect($this->input['report_keys'])->map(function ($key, $value) use($headerdisplay){
|
||||||
return ['identifier' => $value, 'display_value' => $headerdisplay[$key]];
|
return ['identifier' => $value, 'display_value' => $headerdisplay[$value]];
|
||||||
})->toArray();
|
})->toArray();
|
||||||
|
|
||||||
$report = $query->cursor()
|
$report = $query->cursor()
|
||||||
->map(function ($credit) {
|
->map(function ($credit) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user