diff --git a/app/SubBooking.php b/app/SubBooking.php index a3f30b7..5dc0658 100644 --- a/app/SubBooking.php +++ b/app/SubBooking.php @@ -81,6 +81,11 @@ class SubBooking extends Model return $this->ioType()->factor * $this->amount; } + public function personOrCompany() + { + return $this->booking->person_or_company; + } + /************************************************************************** * SUMS OVER INCOMES AND EXPEDITURES, ACCOUNT BALANCES * **************************************************************************/