1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00
invoiceninja/app/Models/OwnedByClientTrait.php
2019-01-30 22:25:07 +11:00

22 lines
291 B
PHP

<?php
namespace App\Models;
/**
* Class OwnedByClientTrait.
*/
trait OwnedByClientTrait
{
/**
* @return bool
*/
public function isClientTrashed()
{
if (! $this->client) {
return false;
}
return $this->client->trashed();
}
}