mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for user permissions
This commit is contained in:
parent
e36db657cc
commit
8256e88286
@ -8,6 +8,14 @@ use DB;
|
|||||||
*/
|
*/
|
||||||
class Document extends EntityModel
|
class Document extends EntityModel
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getEntityType()
|
||||||
|
{
|
||||||
|
return ENTITY_DOCUMENT;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
@ -7,6 +7,14 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
|||||||
*/
|
*/
|
||||||
class InvoiceItem extends EntityModel
|
class InvoiceItem extends EntityModel
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getEntityType()
|
||||||
|
{
|
||||||
|
return ENTITY_INVOICE_ITEM;
|
||||||
|
}
|
||||||
|
|
||||||
use SoftDeletes;
|
use SoftDeletes;
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
@ -20,7 +28,7 @@ class InvoiceItem extends EntityModel
|
|||||||
'tax_name1',
|
'tax_name1',
|
||||||
'tax_rate1',
|
'tax_rate1',
|
||||||
'tax_name2',
|
'tax_name2',
|
||||||
'tax_rate2',
|
'tax_rate2',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -14,6 +14,14 @@ class Task extends EntityModel
|
|||||||
use SoftDeletes;
|
use SoftDeletes;
|
||||||
use PresentableTrait;
|
use PresentableTrait;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function getEntityType()
|
||||||
|
{
|
||||||
|
return ENTITY_TASK;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user