From a5e35dc3627a2f0f48e2020185cadb931258236b Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Mon, 25 May 2026 18:59:20 +0000 Subject: [PATCH] Admin waiver email now includes full agreement text, all acknowledgments, and signature --- waiver.php | 96 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 84 insertions(+), 12 deletions(-) diff --git a/waiver.php b/waiver.php index 109f735..8788ce3 100644 --- a/waiver.php +++ b/waiver.php @@ -46,21 +46,93 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && $booking && !$signed) { $pkg = PACKAGES[$booking['package']] ?? ['label'=>$booking['package']]; $dateLabel = date('F j, Y', strtotime($booking['rental_date'])); - $adminHtml = "
-
-

Waiver Signed — {$ref}

+ $checkLabels = [ + 'age' => 'Age & License: I am 25+ years old and hold a valid driver\'s license.', + 'insurance' => 'Insurance: I will provide proof of valid personal auto insurance at pickup.', + 'rules' => 'Vehicle Rules: I agree to operate safely, lawfully, and sober, and wear the helmet at all times.', + 'damage' => 'Damage Responsibility: I am financially responsible for any damage or fines during my rental.', + 'license' => 'License Verification: I consent to license verification at pickup.', + 'waiver' => 'Assumption of Risk: I have read and agree to the Release of Liability terms.', + ]; + $checkRows = ''; + foreach ($checkLabels as $val => $label) { + $checked = in_array($val, $checks); + $icon = $checked ? '✅' : '❌'; + $checkRows .= "{$icon}{$label}"; + } + + $adminHtml = " +
+ +
+

Rental Agreement Signed

+

Booking {$ref} — " . htmlspecialchars($booking['name']) . "

-
-

" . htmlspecialchars($booking['name']) . " signed the rental waiver for booking {$ref}.

- - - - - - + + +
+
Package" . htmlspecialchars($pkg['label']) . "
Date{$dateLabel}
Signed by" . htmlspecialchars($sigName) . "
IP" . htmlspecialchars($ip) . "
Timestamp" . date('F j, Y g:i A') . " CT
+ + + + + + +
Booking Ref{$ref}
Customer" . htmlspecialchars($booking['name']) . " <" . htmlspecialchars($booking['email']) . ">
Package" . htmlspecialchars($pkg['label']) . "
Rental Date{$dateLabel}
Signed Name" . htmlspecialchars($sigName) . "
IP Address" . htmlspecialchars($ip) . "
Timestamp" . date('F j, Y g:i:s A') . " CT
- Signature
+ + +
+

Acknowledgments Checked

+ {$checkRows}
+
+ + +
+

Full Rental Agreement

+ +

This Rental Agreement (“Agreement”) is entered into between Parker County Slingshot Rentals (“Company”) and the renter identified above (“Renter”). By signing below, Renter agrees to all terms stated herein.

+ +

Eligibility Requirements

+

Renter must be at least 25 years of age and hold a valid Class C driver’s license (or equivalent) issued by a U.S. state or territory. Renter must not have any DUI/DWI convictions within the past 5 years.

+ +

Insurance Requirement

+

Renter is required to carry and provide proof of valid personal auto insurance at the time of vehicle pickup. The Company maintains a fleet insurance policy covering the vehicle; however, Renter’s personal insurance is primary for liability arising from Renter’s operation of the vehicle. Renter accepts financial responsibility for any deductible, damages, or losses not covered by either policy.

+ +

Vehicle Use & Rules

+

Renter agrees to operate the Polaris Slingshot in a safe, lawful manner and specifically agrees to:

+
    +
  • Obey all applicable traffic laws and speed limits
  • +
  • Never operate the vehicle under the influence of alcohol, drugs, or any impairing substance
  • +
  • Never allow an unauthorized third party to operate the vehicle
  • +
  • Wear the provided DOT-approved helmet at all times while operating the vehicle
  • +
  • Not take the vehicle off paved roads or outside the approved driving area
  • +
  • Return the vehicle at the agreed-upon time and location in the same condition it was received
  • +
+ +

Damage & Security Deposit

+

A refundable security deposit is required at pickup. Renter is financially responsible for any damage to the vehicle, including but not limited to collision damage, tire damage, interior damage, and any fines or citations incurred during the rental period. The Company reserves the right to apply the security deposit toward any such costs.

+ +

Assumption of Risk & Release of Liability

+

Renter acknowledges that operating a Polaris Slingshot involves inherent risks including, but not limited to, physical injury or death. Renter voluntarily assumes all such risks and, to the fullest extent permitted by Texas law, releases and holds harmless Parker County Slingshot Rentals, its owners, employees, and agents from any and all claims, damages, or liability arising out of Renter’s use of the vehicle.

+ +

Cancellation Policy

+

Cancellations made more than 24 hours before the rental start time are fully refunded. Cancellations within 24 hours of the rental start time are subject to a 50% cancellation fee.

+
+ + +
+

Electronic Signature

+

Signed as: " . htmlspecialchars($sigName) . " — " . date('F j, Y g:i A') . " CT

+

This electronic signature was captured via the ESIGN Act-compliant form at parkerslingshot.epictravelexpeditions.com/waiver.php

+ Customer Signature +
+ +
+

© " . date('Y') . " Parker County Slingshot Rentals — Weatherford, TX — This is an automated record for your files.

+
+
"; $custHtml = "