From c856fff2034a8745be5b8df1b34b5fa86c0fd6b2 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 10 May 2022 11:30:10 +0800 Subject: [PATCH] fix transaction export --- app/Classes/Modules/Exports/Services/ExportsTransactions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Exports/Services/ExportsTransactions.php b/app/Classes/Modules/Exports/Services/ExportsTransactions.php index 869114fb..297fc019 100644 --- a/app/Classes/Modules/Exports/Services/ExportsTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsTransactions.php @@ -62,7 +62,7 @@ class ExportsTransactions implements FromQuery, WithHeadingRow, WithMapping $booking = $transaction->owner->owner; - if($transaction->owner !== Booking::class){ + if($transaction->owner instanceof Booking){ dump($transaction); }