Simbrief Edit & Download Latest OFP (#1228)
* SimBrief OFP Edit Changes aim to have ability of editing generated SimBrief Flight Plans and re-downloading. * Move url to config * Blade update and $uri change * Update simbrief_form.blade.php Used `$flight->id` along with `$user->ident` to have a more unique static id value. No details given for that fields uniqueness requirements, this will be ok I think though. Also we are passing user's simbrief userid with api to find the flight plan, both combined, no chance to get another users plan and/or any other plan of same user. * Update SimBriefController.php Move `static_id` to controller * Update simbrief_form.blade.php Read `static_id` from controller * StyleFix * Update phpvms.php * Update SimBriefService.php Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
@@ -160,6 +160,7 @@
|
||||
<input type="hidden" name="omit_stars" value="0">
|
||||
<input type="hidden" name="cruise" value="CI">
|
||||
<input type="hidden" name="civalue" value="AUTO">
|
||||
<input type="hidden" name="static_id" value="{{ $static_id }}">
|
||||
{{-- For more info about form fields and their details check SimBrief Forum / API Support --}}
|
||||
</div>
|
||||
<div class="col-4">
|
||||
|
||||
Reference in New Issue
Block a user