From fe1fb3f6c496a51967fa2e08542eae40ee8bfe1c Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 10 Jul 2026 22:02:46 +0200 Subject: [PATCH] Fix lint issue --- app/Http/Controllers/Bill/IndexController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Bill/IndexController.php b/app/Http/Controllers/Bill/IndexController.php index 18819476e5..dd9b453fb6 100644 --- a/app/Http/Controllers/Bill/IndexController.php +++ b/app/Http/Controllers/Bill/IndexController.php @@ -256,7 +256,7 @@ final class IndexController extends Controller // #12468 the count does not need to subtract paid_dates, that is already accounted for. //$count = count($bill['pay_dates']) - count($bill['paid_dates']); $count = count($bill['pay_dates']); - if ($count > 0) { +// if ($count > 0) { $avg = bcdiv(bcadd((string) $bill['amount_min'], (string) $bill['amount_max']), '2'); $avg = bcmul($avg, (string) $count); $sums[$groupOrder][$currencyId]['total_left_to_pay'] = bcadd($sums[$groupOrder][$currencyId]['total_left_to_pay'], $avg); @@ -268,7 +268,7 @@ final class IndexController extends Controller ), $bill['pay_dates'] ); - } +// } } }