From 645b781858ac7e85c8fb12cbf686c98afbfc9f63 Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Wed, 17 Jan 2018 16:14:06 +0800 Subject: [PATCH 1/2] Differentiate new and under warranty service types --- src/Ramcar/ServiceType.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Ramcar/ServiceType.php b/src/Ramcar/ServiceType.php index 0eb92229..f349da21 100644 --- a/src/Ramcar/ServiceType.php +++ b/src/Ramcar/ServiceType.php @@ -4,13 +4,15 @@ namespace App\Ramcar; class ServiceType { - const BATTERY_REPLACEMENT = 'battery'; - const TIRE_REPAIR = 'tire'; - const OVERHEAT_ASSITANCE = 'overheat'; - const EMERGENCY_REFUEL = 'fuel'; + const BATTERY_REPLACEMENT_NEW = 'battery_new'; + const BATTERY_REPLACEMENT_WARRANTY = 'battery_warranty'; + const TIRE_REPAIR = 'tire'; + const OVERHEAT_ASSITANCE = 'overheat'; + const EMERGENCY_REFUEL = 'fuel'; const COLLECTION = [ - 'battery' => 'Battery Replacement', + 'battery_new' => 'Battery Replacement (New)', + 'battery_warranty' => 'Battery Replacement (Under Warranty)', 'tire' => 'Tire Repair', 'overheat' => 'Overheat Assistance', 'fuel' => 'Emergency Refuel', From ec04cad9ef51ebcea031894dba68579391da8ac3 Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Wed, 17 Jan 2018 16:15:38 +0800 Subject: [PATCH 2/2] Improve role form panel size style --- templates/role/form.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/role/form.html.twig b/templates/role/form.html.twig index 01e4e7ac..c5b2f519 100644 --- a/templates/role/form.html.twig +++ b/templates/role/form.html.twig @@ -13,7 +13,7 @@
-
+