aditiadika / master-module
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
This package is auto-updated.
Last update: 2025-06-17 21:27:19 UTC
README
This module related to companies and users, Pivot table to each users have many companies. Impersonate to other company.
Requirements
This module required some other packages :
- "yajra/laravel-datatables-oracle"
How to use
Before you run users seed, please run this module seed to seeding permissions to access this module.
$ php artisan module:seed Master
Append this to user model. And then you can use like this $user->companies
use Modules\ClientGroup\Entities\Company; public function companies() { return $this->belongsToMany(Company::class, 'user_companies'); }
Append menu
// laraboi.partials.navbar @can('view master') <li class="nav-sub-item"> <a href="{{ url('/master') }}" class="nav-sub-link"> <i data-feather="file"></i> Master </a> </li> @endcan
master menu
- Employee Type, - Working Shift, - Working Location, - Job Division, - Job Deparment, - Job Level, - Job Position, - Golongan, - Leave Type, - Religion
Author
- @dika.aditia | aditiaaadicka@gmail.com