From cfd1e9ec4cb039e333b0045acfee9484b7d42f7f Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Wed, 10 Apr 2024 13:24:33 +0530 Subject: [PATCH] FEATURE_PURCHASE:AADHAVAN --- app/Models/ManufacturerModel.php | 2 +- app/Models/PurchaseOrderModel.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/ManufacturerModel.php b/app/Models/ManufacturerModel.php index 4ce777f..174e858 100644 --- a/app/Models/ManufacturerModel.php +++ b/app/Models/ManufacturerModel.php @@ -5,7 +5,7 @@ class ManufacturerModel extends Model { protected $table = 'manufacturer'; protected $primaryKey = 'manufacturer_id'; - protected $allowedFields = ['manufacturer_id','manufacturer_name','isactive','quantity']; + protected $allowedFields = ['manufacturer_id','manufacturer_name','isactive','quality']; } \ No newline at end of file diff --git a/app/Models/PurchaseOrderModel.php b/app/Models/PurchaseOrderModel.php index 3f9feba..cbbfede 100644 --- a/app/Models/PurchaseOrderModel.php +++ b/app/Models/PurchaseOrderModel.php @@ -5,7 +5,7 @@ class PurchaseOrderModel extends Model { protected $table = 'purchase_order'; protected $primaryKey = 'purchase_order_id'; - protected $allowedFields = ['purchase_order_id','subject','vendor','requesition_number','tracking_number','contact_name','due_date','carrier','sales_commision','excise_duty','status','billing_address','billing_city','billing_state','billing_country','billing_postal_code','shipping_address','shipping_city','shipping_state','shipping_country','shipping_postal_code','terms_condition','isactive']; + protected $allowedFields = ['purchase_order_id','vendor_id','status','billing_address','billing_city','billing_state','billing_country','billing_postal_code','shipping_address','shipping_city','shipping_state','shipping_country','shipping_postal_code','terms_condition','isactive','product_id','product_quantity','unit_price','total_price','order_date','contact_person_name','contact_person_mobile']; } \ No newline at end of file