#286 – Rate Calculation (Flat Rate for first 10 miles)

Posted in ‘Taxi Booking for Joomla’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 12 February 2015 21:05 GMT
orlandoairportvan
 Is there a way to configure rate calculation for a flat rate for the first 10 miles then x amount every mile thereafter? If it's not possible as-is, which file contains the rate calculation code? so that I can try to modify it.
Friday, 13 February 2015 14:10 GMT
martso
SumUp for Taxi Booking J4
Hi orlandoairportvan,
surely there is a way to do that which is built in Taxi Booking already.
You will have to use Distance sectors that will form your final fare.
If the prices you have are same for all cars in your fleet you can do that in Taxi Booking > Settings > General price settings. If you have different prices for different cars in your fleet then you can individually set this up in Car management.
From what you require it seems that you need to use Cumulative option for Distance sectors which means that all distance sectors you create will be added together to form the final fare.
If you create first distance sector 0 - 10 miles x Flat rate for the first 10 miles then 10 - 99999 miles with your normal rate per mile the system will calculate Flat rate for any journey under 10 miles + additional price calculated by mile after the 10th mile.

Hope this makes sense.
More information and detailed explanation is available here: http://kanev.com/docs/21-taxi-booking/43-settings

Best regards.
 

Please rate this ticket

Help us improve our support services by rating this ticket from one to five stars, according to how much you are satisfied from the handling of this ticket, one being not satisfied and five being very satisfied.

KANEV Web Development limited is not affiliated with or endorsed by the Joomla Project or Open Source Matters.

KANEV Web Development limited is registered in England and Wales #8902407