General Settings
The general settings configuration defines core functionality and behavior of the rental system.
General Configuration
3
10.0
true
Rental Papers Configuration
The rentalPapers
section defines settings for rental papers functionality:
true
'rental_papers'
License Plate Configuration
The plateFormat
section defines how rental vehicle license plates are generated:
'RENT'
4
true
false
Rental Duration Configuration
The durations
section defines available rental periods and their discounts:
The discount is applied as a percentage reduction to the base rental price. For example, a 20% discount on a $1000 rental would cost $800.
Refund Amount Configuration
The returnAmount
table defines how much of the rental price is refunded based on the percent of time left when returning a vehicle. Keys are the minimum percent of time left, values are the percent of the price refunded.
The refund is calculated by finding the highest key in returnAmount
that is less than or equal to the percent of time left on the rental.