scope added #2znd43c

This commit is contained in:
Sevan Nerse
2022-06-02 00:50:48 +03:00
parent c9cc1fed89
commit ffe445d0f3
2 changed files with 11 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Transactions extends Controller
*/
public function index()
{
$transactions = Transaction::with('account', 'category', 'contact')->isNotRecurring()->collect(['paid_at'=> 'desc']);
$transactions = Transaction::with('account', 'category', 'contact')->isNotRecurring()->isNotSplit()->collect(['paid_at'=> 'desc']);
$totals = [
'income' => 0,