added custom transaction types
This commit is contained in:
@ -138,7 +138,7 @@ class CashFlow extends Widget
|
||||
}
|
||||
}
|
||||
|
||||
$items = $this->applyFilters(Transaction::type($type)->whereBetween('paid_at', [$start, $end])->isNotTransfer())->get();
|
||||
$items = $this->applyFilters(Transaction::$type()->whereBetween('paid_at', [$start, $end])->isNotTransfer())->get();
|
||||
|
||||
$this->setTotals($totals, $items, $date_format, $period);
|
||||
|
||||
|
Reference in New Issue
Block a user