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
2021-03-04 17:17:39 -05:00
2021-03-05 08:00:34 -05:00
2021-01-26 19:48:43 -05:00
2021-03-05 07:33:42 -05:00
2019-07-17 08:56:38 -04:00
2018-09-10 09:25:45 -05:00
2019-10-23 12:01:31 -04:00
2019-05-12 17:37:22 -05:00
2017-06-08 13:28:26 -05:00
2020-05-09 12:24:23 -04:00
2021-03-08 11:35:11 -05:00
2021-03-08 11:35:11 -05:00
2018-02-22 11:37:47 -06:00
2020-09-04 13:28:17 -04:00
2018-04-23 08:46:28 -05:00
2021-03-04 17:08:51 -05:00
2021-03-04 17:08:51 -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.

Languages
PHP 69.1%
Blade 18%
SCSS 10.2%
JavaScript 2.2%
Shell 0.2%
Other 0.3%