From d45ecf278be56400c382152d7fc37451af5a5c6b Mon Sep 17 00:00:00 2001 From: Edmond Teh Date: Thu, 3 Sep 2020 12:31:56 +0800 Subject: [PATCH] added fillable fields in Invoice --- app/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Invoice.php b/app/Invoice.php index 0c5be559..69608581 100644 --- a/app/Invoice.php +++ b/app/Invoice.php @@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model; class Invoice extends Model { - protected $fillable = ['invoice_url','amount','booking_id']; + protected $fillable = ['invoice_url','amount','booking_id', 'buyer_company', 'address', 'contact_no', 'po_number']; public function booking(){ return $this->belongsTo('App\Booking');