added ownership
This commit is contained in:
@ -18,7 +18,7 @@ class Category extends Model
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['company_id', 'name', 'type', 'color', 'enabled'];
|
||||
protected $fillable = ['company_id', 'name', 'type', 'color', 'enabled', 'created_by'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
|
@ -19,7 +19,19 @@ class Currency extends Model
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['company_id', 'name', 'code', 'rate', 'enabled', 'precision', 'symbol', 'symbol_first', 'decimal_mark', 'thousands_separator'];
|
||||
protected $fillable = [
|
||||
'company_id',
|
||||
'name',
|
||||
'code',
|
||||
'rate',
|
||||
'enabled',
|
||||
'precision',
|
||||
'symbol',
|
||||
'symbol_first',
|
||||
'decimal_mark',
|
||||
'thousands_separator',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
|
@ -11,8 +11,6 @@ class Setting extends Eloquent
|
||||
|
||||
protected $table = 'settings';
|
||||
|
||||
protected $tenantable = true;
|
||||
|
||||
/**
|
||||
* Attributes that should be mass-assignable.
|
||||
*
|
||||
|
@ -24,7 +24,7 @@ class Tax extends Model
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['company_id', 'name', 'rate', 'type', 'enabled'];
|
||||
protected $fillable = ['company_id', 'name', 'rate', 'type', 'enabled', 'created_by'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
|
Reference in New Issue
Block a user