Go to file
B.Fatih KOZ 1d83b85d8b
Fix for Fuel and Ground Handling Costs (#1050)
* Fix for Fuel and Ground Handling Costs

PR aims to fix issue #1048  and implements the feature request #1049 

If no fuel cost is defined for departure airport, settings / airport fuel price will be used.
If no ground handling cost is defined for airports, settings / airport ground handling cost will be used.

Ground handling prices of both departure and arrival airport will be used for calculations.

* Resolve conflict with latest dev

PR will still fail checks due to double ground handling fares and will work on it to have two records at transactions for dep/arr

* Remove Double GH Costs / Fix The Bug Only

Removed double GH costs for now, pr aims only fixing the current issue (general settings not being read for fuel and ground handling costs)

* Add departure and arrival airports to ground handling

* Style fix

* Fix tests

Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh>
2021-03-18 11:32:40 -04:00
.github Undo composer downgrades 2021-03-04 17:17:39 -05:00
app Fix for Fuel and Ground Handling Costs (#1050) 2021-03-18 11:32:40 -04:00
bootstrap Fix public path in application bootstrap #887 2020-11-23 13:39:26 -05:00
config Add ignored solution provider 2021-03-05 08:00:34 -05:00
modules Fix PilotHoursAwards (#1011) 2021-01-26 19:48:43 -05:00
public Remove the laravel-backup library 2021-03-05 07:33:42 -05:00
resources Update pireps/show.blade (#1080) 2021-03-17 16:43:36 -04:00
storage Fix the avatars directory #316 2019-07-17 08:56:38 -04:00
tests Fix for Fuel and Ground Handling Costs (#1050) 2021-03-18 11:32:40 -04:00
.dockerignore Add base Dockerfile for Dockerhub builds (#504) 2020-01-16 11:49:22 -05:00
.editorconfig Update module generation #714 (#716) 2020-09-20 19:10:52 -04:00
.eslintignore Add eslint and styleci files 2018-09-10 09:25:45 -05:00
.eslintrc Refactor all JS API calls #360 (#375) 2019-08-30 08:08:00 -04:00
.gitignore Performance improvements #602 (#607) 2020-03-01 15:51:00 -05:00
.htaccess Issue fixes (#413) 2019-10-23 12:01:31 -04:00
.php_cs Formatting 2019-05-12 17:37:22 -05:00
.styleci.yml #355 Calculate distance button (#366) 2019-08-26 12:32:46 -04:00
artisan laravel base files 2017-06-08 13:28:26 -05:00
CHANGELOG.md Update CHANGELOG 2020-05-09 12:24:23 -04:00
composer.json Add Postmark package #1067 2021-03-08 11:35:11 -05:00
composer.lock Add Postmark package #1067 2021-03-08 11:35:11 -05:00
docker-compose.yml Add fileinfo ext to requirements #735 2020-09-04 11:28:33 -04:00
Dockerfile Add base Dockerfile for Dockerhub builds (#504) 2020-01-16 11:49:22 -05:00
intellij_style.xml Split the importer module out from the installer module (#468) 2019-12-12 15:07:35 -05:00
LICENSE Copyright/license update 2018-02-22 11:37:47 -06:00
Makefile Switch toolchain from yarn to npm 2020-09-04 13:28:17 -04:00
package-lock.json Bump ini from 1.3.5 to 1.3.8 (#955) 2021-01-17 16:01:04 -05:00
package.json Bump axios from 0.18.1 to 0.21.1 (#979) 2021-01-17 12:27:54 -05:00
phpstan.neon some cleanup as-per phpstan 2018-04-23 08:46:28 -05:00
phpunit.xml Update to Laravel 8 (#1058) 2021-03-04 17:08:51 -05:00
Procfile Working docker-compose files for development 2019-05-10 18:40:07 -05:00
README.md Update to Laravel 8 (#1058) 2021-03-04 17:08:51 -05:00
swagger.yml Search flights by subfleet #484 (#506) 2020-01-16 17:36:03 -05:00
webpack.mix.js Fix error in webpack file (#994) 2021-01-20 09:24:27 -05:00

phpVMS 7

Build Codacy Badge Latest Stable Version StyleCI License

The next phpvms version built on the laravel framework. work in progress. The latest documentation, with installation instructions is available on the phpVMS documentation page.

Installation

A full distribution, with all of the composer dependencies, is available at this GitHub Releases link.

Requirements

  • PHP 7.3+, extensions:
    • cURL
    • JSON
    • mbstring
    • openssl
    • pdo
    • tokenizer
  • Database:
    • MySQL 5.5+ (or MySQL variant, including MariaDB and Percona)

View more details on requirements

Installer

  1. Upload to your server
  2. Visit the site, and follow the link to the installer

View installation details

Development Environment

A full development environment can be brought up using Docker:

composer install
npm install
docker-compose build
docker-compose up

Then go to http://localhost. If you're using dnsmasq, the app container is listening on phpvms.test, or you can add to your /etc/hosts file:

127.0.0.1   phpvms.test

Building JS/CSS assets

Yarn is required, run:

make build-assets

This will build all of the assets according to the webpack file.