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';