mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
13 lines
215 B
PHP
13 lines
215 B
PHP
<?php namespace App\Models;
|
|
|
|
trait OwnedByClientTrait
|
|
{
|
|
public function isClientTrashed()
|
|
{
|
|
if (!$this->client) {
|
|
return false;
|
|
}
|
|
|
|
return $this->client->trashed();
|
|
}
|
|
} |