From: Steve Sutton Date: Thu, 19 Apr 2018 15:17:34 +0000 (-0400) Subject: Updating the service request form X-Git-Tag: v1.0.11^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cedb961519edb4a01f73d5f05d99e25cae370bd2;p=web%2FCedarvilleMarine.git Updating the service request form Updates from client request. --- diff --git a/Toolkit/Contacts/ServiceRequest.php b/Toolkit/Contacts/ServiceRequest.php index eb3164e..01043c9 100755 --- a/Toolkit/Contacts/ServiceRequest.php +++ b/Toolkit/Contacts/ServiceRequest.php @@ -199,56 +199,56 @@ class Toolkit_Contacts_ServiceRequest 'name' => 'mobile_phone', 'display' => 'Mobile Phone' ); - $e[] = array( - 'type' => 'email', - 'req' => true, - 'name' => 'email', - 'display' => 'Email' - ); - $e[] = array( - 'type' => 'email', - 'req' => true, - 'name' => 'email_rmv', - 'display' => 'Verify Email' - ); - if ($this->tableName == 'customer') { - $add1 = 'add1'; - $add2 = 'add2'; - } else { - $add1 = 'address'; - $add2 = 'address2'; - } - $e[] = array( - 'type' => 'text', - 'req' => true, - 'name' => $add1, - 'display' => 'Address 1' - ); - $e[] = array( - 'type' => 'text', - 'req' => false, - 'name' => $add2, - 'display' => 'Address 2' - ); - $e[] = array( - 'type' => 'text', - 'req' => true, - 'name' => 'city', - 'display' => 'City' - ); - $e[] = array( - 'type' => 'select', - 'req' => true, - 'name' => 'state', - 'display' => 'State/Province', - 'opts' => $GLOBALS['states'] - ); - $e[] = array( - 'type' => 'text', - 'req' => true, - 'name' => 'zip', - 'display' => 'ZIP/Postal Code' - ); + // $e[] = array( + // 'type' => 'email', + // 'req' => true, + // 'name' => 'email', + // 'display' => 'Email' + // ); + // $e[] = array( + // 'type' => 'email', + // 'req' => true, + // 'name' => 'email_rmv', + // 'display' => 'Verify Email' + // ); + // if ($this->tableName == 'customer') { + // $add1 = 'add1'; + // $add2 = 'add2'; + // } else { + // $add1 = 'address'; + // $add2 = 'address2'; + // } + // $e[] = array( + // 'type' => 'text', + // 'req' => true, + // 'name' => $add1, + // 'display' => 'Address 1' + // ); + // $e[] = array( + // 'type' => 'text', + // 'req' => false, + // 'name' => $add2, + // 'display' => 'Address 2' + // ); + // $e[] = array( + // 'type' => 'text', + // 'req' => true, + // 'name' => 'city', + // 'display' => 'City' + // ); + // $e[] = array( + // 'type' => 'select', + // 'req' => true, + // 'name' => 'state', + // 'display' => 'State/Province', + // 'opts' => $GLOBALS['states'] + // ); + // $e[] = array( + // 'type' => 'text', + // 'req' => true, + // 'name' => 'zip', + // 'display' => 'ZIP/Postal Code' + // ); $e[] = array( 'type' => 'text', 'req' => true, @@ -312,132 +312,100 @@ class Toolkit_Contacts_ServiceRequest 'display' => 'Desired Completion Date' ); $workTypes = array( - 'Cleaning & Upkeep' => array( + '
Boat
' => array( array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Wash & Vacuum', - 'opts' => 'Wash & Vacuum' + 'name' => 'Basic Clean', + 'opts' => '
Basic Clean - Wash exterior, wipe seats / dash, and vacuum main footprint of floor. Billing at $49.00 / hr.
', ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Deck & Hull Wax Only', - 'opts' => 'Deck & Hull Wax Only' + 'name' => 'Detailed Clean', + 'opts' => '
Detailed Clean - Wash exterior, wipe complete interior of boat, clean seats (including use of mildew remover if necessary), apply 303 vinyl protectant, wash windows, and completely vacuum. Billing at $55.00 / hr.
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Paint Bottom (with anti-fouling paint)', - 'opts' => 'Paint Bottom (with anti-fouling paint)' + 'name' => 'Boat Wax', + 'opts' => '
Boat Wax - Full exterior wax on flat surfaces - may by coupled with cleaning. Billed at $55.00 / hr.
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Clear & Oil Teak', - 'opts' => 'Clear & Oil Teak' + 'name' => 'Inspection', + 'opts' => '
Inspection - Check (and replace as needed) lights, bilge pump, blower, fire extinguisher, horn, and dock lines. Dock lines will only be replaced if chaffed or frayed.
' ), - array( - 'type' => 'checkbox', - 'req' => false, - 'name' => 'Repair Navigation Lights, Blower, bilge pump, etc. (please specify below)', - 'opts' => 'Repair Navigation Lights, Blower, bilge pump, etc. (please specify below)' - ), - array( - 'type' => 'checkbox', - 'req' => false, - 'name' => 'Check Fire Extinguisher & Replace if Necessary', - 'opts' => 'Check Fire Extinguisher & Replace if Necessary' - ), - array( - 'type' => 'checkbox', - 'req' => false, - 'name' => 'Detail Cabin (Larger Vessels)', - 'opts' => 'Detail Cabin (Larger Vessels)' - ) ), - 'Engine' => array( + '
Engine Care
' => array( array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Basic Check (Hoses, Steering, Battery, Fuel Tanks, etc.)', - 'opts' => 'Basic Check (Hoses, Steering, Battery, Fuel Tanks, etc.)' + 'name' => 'General Check', + 'opts' => '
General Check - Remove boat from storage, fully charge batter (or replace if battery won\'t hold charge), + inspect water / fuel hoses, inspect electrical component connections, test trim, check fluid levels (top-off if necessary), + and conduct out-of-water test run. Note: This item applies only to outboards and sterndrives.
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Complete Ignition Tune-Up (Cap, Rotor, Plugs & Wires - if necessary)', - 'opts' => 'Complete Ignition Tune-Up (Cap, Rotor, Plugs & Wires - if necessary)' + 'name' => 'Oil Change', + 'opts' => '
Oil Change - Change oil, filter, and water separator (if applicable).
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Change Engine Oil & Filter (and water separator if necessary)', - 'opts' => 'Change Engine Oil & Filter (and water separator if necessary)' + 'name' => 'Engine Tune', + 'opts' => '
Engine Tune - Replace cap, rotor, plugs, and wires as needed. Note: Plugs may be only replacement item on newer outboards due to absence of cap & rotor.
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Extensive Test run (15 to 20 minutes)', - 'opts' => 'Extensive Test run (15 to 20 minutes)' + 'name' => 'Launch & Test', + 'opts' => '
Launch & Test - Launch boat, briefly test-run, and fill with gas / oil. Note: Unless instructed otherwise, gas tank will only be filled if gauge reads below 3/4.
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Fuel Injection Cleaning (Applies to both outboard & sterndrive EFI motors)', - 'opts' => 'Fuel Injection Cleaning (Applies to both outboard & sterndrive EFI motors)', + 'name' => 'Fuel Injection', + 'opts' => '
Fuel Injection - Completely clean fuel injection system on applicable sterndrives and outboard motors.
', ), ), - 'Outdrive & Gearcase' => array( + '
Outdrive & Gearcase
' => array( array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Lube U-Joints', - 'opts' => 'Lube U-Joints' + 'name' => 'Water Pump', + 'opts' => '
Water Pump - Replacement is recommended every 2 years or 100 hours (whichever comes first).
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Change Water impellor', - 'opts' => 'Change Water impellor' - ), - array( - 'type' => 'checkbox', - 'req' => false, - 'name' => 'Check Trim & Tilt', - 'opts' => 'Check Trim & Tilt' - ), - array( - 'type' => 'checkbox', - 'req' => false, - 'name' => 'Check Boots', - 'opts' => 'Check Boots' + 'name' => 'General Check', + 'opts' => '
General Check - Inspect bellows for weather checking / holes, examine anodes (replace if necessary), and test trim and tilt.
' ), + ), + '
Special Services

Please note that special services must be scheduled prior to our standard two-week launch request period.
' => array( array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Weld Skeg', - 'opts' => 'Weld Skeg' + 'name' => 'Teak Care', + 'opts' => '
Teak Care - Clean teak, apply formulated brightener, and oil as necessary. Billed at $55.00 / hr.
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Replace Anodes', - 'opts' => 'Replace Anodes' + 'name' => 'Buff & Wax', + 'opts' => '
Buff & Wax - Clean exterior of boat, apply compound and buff, wash compound off, and apply wax to applicable surfaces. Billed at $55.00 / hr. Note: Typical 20\' boat requires roughly 16 hours.
' ), array( 'type' => 'checkbox', 'req' => false, - 'name' => 'Replace Upper Seals', - 'opts' => 'Replace Upper Seals' + 'name' => 'Bottom Care', + 'opts' => '
Bottom Care - Scuff sand boat bottom and apply 1 coat of antifouling paint.
' ), - array( - 'type' => 'checkbox', - 'req' => false, - 'name' => 'Replace Lower Seals', - 'opts' => 'Replace Lower Seals' - ) - ) + ), ); $this->workTypes = $workTypes; //var_dump($workTypes);exit; @@ -456,7 +424,7 @@ class Toolkit_Contacts_ServiceRequest 'type' => 'textarea', 'req' => false, 'name' => 'comments', - 'display' => 'Additional Issues, Comments or Directions' + 'display' => '
Additional Notes, & Instructions

Include any special comments for CM staff below
' ); $e[] = array( 'type' => 'CAPTCHA_Image', diff --git a/config/server.ini b/config/server.ini index 1d19cb4..a2eb7e6 100644 --- a/config/server.ini +++ b/config/server.ini @@ -184,9 +184,9 @@ database.params.host = "devdb" development = On -email.owner = "alicia@gaslightmedia.com" -email.contact = "alicia@gaslightmedia.com" -email.addEventForm = "alicia@gaslightmedia.com" +email.owner = "dev@gaslightmedia.com" +email.contact = "dev@gaslightmedia.com" +email.addEventForm = "dev@gaslightmedia.com" email.enews = Off email.visitor_guide = Off email.applicationForm = Off @@ -196,10 +196,10 @@ email.member_forgot_password_email_reply_to = Off email.giftcert = Off email.giftcert_from = Off email.giftcert_secure = Off -email.reply_to = "alicia@gaslightmedia.com" +email.reply_to = "dev@gaslightmedia.com" email.banner_reports_admin = Off email.expiring_banner_notification = Off -email.from_news = "alicia@gaslightmedia.com" +email.from_news = "dev@gaslightmedia.com" email.from_member_news = Off resources.version = "rand" diff --git a/styles.css b/styles.css index 0f4bad7..c01765a 100644 --- a/styles.css +++ b/styles.css @@ -439,7 +439,7 @@ ul#videoGallery li:hover a span.vidtitle span.play { background: #F5F5F5; border-radius: 3px; margin: 0 20px 20px 0; - + } /* .gallery li:nth-child(4n-3) { @@ -493,4 +493,10 @@ span.phototitle { } .gallery li { background-image: none !important; - } \ No newline at end of file + } +/* Contact form */ +.service-checkbox { + width: 95%; + float: right; + display: inline; +} diff --git a/templates/template.html b/templates/template.html index 5f87f2d..301ad28 100644 --- a/templates/template.html +++ b/templates/template.html @@ -6,7 +6,7 @@ {styles:h} - +