From 4f73ba0294e353ba63d5fc3b9d79788351b0a266 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 2 May 2014 15:47:01 +0000 Subject: [PATCH] Update Service Form Add the work requested select --- Toolkit/Contacts/ServiceRequest.php | 42 ++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/Toolkit/Contacts/ServiceRequest.php b/Toolkit/Contacts/ServiceRequest.php index 614b6bb..9002324 100755 --- a/Toolkit/Contacts/ServiceRequest.php +++ b/Toolkit/Contacts/ServiceRequest.php @@ -257,7 +257,7 @@ class Toolkit_Contacts_ServiceRequest '' => 'Select Engine Type', 'group1' => 'Outboard', 'Mercury' => 'Mercury', - 'Evinrude_Johnson' => 'Evinrude / Johnson', + 'Evinrude / Johnson' => 'Evinrude / Johnson', 'group2' => 'Stern Drive', 'Mercruiser' => 'Mercruiser', 'group3' => 'Sail Boats', @@ -273,9 +273,11 @@ class Toolkit_Contacts_ServiceRequest $serTypes = array( '' => '', 'group1' => 'Yes', - 'arDate' => 'Anticipated Arrival Date', + 'Anticipated Arrival Date' => 'Anticipated Arrival Date', 'group2' => 'No', - 'arDate' => 'Anticipated Arrival Date', + 'Date vessel will be delivered to CM facility' + => 'Date vessel will be delivered to CM facility', + 'Desired Completion Date' => 'Desired Completion Date', ); $e[] = array( 'type' => 'select3', @@ -284,12 +286,44 @@ class Toolkit_Contacts_ServiceRequest 'display' => 'Are you also requesting launch service?', 'opts' => $serTypes ); + $workTypes = array( + '' => '', + 'group1' => 'Cleaning and Upkeep', + 'Wash & Vacuum' => 'Wash & Vacuum', + 'Deck & Hull Wax Only' => 'Deck & Hull Wax Only', + 'Paint Bottom (with anti-fouling paint)' + => 'Paint Bottom (with anti-fouling paint)', + 'Clear & Oil Teak' => 'Clear & Oil Teak', + 'Repair Navigation Lights, Blower, bilge pump, etc. (please specify below)' + => 'Repair Navigation Lights, Blower, bilge pump, etc. (please specify below)', + 'Check Fire Extinguisher & Replace if Necessary' + => 'Check Fire Extinguisher & Replace if Necessary', + 'Detail Cabin (Larger Vessels)' => 'Detail Cabin (Larger Vessels)', + 'group2' => 'Engine', + 'Basic Check (Hoses, Steering, Battery, Fuel Tanks, etc.)' + => 'Basic Check (Hoses, Steering, Battery, Fuel Tanks, etc.)', + 'Complete Ignition Tune-Up (Cap, Rotor, Plugs & Wires - if necessary)' + => 'Complete Ignition Tune-Up (Cap, Rotor, Plugs & Wires - if necessary)', + 'Change Engine Oil & Filter (and water separator if necessary)' + => 'Change Engine Oil & Filter (and water separator if necessary)', + 'Extensive Test run (15 to 20 minutes)' + => 'Extensive Test run (15 to 20 minutes)', + 'group2' => 'Outdrive & Gearcase', + 'Lube U-Joints' => 'Lube U-Joints', + 'Change Water impellor' => 'Change Water impellor', + 'Check Trim & Tilt' => 'Check Trim & Tilt', + 'Check Boots' => 'Check Boots', + 'Weld Skeg' => 'Weld Skeg', + 'Replace Anodes' => 'Replace Anodes', + 'Replace Upper Seals' => 'Replace Upper Seals', + 'Replace Lower Seals' => 'Replace Lower Seals', + ); $e[] = array( 'type' => 'select3', 'req' => true, 'name' => 'work_requested', 'display' => 'Work Requested', - 'opts' => $groupSelect + 'opts' => $workTypes ); //if ($this->hasContactDB) { //$e[] = array( -- 2.17.1