invoiceninja/app/Models/OwnedByClientTrait.php

13 lines
215 B
PHP
Raw Normal View History

2015-11-16 21:21:48 +02:00
<?php namespace App\Models;
trait OwnedByClientTrait
{
public function isClientTrashed()
{
if (!$this->client) {
return false;
}
return $this->client->trashed();
}
}