diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.php index df002f2680..d06a566ac2 100644 --- a/app/Repositories/Bill/BillRepository.php +++ b/app/Repositories/Bill/BillRepository.php @@ -134,7 +134,7 @@ class BillRepository implements BillRepositoryInterface ->whereIn('bill_id', $ids) ->before($end) ->after($start) - ->groupBy('transaction_journals.bill_id') + ->groupBy(['transaction_journals.bill_id','transaction_journals.id']) ->get( [ 'transaction_journals.bill_id',