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