diff --git a/Modules/Employee/Http/Controllers/.gitkeep b/Modules/Employee/Http/Controllers/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/Http/Controllers/EmployeeController.php b/Modules/Employee/Http/Controllers/EmployeeController.php
new file mode 100644
index 0000000..cf8691d
--- /dev/null
+++ b/Modules/Employee/Http/Controllers/EmployeeController.php
@@ -0,0 +1,67 @@
+registerCommands();
+ $this->registerCommandSchedules();
+ $this->registerTranslations();
+ $this->registerConfig();
+ $this->registerViews();
+ $this->loadMigrationsFrom(module_path($this->moduleName, 'database/migrations'));
+ }
+
+ /**
+ * Register the service provider.
+ */
+ public function register(): void
+ {
+ $this->app->register(RouteServiceProvider::class);
+ }
+
+ /**
+ * Register commands in the format of Command::class
+ */
+ protected function registerCommands(): void
+ {
+ // $this->commands([]);
+ }
+
+ /**
+ * Register command Schedules.
+ */
+ protected function registerCommandSchedules(): void
+ {
+ // $this->app->booted(function () {
+ // $schedule = $this->app->make(Schedule::class);
+ // $schedule->command('inspire')->hourly();
+ // });
+ }
+
+ /**
+ * Register translations.
+ */
+ public function registerTranslations(): void
+ {
+ $langPath = resource_path('lang/modules/'.$this->moduleNameLower);
+
+ if (is_dir($langPath)) {
+ $this->loadTranslationsFrom($langPath, $this->moduleNameLower);
+ $this->loadJsonTranslationsFrom($langPath);
+ } else {
+ $this->loadTranslationsFrom(module_path($this->moduleName, 'lang'), $this->moduleNameLower);
+ $this->loadJsonTranslationsFrom(module_path($this->moduleName, 'lang'));
+ }
+ }
+
+ /**
+ * Register config.
+ */
+ protected function registerConfig(): void
+ {
+ $this->publishes([module_path($this->moduleName, 'config/config.php') => config_path($this->moduleNameLower.'.php')], 'config');
+ $this->mergeConfigFrom(module_path($this->moduleName, 'config/config.php'), $this->moduleNameLower);
+ }
+
+ /**
+ * Register views.
+ */
+ public function registerViews(): void
+ {
+ $viewPath = resource_path('views/modules/'.$this->moduleNameLower);
+ $sourcePath = module_path($this->moduleName, 'resources/views');
+
+ $this->publishes([$sourcePath => $viewPath], ['views', $this->moduleNameLower.'-module-views']);
+
+ $this->loadViewsFrom(array_merge($this->getPublishableViewPaths(), [$sourcePath]), $this->moduleNameLower);
+
+ $componentNamespace = str_replace('/', '\\', config('modules.namespace').'\\'.$this->moduleName.'\\'.ltrim(config('modules.paths.generator.component-class.path'), config('modules.paths.app_folder','')));
+ Blade::componentNamespace($componentNamespace, $this->moduleNameLower);
+ }
+
+ /**
+ * Get the services provided by the provider.
+ */
+ public function provides(): array
+ {
+ return [];
+ }
+
+ private function getPublishableViewPaths(): array
+ {
+ $paths = [];
+ foreach (config('view.paths') as $path) {
+ if (is_dir($path.'/modules/'.$this->moduleNameLower)) {
+ $paths[] = $path.'/modules/'.$this->moduleNameLower;
+ }
+ }
+
+ return $paths;
+ }
+}
diff --git a/Modules/Employee/Providers/RouteServiceProvider.php b/Modules/Employee/Providers/RouteServiceProvider.php
new file mode 100644
index 0000000..3cb405d
--- /dev/null
+++ b/Modules/Employee/Providers/RouteServiceProvider.php
@@ -0,0 +1,49 @@
+mapApiRoutes();
+
+ $this->mapWebRoutes();
+ }
+
+ /**
+ * Define the "web" routes for the application.
+ *
+ * These routes all receive session state, CSRF protection, etc.
+ */
+ protected function mapWebRoutes(): void
+ {
+ Route::middleware('web')->group(module_path('Employee', '/routes/web.php'));
+ }
+
+ /**
+ * Define the "api" routes for the application.
+ *
+ * These routes are typically stateless.
+ */
+ protected function mapApiRoutes(): void
+ {
+ Route::middleware('api')->prefix('api')->name('api.')->group(module_path('Employee', '/routes/api.php'));
+ }
+}
diff --git a/Modules/Employee/Repositories/.gitkeep b/Modules/Employee/Repositories/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/composer.json b/Modules/Employee/composer.json
new file mode 100644
index 0000000..5385853
--- /dev/null
+++ b/Modules/Employee/composer.json
@@ -0,0 +1,30 @@
+{
+ "name": "nwidart/employee",
+ "description": "",
+ "authors": [
+ {
+ "name": "Nicolas Widart",
+ "email": "n.widart@gmail.com"
+ }
+ ],
+ "extra": {
+ "laravel": {
+ "providers": [],
+ "aliases": {
+
+ }
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Modules\\Employee\\": "app/",
+ "Modules\\Employee\\Database\\Factories\\": "database/factories/",
+ "Modules\\Employee\\Database\\Seeders\\": "database/seeders/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Modules\\Employee\\Tests\\": "tests/"
+ }
+ }
+}
diff --git a/Modules/Employee/config/.gitkeep b/Modules/Employee/config/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/config/config.php b/Modules/Employee/config/config.php
new file mode 100644
index 0000000..1468608
--- /dev/null
+++ b/Modules/Employee/config/config.php
@@ -0,0 +1,5 @@
+ 'Employee',
+];
diff --git a/Modules/Employee/database/migrations/.gitkeep b/Modules/Employee/database/migrations/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/database/seeders/.gitkeep b/Modules/Employee/database/seeders/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/database/seeders/EmployeeDatabaseSeeder.php b/Modules/Employee/database/seeders/EmployeeDatabaseSeeder.php
new file mode 100644
index 0000000..d778134
--- /dev/null
+++ b/Modules/Employee/database/seeders/EmployeeDatabaseSeeder.php
@@ -0,0 +1,16 @@
+call([]);
+ }
+}
diff --git a/Modules/Employee/module.json b/Modules/Employee/module.json
new file mode 100644
index 0000000..bffedee
--- /dev/null
+++ b/Modules/Employee/module.json
@@ -0,0 +1,11 @@
+{
+ "name": "Employee",
+ "alias": "employee",
+ "description": "",
+ "keywords": [],
+ "priority": 0,
+ "providers": [
+ "Modules\\Employee\\Providers\\EmployeeServiceProvider"
+ ],
+ "files": []
+}
diff --git a/Modules/Employee/package.json b/Modules/Employee/package.json
new file mode 100644
index 0000000..d6fbfc8
--- /dev/null
+++ b/Modules/Employee/package.json
@@ -0,0 +1,15 @@
+{
+ "private": true,
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "vite build"
+ },
+ "devDependencies": {
+ "axios": "^1.1.2",
+ "laravel-vite-plugin": "^0.7.5",
+ "sass": "^1.69.5",
+ "postcss": "^8.3.7",
+ "vite": "^4.0.0"
+ }
+}
diff --git a/Modules/Employee/resources/assets/.gitkeep b/Modules/Employee/resources/assets/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/resources/assets/js/app.js b/Modules/Employee/resources/assets/js/app.js
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/resources/assets/sass/app.scss b/Modules/Employee/resources/assets/sass/app.scss
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/resources/views/.gitkeep b/Modules/Employee/resources/views/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/resources/views/index.blade.php b/Modules/Employee/resources/views/index.blade.php
new file mode 100644
index 0000000..8031d3b
--- /dev/null
+++ b/Modules/Employee/resources/views/index.blade.php
@@ -0,0 +1,1043 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Sorry! No Result Found
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Nancy Martino
+
Team Leader & HR
+
+
+
+
+
+
+
Personal Details
+
+
Number
+
+(256) 2451 8974
+
+
+
Email
+
nancymartino@email.com
+
+
+
Location
+
Carson City - USA
+
+
+
+
+
+
+
Send
+ Message
+
View Profile
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/Modules/Employee/resources/views/layouts/master.blade.php b/Modules/Employee/resources/views/layouts/master.blade.php
new file mode 100644
index 0000000..a7d0f0d
--- /dev/null
+++ b/Modules/Employee/resources/views/layouts/master.blade.php
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+ Employee Module - {{ config('app.name', 'Laravel') }}
+
+
+
+
+
+
+
+
+
+ {{-- Vite CSS --}}
+ {{-- {{ module_vite('build-employee', 'resources/assets/sass/app.scss') }} --}}
+
+
+
+ @yield('content')
+
+ {{-- Vite JS --}}
+ {{-- {{ module_vite('build-employee', 'resources/assets/js/app.js') }} --}}
+
diff --git a/Modules/Employee/resources/views/show.blade.php b/Modules/Employee/resources/views/show.blade.php
new file mode 100644
index 0000000..7191c1f
--- /dev/null
+++ b/Modules/Employee/resources/views/show.blade.php
@@ -0,0 +1,2112 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Anna Adame
+
Owner & Founder
+
+
California, United
+ States
+
+ Themesbrand
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Complete Your Profile
+
+
+
+
+
+
+
Info
+
+
+
+
+ Full Name :
+ Anna Adame
+
+
+ Mobile :
+ +(1) 987 6543
+
+
+ E-mail :
+ daveadame@velzon.com
+
+
+ Location :
+ California, United States
+
+
+
+ Joining Date
+ 24 Nov 2021
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Esther James
+
Frontend Developer
+
+
+
+
+
+
+
+
+
+
+
+
+
Jacqueline Steve
+
UI/UX Designer
+
+
+
+
+
+
+
+
+
+
+
+
+
George Whalen
+
Backend Developer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
About
+
Hi I'm Anna Adame, It will be as simple as Occidental; in fact, it will be Occidental. To an
+ English person, it will seem like simplified English, as a skeptical Cambridge friend of mine
+ told me what Occidental is European languages are members of the same family.
+
You always want to make sure that your fonts work well together and try to limit the number of
+ fonts you use to three or less. Experiment and play around with the fonts that you already have
+ in the software you’re working with reputable font websites. This may be the most commonly
+ encountered tip I received from the designers I spoke with. They highly encourage that you use
+ different fonts in one design, but do not over-exaggerate and go overboard.
+
+
+
+
+
+
Designation :
+
Lead Designer / Developer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ In an awareness campaign, it is vital for people to begin put 2 and 2 together
+ and begin to recognize your cause. Too much or too little spacing, as in the
+ example below, can make things unpleasant for the reader. The goal is to make
+ your text as comfortable to read as possible. A wonderful serenity has taken
+ possession of my entire soul, like these sweet mornings of spring which I enjoy
+ with my whole heart.
+
+
+
+
+
+
+
+
+
+
+
+ " A wonderful serenity has
+ taken possession of my
+ entire soul, like these
+ sweet mornings of spring
+ which I enjoy with my whole
+ heart. Each design is a new,
+ unique piece of art birthed
+ into this world, and while
+ you have the opportunity to
+ be creative and make your
+ own style choices. "
+
+
+
+
+
+
+
+
Every team project can have a velzon. Use the
+ velzon to share information with your team to understand and contribute to
+ your project.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ It makes a statement, it’s
+ impressive graphic design.
+ Increase or decrease the
+ letter spacing depending on
+ the situation and try, try
+ again until it looks right,
+ and each letter has the
+ perfect spot of its own.
+
+
+
+
+
+
+
+
+
+
+ Powerful, clean & modern
+ responsive bootstrap 5 admin
+ template. The maximum file
+ size for uploads in this demo :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ " This is an awesome
+ admin dashboard
+ template. It is
+ extremely well
+ structured and uses
+ state of the art
+ components (e.g. one of
+ the only templates using
+ boostrap 5.1.3 so far).
+ I integrated it into a
+ Rails 6 project. Needs
+ manual integration work
+ of course but the
+ template structure made
+ it easy. "
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ In an awareness campaign, it
+ is vital for people to begin
+ put 2 and 2 together and
+ begin to recognize your
+ cause. Too much or too
+ little spacing, as in the
+ example below, can make
+ things unpleasant for the
+ reader. The goal is to make
+ your text as comfortable to
+ read as possible. A
+ wonderful serenity has taken
+ possession of my entire
+ soul, like these sweet
+ mornings of spring which I
+ enjoy with my whole heart.
+
+
+
+
+
+
+
+
+
+
+ " A wonderful serenity has
+ taken possession of my
+ entire soul, like these
+ sweet mornings of spring
+ which I enjoy with my whole
+ heart. Each design is a new,
+ unique piece of art birthed
+ into this world, and while
+ you have the opportunity to
+ be creative and make your
+ own style choices. "
+
+
+
+
+
+
+
+
+ Every team project can
+ have a velzon. Use the
+ velzon to share
+ information with your
+ team to understand and
+ contribute to your
+ project.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Activities
+
+
+
+
+
+
+
Oliver Phillips New
+
We talked about a project on linkedin.
+
Today
+
+
+
+
+
+
Nancy Martino In Progress
+
Create new
+ project Buildng product
+
+
Yesterday
+
+
+
+
+
+
+
+
Natasha Carey Completed
+
+
Adding a new event with attachments
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
25 Nov
+
+
+
+
+
+
+
+
Bethany Johnson
+
added a new member to velzon dashboard
+
19 Nov
+
+
+
+
+
+
Your order is placed Out of Delivery
+
These customers can rest assured their order has been placed.
+
16 Nov
+
+
+
+
+
+
+
+
Lewis Pratt
+
They all have something to say
+ beyond the words on the page. They can come across as
+ casual or neutral, exotic or graphic.
+
22 Oct
+
+
+
+
+
+
Monthly sales report
+
+ 2 days left notification to submit the monthly sales
+ report. Reports Builder
+
+
15 Oct
+
+
+
+
+
+
+
+
New ticket received Completed
+
User Erica245 submitted a
+ ticket.
+
26 Aug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 2 year Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 2 month Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 1 hr Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 11 hr Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 10 min Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 8 hr Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 48 min Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 30 min Ago
+
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 7 month Ago
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 1 month Ago
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 10 month Ago
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Last Update : 29 min Ago
+
+
+
+
+
+
+
+
Members :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Documents
+
+
+ Upload File
+
+
+
+
+
+
+
+
+ File Name
+ Type
+ Size
+ Upload Date
+ Action
+
+
+
+
+
+
+
+ Zip File
+ 4.57 MB
+ 12 Dec 2021
+
+
+
+
+
+
+
+
+
+
+
+ PDF File
+ 8.89 MB
+ 24 Nov 2021
+
+
+
+
+
+
+
+
+
+
+
+ MP4 File
+ 14.62 MB
+ 19 Nov 2021
+
+
+
+
+
+
+
+
+
+
+
+ XSL File
+ 2.38 KB
+ 14 Nov 2021
+
+
+
+
+
+
+
+
+
+
+
+ Floder File
+ 87.24 MB
+ 08 Nov 2021
+
+
+
+
+
+
+
+
+
+
+
+ PNG File
+ 879 KB
+ 02 Nov 2021
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
+
+@push('js')
+
+
+@endpush
diff --git a/Modules/Employee/routes/.gitkeep b/Modules/Employee/routes/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Modules/Employee/routes/api.php b/Modules/Employee/routes/api.php
new file mode 100644
index 0000000..c1106e6
--- /dev/null
+++ b/Modules/Employee/routes/api.php
@@ -0,0 +1,19 @@
+prefix('v1')->group(function () {
+ Route::apiResource('employee', EmployeeController::class)->names('employee');
+});
diff --git a/Modules/Employee/routes/web.php b/Modules/Employee/routes/web.php
new file mode 100644
index 0000000..b192147
--- /dev/null
+++ b/Modules/Employee/routes/web.php
@@ -0,0 +1,19 @@
+names('employee');
+});
diff --git a/Modules/Employee/vite.config.js b/Modules/Employee/vite.config.js
new file mode 100644
index 0000000..599733b
--- /dev/null
+++ b/Modules/Employee/vite.config.js
@@ -0,0 +1,26 @@
+import { defineConfig } from 'vite';
+import laravel from 'laravel-vite-plugin';
+
+export default defineConfig({
+ build: {
+ outDir: '../../public/build-employee',
+ emptyOutDir: true,
+ manifest: true,
+ },
+ plugins: [
+ laravel({
+ publicDirectory: '../../public',
+ buildDirectory: 'build-employee',
+ input: [
+ __dirname + '/resources/assets/sass/app.scss',
+ __dirname + '/resources/assets/js/app.js'
+ ],
+ refresh: true,
+ }),
+ ],
+});
+
+//export const paths = [
+// 'Modules/Employee/resources/assets/sass/app.scss',
+// 'Modules/Employee/resources/assets/js/app.js',
+//];
\ No newline at end of file
diff --git a/modules_statuses.json b/modules_statuses.json
index bf189e4..da4a80a 100644
--- a/modules_statuses.json
+++ b/modules_statuses.json
@@ -1,4 +1,5 @@
{
"Leave": true,
- "Attendance": true
+ "Attendance": true,
+ "Employee": true
}
\ No newline at end of file
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index 8407633..a7dfba5 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -99,7 +99,7 @@
- @include('layouts.partials.theme-setting')
+ {{-- @include('layouts.partials.theme-setting') --}}
@@ -139,6 +139,8 @@
+ @stack('js')
+