From d74a6a0a1af1a508bab4dacb437a57bb42315810 Mon Sep 17 00:00:00 2001 From: wahyuun Date: Fri, 22 Mar 2024 10:02:34 +0700 Subject: [PATCH] adding is_customer fillable --- app/Models/HumanResource.php | 1 + app/Models/User.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/HumanResource.php b/app/Models/HumanResource.php index e1b3706..91ef5a5 100644 --- a/app/Models/HumanResource.php +++ b/app/Models/HumanResource.php @@ -36,5 +36,6 @@ class HumanResource extends Model 'updated_by', 'divisi_id', 'status_boundary', + 'is_customer' ]; } diff --git a/app/Models/User.php b/app/Models/User.php index 58b203b..7e2e9ac 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -24,7 +24,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac protected $fillable = [ 'name', 'email', 'role_id', 'username', 'session_login', 'phone_number', 'email', 'address', 'fcm_token', 'gender', 'birth_place', 'birth_date', 'blood_type', 'ktp_number', 'working_hours', - 'created_at', 'created_by', 'updated_at', 'updated_by', 'status_resource', 'discount_id','company_id' + 'created_at', 'created_by', 'updated_at', 'updated_by', 'status_resource', 'discount_id','company_id','is_customer' ]; const CREATED_AT = 'created_at';