fixed bill creation & deletion

This commit is contained in:
denisdulici
2019-11-16 16:41:26 +03:00
parent 9757b459fd
commit 5b639c73a0
3 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class BillItem extends Model
*
* @var array
*/
protected $fillable = ['company_id', 'bill_id', 'item_id', 'name', 'price', 'total', 'tax'];
protected $fillable = ['company_id', 'bill_id', 'item_id', 'name', 'quantity', 'price', 'total', 'tax'];
/**
* Clonable relationships.