From 7072428218193b45d6cf40bb02d2c0d2e6369b25 Mon Sep 17 00:00:00 2001 From: "B.Fatih KOZ" <74361521+FatihKoz@users.noreply.github.com> Date: Fri, 19 Mar 2021 03:04:13 +0300 Subject: [PATCH] Fix Finance Memo (Ground Handling) (#1083) PR fixes issue #1082 --- app/Services/Finance/PirepFinanceService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Finance/PirepFinanceService.php b/app/Services/Finance/PirepFinanceService.php index ccdf44f1..e6b81e0f 100644 --- a/app/Services/Finance/PirepFinanceService.php +++ b/app/Services/Finance/PirepFinanceService.php @@ -430,13 +430,13 @@ class PirepFinanceService extends Service ); $ground_handling_cost = $this->getGroundHandlingCost($pirep, $pirep->arr_airport); - Log::info('Finance: PIREP: '.$pirep->id.'; arrival ground handling: '.$ground_handling_cost); + Log::info('Finance: PIREP: '.$pirep->id.'; arr ground handling: '.$ground_handling_cost); $this->financeSvc->debitFromJournal( $pirep->airline->journal, Money::createFromAmount($ground_handling_cost), $pirep, - 'Ground Handling (Departure)', + 'Ground Handling (Arrival)', 'Ground Handling', 'ground_handling' );