mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Small code cleanup [skip ci]
This commit is contained in:
parent
b960f50f38
commit
8f5152e185
@ -329,8 +329,7 @@ class VerifyDatabase extends Command
|
|||||||
*/
|
*/
|
||||||
private function reportTransfersBudgets()
|
private function reportTransfersBudgets()
|
||||||
{
|
{
|
||||||
$set = TransactionJournal
|
$set = TransactionJournal::distinct()
|
||||||
::distinct()
|
|
||||||
->leftJoin('transaction_types', 'transaction_types.id', '=', 'transaction_journals.transaction_type_id')
|
->leftJoin('transaction_types', 'transaction_types.id', '=', 'transaction_journals.transaction_type_id')
|
||||||
->leftJoin('budget_transaction_journal', 'transaction_journals.id', '=', 'budget_transaction_journal.transaction_journal_id')
|
->leftJoin('budget_transaction_journal', 'transaction_journals.id', '=', 'budget_transaction_journal.transaction_journal_id')
|
||||||
->where('transaction_types.type', TransactionType::TRANSFER)
|
->where('transaction_types.type', TransactionType::TRANSFER)
|
||||||
|
@ -80,7 +80,6 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
|||||||
|
|
||||||
$reportType = 'audit';
|
$reportType = 'audit';
|
||||||
$accountIds = join(',', $this->accounts->pluck('id')->toArray());
|
$accountIds = join(',', $this->accounts->pluck('id')->toArray());
|
||||||
|
|
||||||
$hideable = ['buttons', 'icon', 'description', 'balance_before', 'amount', 'balance_after', 'date',
|
$hideable = ['buttons', 'icon', 'description', 'balance_before', 'amount', 'balance_after', 'date',
|
||||||
'interest_date', 'book_date', 'process_date',
|
'interest_date', 'book_date', 'process_date',
|
||||||
// three new optional fields.
|
// three new optional fields.
|
||||||
|
Loading…
Reference in New Issue
Block a user