added source feature
This commit is contained in:
@ -51,6 +51,7 @@ class Document extends Model
|
||||
'notes',
|
||||
'footer',
|
||||
'parent_id',
|
||||
'created_from',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
|
@ -13,7 +13,7 @@ class DocumentHistory extends Model
|
||||
|
||||
protected $table = 'document_histories';
|
||||
|
||||
protected $fillable = ['company_id', 'type', 'document_id', 'status', 'notify', 'description'];
|
||||
protected $fillable = ['company_id', 'type', 'document_id', 'status', 'notify', 'description', 'created_from', 'created_by'];
|
||||
|
||||
public function document()
|
||||
{
|
||||
|
@ -30,6 +30,8 @@ class DocumentItem extends Model
|
||||
'tax',
|
||||
'discount_rate',
|
||||
'discount_type',
|
||||
'created_from',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -13,7 +13,7 @@ class DocumentItemTax extends Model
|
||||
|
||||
protected $table = 'document_item_taxes';
|
||||
|
||||
protected $fillable = ['company_id', 'type', 'document_id', 'document_item_id', 'tax_id', 'name', 'amount'];
|
||||
protected $fillable = ['company_id', 'type', 'document_id', 'document_item_id', 'tax_id', 'name', 'amount', 'created_from', 'created_by'];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
|
Reference in New Issue
Block a user