mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
update transaction export
This commit is contained in:
@@ -67,7 +67,11 @@ class ExportsTransactions implements FromQuery, WithHeadingRow, WithMapping
|
||||
}
|
||||
|
||||
if($transaction->owner_type === Transaction::class){
|
||||
|
||||
$booking = $transaction->owner->owner;
|
||||
if($booking instanceof Transaction){
|
||||
$booking = $booking->owner;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user