You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* #355 Calculate distance button in add/edit Flight page
* Styling
* Move add/edit flight logic out of controller and into service layer
* Styling
* Formatting
* Run styleci against modules dir
* Styleci config
* Style fixes in /modules
Possible enhancement - Auto-calculate Distance on Add Flight page
On Add Flight page (maybe Edit Flight page too) - Allow clicking on Distance to auto-calculate the distance from departure to arrival airports.
This function is available in prior versions and calculates the distance based on the distance setting (NM, km, etc) in local.config.
While I'm sure it's different in v7 than prior, here is the entry in /admin/lib/phpvmsadmin.js for earlier versions.
function calcDistance() {$("#depicao").val(), arricao: $ ("#arricao").val() },
$("#distance").val("Calculating...");
$.get(baseurl + "/admin/action.php/operations/calculatedistance",
{ depicao:
function(data) {
$("#distance").val(data);
});
}
The text was updated successfully, but these errors were encountered: