Skip to content

A phpVMS widget that allows pilots to export their flight data in CSV format compatible with Volanta flight tracking software. Features date range selection and optimized performance with on-demand data loading.

License

Notifications You must be signed in to change notification settings

avs-code/volantaWidget

Repository files navigation

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 user themselves

📋 Requirements

  • phpVMS 7.x
  • PHP >=8.1
  • Users with registered flights (PIREPs)

🎯 Features

  • Allows you to select a date range
  • Displays a table with flights for the period
  • Generates CSV in Volanta format
  • Includes: origin, destination, times, aircraft, etc.

📸 Screenshots

imagen imagen

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
  • Select dates and test the CSV download

🗑️ Uninstallation

  • Delete the 2 copied files
  • Remove the lines added to the profile file
  • 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

About

A phpVMS widget that allows pilots to export their flight data in CSV format compatible with Volanta flight tracking software. Features date range selection and optimized performance with on-demand data loading.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published