Permission fix for saving invoice

This commit is contained in:
Hillel Coren 2016-08-08 23:47:09 +03:00
parent e65fdd54b0
commit e85517c4a8
2 changed files with 16 additions and 0 deletions

View File

@ -18,6 +18,14 @@ class Contact extends EntityModel implements AuthenticatableContract, CanResetPa
*/ */
protected $dates = ['deleted_at']; protected $dates = ['deleted_at'];
/**
* @return mixed
*/
public function getEntityType()
{
return ENTITY_CONTACT;
}
/** /**
* @var array * @var array
*/ */

View File

@ -15,6 +15,14 @@ class Invitation extends EntityModel
*/ */
protected $dates = ['deleted_at']; protected $dates = ['deleted_at'];
/**
* @return mixed
*/
public function getEntityType()
{
return ENTITY_INVITATION;
}
/** /**
* @return mixed * @return mixed
*/ */