client_last . ', ' . $this->client_first; } public function proDisplayName() { return $this->pro_last . ', ' . $this->pro_first; } public function note() { return $this->hasOne(Note::class, 'id', 'note_id'); } public function bill() { return $this->hasOne(Bill::class, 'id', 'bill_id'); } public function client() { return $this->hasOne(Client::class, 'id', 'client_id'); } }