From 19d22c54365c280dce852f997c5b7e53720b6cd6 Mon Sep 17 00:00:00 2001 From: wahyuun Date: Tue, 27 Feb 2024 16:51:59 +0700 Subject: [PATCH] add fillable --- app/Models/HumanResource.php | 1 + app/Models/RefferalCode.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/HumanResource.php b/app/Models/HumanResource.php index 0e4731a..e1b3706 100644 --- a/app/Models/HumanResource.php +++ b/app/Models/HumanResource.php @@ -14,6 +14,7 @@ class HumanResource extends Model protected $fillable = [ 'role_id', 'username', + 'discount_id', 'password', 'session_login', 'name', diff --git a/app/Models/RefferalCode.php b/app/Models/RefferalCode.php index 8046efc..c6a61fc 100644 --- a/app/Models/RefferalCode.php +++ b/app/Models/RefferalCode.php @@ -12,7 +12,6 @@ class RefferalCode extends Model const UPDATED_AT = 'updated_at'; protected $fillable = [ - 'id', 'code', 'amount', 'exp',