From 1046904ea508839437400017ac19899f49dc8c2d Mon Sep 17 00:00:00 2001 From: farhantock Date: Tue, 5 Dec 2023 14:00:21 +0700 Subject: [PATCH] update company_id and all_project access --- app/Models/ChecklistK3.php | 13 +++++++------ app/Models/Role.php | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/Models/ChecklistK3.php b/app/Models/ChecklistK3.php index a328fc7..564563f 100644 --- a/app/Models/ChecklistK3.php +++ b/app/Models/ChecklistK3.php @@ -12,11 +12,12 @@ class ChecklistK3 extends Model const UPDATED_AT = 'updated_at'; protected $fillable = [ - 'name', - 'description', - 'created_at', - 'created_by', - 'updated_at', - 'updated_by' + 'name', + 'description', + 'created_at', + 'created_by', + 'updated_at', + 'updated_by', + 'company_id' ]; } diff --git a/app/Models/Role.php b/app/Models/Role.php index 4fdc897..09b75d2 100644 --- a/app/Models/Role.php +++ b/app/Models/Role.php @@ -12,6 +12,6 @@ class Role extends Model const UPDATED_AT = 'updated_at'; protected $fillable = [ - 'name', 'description', 'default_page', 'created_at', 'created_by', 'updated_at', 'updated_by', 'company_id' + 'name', 'description', 'default_page', 'created_at', 'created_by', 'updated_at', 'updated_by', 'company_id', 'all_project' ]; }