Browse Source

adding is_customer fillable

pull/1/head
wahyuun 8 months ago
parent
commit
d74a6a0a1a
  1. 1
      app/Models/HumanResource.php
  2. 2
      app/Models/User.php

1
app/Models/HumanResource.php

@ -36,5 +36,6 @@ class HumanResource extends Model
'updated_by', 'updated_by',
'divisi_id', 'divisi_id',
'status_boundary', 'status_boundary',
'is_customer'
]; ];
} }

2
app/Models/User.php

@ -24,7 +24,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
protected $fillable = [ protected $fillable = [
'name', 'email', 'role_id', 'username', 'session_login', 'phone_number', 'email', 'address', 'name', 'email', 'role_id', 'username', 'session_login', 'phone_number', 'email', 'address',
'fcm_token', 'gender', 'birth_place', 'birth_date', 'blood_type', 'ktp_number', 'working_hours', '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'; const CREATED_AT = 'created_at';

Loading…
Cancel
Save