From a55d093dcee490812899805570c1a5befe2f8bef Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Fri, 15 Nov 2019 09:16:30 +0800 Subject: [PATCH] Add warranty class to popapp comparison report #273 --- src/Controller/ReportController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/ReportController.php b/src/Controller/ReportController.php index e06d1711..8558de79 100644 --- a/src/Controller/ReportController.php +++ b/src/Controller/ReportController.php @@ -474,6 +474,7 @@ class ReportController extends Controller 'Plate Number', 'Warranty Create Date', 'Activation Status', + 'Warranty Class', 'Has Mobile App?', 'Date Mobile App Downloaded', 'Mobile Number Using Mobile App', @@ -665,6 +666,7 @@ class ReportController extends Controller $results[$key]['warr_firstname'] = $warranty->getFirstName(); $results[$key]['warr_date_create'] = $warranty->getDateCreate()->format("d M Y"); $results[$key]['warr_activation_status'] = ($warranty->isActivated() ? 'Active' : 'Inactive'); + $results[$key]['warr_class'] = $warranty->getWarrantyClass(); } } }