From 66fb63661f06b144f890e48f7f8062a5fd7f26ba Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 3 Oct 2015 17:53:13 +0200 Subject: [PATCH] Less journals. --- app/Repositories/Bill/BillRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.php index 2ebc3cf812..cf05afec22 100644 --- a/app/Repositories/Bill/BillRepository.php +++ b/app/Repositories/Bill/BillRepository.php @@ -154,7 +154,7 @@ class BillRepository implements BillRepositoryInterface } $journals = new Collection; if (count($ids) > 0) { - $journals = Auth::user()->transactionjournals()->whereIn('id', $ids)->get(); + $journals = Auth::user()->transactionjournals()->transactionTypes(['Withdrawal'])->whereIn('id', $ids)->get(); } return $journals;