aditiadika / master-module
There is no license information available for the latest version (dev-master) of this package.
Package info
github.com/aditiadika/master-module
Language:HTML
pkg:composer/aditiadika/master-module
dev-master
2020-01-17 08:16 UTC
This package is auto-updated.
Last update: 2026-03-17 22:58:34 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