mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for user permissions
This commit is contained in:
parent
e36db657cc
commit
8256e88286
@ -8,6 +8,14 @@ use DB;
|
||||
*/
|
||||
class Document extends EntityModel
|
||||
{
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getEntityType()
|
||||
{
|
||||
return ENTITY_DOCUMENT;
|
||||
}
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
@ -7,6 +7,14 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
*/
|
||||
class InvoiceItem extends EntityModel
|
||||
{
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getEntityType()
|
||||
{
|
||||
return ENTITY_INVOICE_ITEM;
|
||||
}
|
||||
|
||||
use SoftDeletes;
|
||||
/**
|
||||
* @var array
|
||||
|
@ -14,6 +14,14 @@ class Task extends EntityModel
|
||||
use SoftDeletes;
|
||||
use PresentableTrait;
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getEntityType()
|
||||
{
|
||||
return ENTITY_TASK;
|
||||
}
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user