From 685afb3bcce0952f242b399edcd80095ea280141 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Tue, 28 Jan 2025 16:57:33 +0330 Subject: [PATCH] fixed 5 rate bug --- app/Http/Controllers/ClientController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ClientController.php b/app/Http/Controllers/ClientController.php index 401e04f..b85c03c 100644 --- a/app/Http/Controllers/ClientController.php +++ b/app/Http/Controllers/ClientController.php @@ -846,7 +846,7 @@ class ClientController extends Controller } else { $rate = new Rate(); } - if ($rt > 0 && $rt < 5) { + if ($rt > 0 && $rt <= 5) { $rate->rater_type = Customer::class; $rate->rater_id = auth('customer')->id(); $rate->rateable_type = $request->rateable_type;