Differentiate new and under warranty service types

This commit is contained in:
Kendrick Chan 2018-01-17 16:14:06 +08:00
parent 53292697a2
commit 645b781858

View file

@ -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',