From 71fde21bd5106d1d56a51f40886be75be3251113 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 10 May 2022 16:15:07 +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 fef7a111..0fa7a515 100644 --- a/app/Classes/Modules/Exports/Services/ExportsTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsTransactions.php @@ -63,6 +63,8 @@ class ExportsTransactions implements FromQuery, WithHeadingRow, WithMapping $booking = $transaction->owner; if(!($booking instanceof Booking)){ + dump($booking); + $booking = $booking->owner; }