fix setting and add rental policies
Test / Type Check (all packages) (push) Has been cancelled
Test / API Unit Tests (push) Has been cancelled
Test / Homepage Unit Tests (push) Has been cancelled
Test / Carplace Unit Tests (push) Has been cancelled
Test / Admin Unit Tests (push) Has been cancelled
Test / Dashboard Unit Tests (push) Has been cancelled
Test / API Integration Tests (push) Has been cancelled
Build & Push / Pipeline Tests (push) Waiting to run
Build & Push / Build & Push Docker Image (push) Blocked by required conditions
Test / Type Check (all packages) (push) Has been cancelled
Test / API Unit Tests (push) Has been cancelled
Test / Homepage Unit Tests (push) Has been cancelled
Test / Carplace Unit Tests (push) Has been cancelled
Test / Admin Unit Tests (push) Has been cancelled
Test / Dashboard Unit Tests (push) Has been cancelled
Test / API Integration Tests (push) Has been cancelled
Build & Push / Pipeline Tests (push) Waiting to run
Build & Push / Build & Push Docker Image (push) Blocked by required conditions
This commit is contained in:
+76
@@ -0,0 +1,76 @@
|
||||
ALTER TABLE "contract_settings"
|
||||
ALTER COLUMN "fuelPolicy" SET DEFAULT 'The vehicle will be provided with the fuel level recorded on the rental agreement. The renter must return the vehicle with the same fuel level.
|
||||
|
||||
If the vehicle is returned with less fuel, the renter will be charged for the missing fuel at the applicable refueling rate, plus any configured refueling service fee. Fuel charges are based on the vehicle fuel gauge and the level recorded at the start and end of the rental.
|
||||
|
||||
Fuel purchased during the rental is the renter responsibility and is not refundable. The renter should retain fuel receipts until the vehicle has been returned and the rental agreement has been closed.
|
||||
|
||||
The renter must use the correct fuel type specified for the vehicle. Any damage caused by using the wrong fuel will be charged to the renter.',
|
||||
ALTER COLUMN "damagePolicy" SET DEFAULT 'The renter is responsible for inspecting the vehicle at collection and confirming that all existing damage is recorded on the rental agreement or vehicle condition report. Any unrecorded damage should be reported before the vehicle is driven.
|
||||
|
||||
The vehicle must be returned in the same condition in which it was provided, allowing for reasonable wear from normal use.
|
||||
|
||||
The renter may be responsible for new bodywork, paint, glass, tyre, wheel, or interior damage; damage caused by collision, misuse, negligence, or improper driving; damage resulting from driving on unsuitable roads or in prohibited areas; damage caused by an unauthorised driver; damage caused by incorrect fuel, lost keys, or failure to secure the vehicle; and towing, recovery, assessment, repair, administration, and loss-of-use charges where applicable.
|
||||
|
||||
Any damage waiver or protection package is subject to its stated exclusions and excess or deductible. It does not automatically remove all financial responsibility.
|
||||
|
||||
The renter must report any accident, theft, vandalism, or damage as soon as reasonably possible and must follow the company reporting instructions. Where required, the renter must also contact the police and obtain an official report or reference number.
|
||||
|
||||
The renter must not arrange or authorise repairs without prior written approval from the rental company, except where necessary to protect personal safety or prevent further immediate damage.
|
||||
|
||||
Damage charges will be supported by available inspection records, photographs, repair estimates, invoices, or other reasonable evidence. Any security deposit may be held or applied toward valid charges under the rental agreement.',
|
||||
ALTER COLUMN "additionalDriverPolicy" SET DEFAULT 'Only drivers listed and approved on the rental agreement are permitted to drive the vehicle.
|
||||
|
||||
Each additional driver must meet the minimum age requirement, present a valid driving licence accepted in the rental location, provide any additional identification reasonably requested, and comply with all terms of the rental agreement.
|
||||
|
||||
An additional driver fee may apply per day or per rental according to the selected charge setting. The fee and any applicable taxes will be confirmed before the rental begins.
|
||||
|
||||
The primary renter remains responsible for the vehicle and for all charges, damage, fines, penalties, and breaches of the rental agreement, regardless of which approved driver was operating the vehicle.
|
||||
|
||||
Allowing an unauthorised person to drive the vehicle is a breach of the rental agreement and may invalidate any damage waiver, protection package, or insurance coverage.';
|
||||
|
||||
UPDATE "contract_settings"
|
||||
SET "fuelPolicy" = 'The vehicle will be provided with the fuel level recorded on the rental agreement. The renter must return the vehicle with the same fuel level.
|
||||
|
||||
If the vehicle is returned with less fuel, the renter will be charged for the missing fuel at the applicable refueling rate, plus any configured refueling service fee. Fuel charges are based on the vehicle fuel gauge and the level recorded at the start and end of the rental.
|
||||
|
||||
Fuel purchased during the rental is the renter responsibility and is not refundable. The renter should retain fuel receipts until the vehicle has been returned and the rental agreement has been closed.
|
||||
|
||||
The renter must use the correct fuel type specified for the vehicle. Any damage caused by using the wrong fuel will be charged to the renter.'
|
||||
WHERE "fuelPolicy" = 'The vehicle must be returned with the same fuel level as at pickup.'
|
||||
OR "fuelPolicy" = '';
|
||||
|
||||
UPDATE "contract_settings"
|
||||
SET "fuelPolicyNote" = 'Please return the vehicle with the same fuel level provided at collection. Vehicles returned with less fuel will be subject to a refueling charge and service fee. Use only the fuel type specified for the vehicle.'
|
||||
WHERE "fuelPolicyNote" IS NULL
|
||||
OR "fuelPolicyNote" = '';
|
||||
|
||||
UPDATE "contract_settings"
|
||||
SET "additionalDriverPolicy" = 'Only drivers listed and approved on the rental agreement are permitted to drive the vehicle.
|
||||
|
||||
Each additional driver must meet the minimum age requirement, present a valid driving licence accepted in the rental location, provide any additional identification reasonably requested, and comply with all terms of the rental agreement.
|
||||
|
||||
An additional driver fee may apply per day or per rental according to the selected charge setting. The fee and any applicable taxes will be confirmed before the rental begins.
|
||||
|
||||
The primary renter remains responsible for the vehicle and for all charges, damage, fines, penalties, and breaches of the rental agreement, regardless of which approved driver was operating the vehicle.
|
||||
|
||||
Allowing an unauthorised person to drive the vehicle is a breach of the rental agreement and may invalidate any damage waiver, protection package, or insurance coverage.'
|
||||
WHERE "additionalDriverPolicy" = 'Only authorized additional drivers listed on the rental agreement may operate the vehicle.'
|
||||
OR "additionalDriverPolicy" = '';
|
||||
|
||||
UPDATE "contract_settings"
|
||||
SET "damagePolicy" = 'The renter is responsible for inspecting the vehicle at collection and confirming that all existing damage is recorded on the rental agreement or vehicle condition report. Any unrecorded damage should be reported before the vehicle is driven.
|
||||
|
||||
The vehicle must be returned in the same condition in which it was provided, allowing for reasonable wear from normal use.
|
||||
|
||||
The renter may be responsible for new bodywork, paint, glass, tyre, wheel, or interior damage; damage caused by collision, misuse, negligence, or improper driving; damage resulting from driving on unsuitable roads or in prohibited areas; damage caused by an unauthorised driver; damage caused by incorrect fuel, lost keys, or failure to secure the vehicle; and towing, recovery, assessment, repair, administration, and loss-of-use charges where applicable.
|
||||
|
||||
Any damage waiver or protection package is subject to its stated exclusions and excess or deductible. It does not automatically remove all financial responsibility.
|
||||
|
||||
The renter must report any accident, theft, vandalism, or damage as soon as reasonably possible and must follow the company reporting instructions. Where required, the renter must also contact the police and obtain an official report or reference number.
|
||||
|
||||
The renter must not arrange or authorise repairs without prior written approval from the rental company, except where necessary to protect personal safety or prevent further immediate damage.
|
||||
|
||||
Damage charges will be supported by available inspection records, photographs, repair estimates, invoices, or other reasonable evidence. Any security deposit may be held or applied toward valid charges under the rental agreement.'
|
||||
WHERE "damagePolicy" = 'The renter is liable for any damage not covered by insurance.'
|
||||
OR "damagePolicy" = '';
|
||||
Reference in New Issue
Block a user