To set up a mileage premium, go to Accounting>Global Settings>Premiums and click .
As you create your new premium, select Mileage from the options in the Rule dropdown.
This will generate some extra fields:
Mileage will be calculated based on the optimized route suggested by Google Maps (driving time).
Select a pay code based on hours, not visits.
Include First Visit from Home/Office: The first visit will be included in the calculation of the premium.
Include Last Visit from Home/Office: The last visit will be included in the calculation of the premium.
Maximum time between visits (in mins): Any longer break between visits will be ignored for the purpose of caluclating the premium. For example, if this value is set to 60 and there is a break of an hour and a half between the visits, then this break will not be used to calculate mileage premium.
Measure: Choose km, miles, or minutes.
Ratio/Time Entry: Defaults to 1. This impacts the total of the premium which will be calculated. If a number x is entered, the actual quantity of the premium will be (number of kilometers/miles traveled/number of minutes traveled)/x.