close #238 Fixed: Transfers are incorrectly being added as income under the Dashboard

This commit is contained in:
cuneytsenturk
2018-03-06 18:26:55 +03:00
parent 7ee76220a7
commit a40f4823f5
3 changed files with 47 additions and 1 deletions

View File

@ -339,7 +339,7 @@ class Dashboard extends Controller
}
}
$items_1 = $m1::whereBetween('paid_at', [$start, $end])->get();
$items_1 = $m1::whereBetween('paid_at', [$start, $end])->isNotTransfer()->get();
$this->setCashFlowTotals($totals, $items_1, $date_format, $period);