add default with company and item models
This commit is contained in:
@ -16,6 +16,13 @@ class Item extends Model
|
||||
|
||||
protected $table = 'items';
|
||||
|
||||
/**
|
||||
* The relationships that should always be loaded.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $with = ['taxes'];
|
||||
|
||||
/**
|
||||
* The accessors to append to the model's array form.
|
||||
*
|
||||
|
Reference in New Issue
Block a user