About This File
Widget Volanta Export phpVMS 7
Exports flights from phpVMS to the CSV format required by Volanta.
https://github.com/avs-code/volantaWidget
Β
β¨ Features
π Customisable date selection.
π½ Direct download in CSV format.
π Flight preview in table format.
π― Specific format for Volanta.
π Only visible to the pilot themselves.
Β
π Requirements
phpVMS 7.x
PHP >=8.1
Users with registered flights (PIREPs).
Β
πΈ Screenshots
Β
Β
Β
Installing the Volanta Export Widget
Β
π¦ Manual Installation
Β
Step 1: Copy widget files
Copy these files to your phpVMS installation:
VolantaExportFlights.php β app/Widgets/VolantaExportFlights.php
volanta_export_flights.blade.php β resources/views/widgets/volanta_export_flights.blade.php
βββ app/
β βββ Widgets/
β βββ VolantaExportFlights.php
βββ resources/
βββ views/
βββ widgets/
βββ volanta_export_flights.blade.php
Β
Step 2: Integrate into the Profile view
Add these lines to the file:
resources/views/layouts/your_theme_name/profile/index.blade.php
Β
{{-- Widget Volanta Export Flights - Only visible to the user themselves --}} @if (Auth::check() && $user->id === Auth::user()->id) <div class="row mt-5"> <div class="col-sm-12"> @widget('VolantaExportFlights') </div> </div> @endif
Β
Step 3: Clear cache
In administration panel->maintenance->Clear all caches.
Β
β Verification
Go to your profile (/profile).
You should see the βVolanta Export Flightsβ widget.
Β
ποΈ Uninstallation
Delete the 2 copied files (VolantaExportFlights.php andΒ volanta_export_flights.blade.php).
Remove the lines added to the profile file (resources/views/layouts/your_theme_name/profile/index.blade.php).
Clear cache.
Β
π CSV format generated
The CSV includes these columns for Volanta:
Origin, Destination, DepartureTime, Duration, Airline, Callsign, FlightNumber, AircraftType, AircraftRegistration, Route, ArrivalTime, Distance, Fuel
Β
β Β Use
Go to your profile (/profile).
Click on Volanta Export button.
Select dates and click over Search flights.
Click again on Volanta Export button to see the results.
Click on Download CSV for Volanta.
In your Volanta app, Settings -> Data Import/Export -> Manual -> Select CSV.
Select Data to import, Aircraft and Flights, the selected data will merged in aircraft case, or duplicated in fligths case, so select only flights that you don'tΒ actually have in Volanta.
Click on Begin Import.
Edited by ARV187
What's New in Version 1.0.1 See changelog
Released
Widget Volanta Export

Recommended Comments
There are no comments to display.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.