I am new to this site and I have been modifying the following code to have it in the french language. That in itself works fine but I need to add a field where the distance multiplied with a fixed cost could show up after the Distance field. I'm sure this can be done but when I modify it to include a totalCost variable and add other lines to take into consideration this variable, I get a 500 error.
Below is the code.
Any help will be appreciated.