From 505398f9c592d5c27974e50298d34ea6b177d9c0 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 10 May 2022 11:33:16 +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 c0605d55..1b74c447 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 instanceof Booking){ + if(!($transaction->owner instanceof Booking)){ dump($transaction->owner); }