From 2ff84186b8c4f7aa7650bca0c1b3220af1557170 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 10 May 2022 16:40:41 +0800 Subject: [PATCH] fix transaction export --- app/Classes/Modules/Exports/Services/ExportsTransactions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Classes/Modules/Exports/Services/ExportsTransactions.php b/app/Classes/Modules/Exports/Services/ExportsTransactions.php index 66678ea2..d5b45be7 100644 --- a/app/Classes/Modules/Exports/Services/ExportsTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsTransactions.php @@ -68,6 +68,8 @@ class ExportsTransactions implements FromQuery, WithHeadingRow, WithMapping $company = $booking->company; + if(!$company instanceof Company) dd($company); + return [ $company->reference, $booking ? $booking->marking : '',