1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/app/Models/OwnedByClientTrait.php
2017-01-30 21:40:43 +02: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();
}
}