Closed

java code online quotes system with google maps

airport taxi service using google ipn to give milage quotes for taxi trips booked online in the code it has a minimum_charge set a $30 for min distance set to 15 miles so if a trip is 6 miles it is still $30 it has 4 car types sedan/mini-van/suv etc.... my problem is when a customer gets a quote for a 5 mile trip it shows the minimum_chage of $30 for all car types as you see in my code car type 2 is set to add 10 the others by % i need the code to add the car types to the minimin_chage of 30 so when a customer selects minivan car type 2 is says $40 and $30 for car type 1 and car type 3 by %

basicly a min price for each car type if you can do this let me know

if(d <= minimum_dis){

price = minimum_charge;

return price;

}

if(every_unit == 'mi')

every_dis = every_dis * 1760;

extra_dis = d - minimum_dis;

price = price + (extra_dis / every_dis) * every_charge;

}

var ctype = 1;

for (i=0; i<[url removed, login to view] ; i ++)

if ([url removed, login to view][i].checked) {

ctype = [url removed, login to view][i].value; break;

}

if(ctype == '1')price = price + (price * car_rate_1)/100;

if(ctype == '2')price = price + 10 ;

if(ctype == '3')price = price + (price * car_rate_3)/100;

if(ctype == '4')price = price + (price * car_rate_4)/100;

SITE IS LIVE AND WORKING

NEEDED

resolving the formula issue in calculating the Quotes

right now the min price is shown for all car types need to set a min price fore each car type

Skills: Javascript, MySQL, PHP

See more: online quote using google maps, php code online, online car code, my code, java online code, java distance, java 1.5 for each, code online google, code online c#, code 6 d, c++ code online, c# code online, c code online, a. d. miles, java google maps, java code online, google online, google maps customer service, type code, trips, suv, Quotes, problem in java, online java, online car

About the Employer:
( 4 reviews ) Springhill, United States

Project ID: #1148623

3 freelancers are bidding on average $123 for this job

softwarevamp

Hello, i can do this in a timely manner look to work with you At your disposal for any query. Regards softwarevamp

$120 USD in 1 day
(24 Reviews)
5.1
srinivasanrajan

Please check my PM

$150 USD in 3 days
(1 Review)
4.1
clonning

Time will be decided on full requirements. Ping us if you want quality work delivered on time. thank you.

$100 USD in 0 days
(0 Reviews)
0.0