mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 11:04:41 -04:00
Bug fixes
This commit is contained in:
parent
46d342fa63
commit
c991cde22d
@ -66,7 +66,7 @@ class ExpenseReport extends AbstractReport
|
|||||||
$expenses = Expense::scope()
|
$expenses = Expense::scope()
|
||||||
->orderBy('expense_date', 'desc')
|
->orderBy('expense_date', 'desc')
|
||||||
->withArchived()
|
->withArchived()
|
||||||
->with('client.contacts', 'vendor', 'expense_category', 'user', 'payment_type')
|
->with('client.contacts', 'vendor', 'expense_category', 'user')
|
||||||
->where('expense_date', '>=', $this->startDate)
|
->where('expense_date', '>=', $this->startDate)
|
||||||
->where('expense_date', '<=', $this->endDate);
|
->where('expense_date', '<=', $this->endDate);
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ class ExpenseReport extends AbstractReport
|
|||||||
$expense->private_notes,
|
$expense->private_notes,
|
||||||
$expense->user->getDisplayName(),
|
$expense->user->getDisplayName(),
|
||||||
$expense->present()->payment_date(),
|
$expense->present()->payment_date(),
|
||||||
$expense->payment_type_id ? $expense->payment_type->name : '',
|
$expense->present()->payment_type(),
|
||||||
$expense->transaction_reference,
|
$expense->transaction_reference,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user