created master data: rayon, cost centre, kategori

This commit is contained in:
Jagad R R
2024-12-12 18:18:26 +07:00
parent 8cf94b5a5e
commit 095c2169c5
38 changed files with 1249 additions and 17 deletions
+2
View File
@@ -3,6 +3,7 @@
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\DB;
@@ -11,6 +12,7 @@ use Spatie\Permission\Traits\HasRoles;
class Admin extends Authenticatable
{
use Notifiable, HasRoles;
use SoftDeletes;
/**
* Set the default guard for this model.
+1 -1
View File
@@ -10,5 +10,5 @@ class Rayon extends Model
use SoftDeletes;
protected $table = 'rayon';
protected $fillable = ['name'];
protected $fillable = ['code', 'name'];
}