Human Resources

Run Settings
LanguageJava
Language Version
Run Command
Human Resources - Departments (name, description) - Employees (user_id, department_id, address, place of birth, dob, religion, sex, phone, salary, photo - Payroll (user_id, salary) - Leave (user_id, description, start_of_date, end_of_date, status [pending, approved, rejected]) - Attendances (user_id, status [present, absent, ...]) migration => struktur tabel pada database seeder => data/isi pada tabel (opsional) / data dummy php artisan route:list // melihat daftar rute User Managements - Roles - Users // Tahapan ambil project laravel dari github git clone https://github.com/mraisyanalfarras/sistem-enteprise.git nama-project pindah ke direktori nama-project composer update cp .env.example .env php artisan key:generate sesuaikan isi pada file .env php artisan migrate --seed // simpan ke kedua tabel sekaligus // simpan ke tabel user $user = User::create([ 'name' => $request->name, 'email' => $request->email, 'password' => bcrypt('terserah') ]); // simpan ke tabel employee $request->merge(['user_id' => $user->id]); Employee::create($request->all());
Editor Settings
Theme
Key bindings
Full width
Lines