add default with company and item models
This commit is contained in:
@ -15,6 +15,13 @@ class DocumentItem extends Model
|
||||
|
||||
protected $table = 'document_items';
|
||||
|
||||
/**
|
||||
* The relationships that should always be loaded.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $with = ['taxes'];
|
||||
|
||||
protected $appends = ['discount'];
|
||||
|
||||
protected $fillable = [
|
||||
|
Reference in New Issue
Block a user