From de66fb2852f54fe9475ab45bfcdd321695b1f603 Mon Sep 17 00:00:00 2001 From: cp6 Date: Fri, 18 Aug 2023 19:26:00 +1000 Subject: [PATCH] Fixed spelling mistake in array key --- app/Http/Controllers/HomeController.php | 2 +- app/Models/Home.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index c7d5002..64c900f 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -59,7 +59,7 @@ class HomeController extends Controller 'total_services' => $service_count['total'], 'total_inactive' => $pricing_breakdown['inactive_count'], 'total_cost_weekly' => number_format($pricing_breakdown['total_cost_weekly'], 2), - 'total_cost_monthly' => number_format($pricing_breakdown['total_cost_montly'], 2), + 'total_cost_monthly' => number_format($pricing_breakdown['total_cost_monthly'], 2), 'total_cost_yearly' => number_format($pricing_breakdown['total_cost_yearly'], 2), 'total_cost_2_yearly' => number_format(($pricing_breakdown['total_cost_yearly'] * 2), 2), 'due_soon' => $due_soon, diff --git a/app/Models/Home.php b/app/Models/Home.php index 14380bf..d54e430 100644 --- a/app/Models/Home.php +++ b/app/Models/Home.php @@ -163,7 +163,7 @@ class Home extends Model return array( 'total_cost_weekly' => $total_cost_weekly, - 'total_cost_montly' => $total_cost_pm, + 'total_cost_monthly' => $total_cost_pm, 'total_cost_yearly' => $total_cost_yearly, 'inactive_count' => $inactive_count, );