show currency supplier info for transaction

This commit is contained in:
omair saleh
2021-11-29 12:20:00 +08:00
parent f8f8833994
commit e6ada6b2d4
3 changed files with 14 additions and 0 deletions
+8
View File
@@ -26,6 +26,14 @@ class Transaction extends AbstractModel implements Documentable
return $this->BelongsTo( Booking::class, 'booking_id', 'id');
}
/**
* @return BelongsTo
*/
public function issuer(): BelongsTo
{
return $this->BelongsTo( Company::class, 'issuer', 'id');
}
/**
* @return BelongsTo
*/