mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
update transaction export
This commit is contained in:
@@ -66,12 +66,8 @@ class ExportsTransactions implements FromQuery, WithHeadingRow, WithMapping
|
||||
$booking = $transaction->owner;
|
||||
}
|
||||
|
||||
if($transaction->owner_type === Transaction::class){
|
||||
|
||||
if($transaction->type === TransactionType::BILL){
|
||||
$booking = $transaction->owner->owner;
|
||||
if($booking instanceof Transaction){
|
||||
$booking = $booking->owner;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user