+ @endsection
diff --git a/Modules/Admin/resources/views/complaints/edit.blade.php b/Modules/Admin/resources/views/complaints/edit.blade.php
new file mode 100644
index 0000000..0cde18e
--- /dev/null
+++ b/Modules/Admin/resources/views/complaints/edit.blade.php
@@ -0,0 +1,23 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+ {{ html()->modelForm($complaint, 'PUT')->route('complaint.update', $complaint->complaint_id)->class(['needs-validation'])->attributes(['novalidate'])->open() }}
+
+ @include('admin::partials.complaints.action')
+
+ {{ html()->form()->close() }}
+
+
+
+
+ @endsection
diff --git a/Modules/Admin/resources/views/complaints/index.blade.php b/Modules/Admin/resources/views/complaints/index.blade.php
new file mode 100644
index 0000000..b873ef4
--- /dev/null
+++ b/Modules/Admin/resources/views/complaints/index.blade.php
@@ -0,0 +1,73 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+@endsection
diff --git a/Modules/Admin/resources/views/complaints/show.blade.php b/Modules/Admin/resources/views/complaints/show.blade.php
new file mode 100644
index 0000000..757b447
--- /dev/null
+++ b/Modules/Admin/resources/views/complaints/show.blade.php
@@ -0,0 +1,48 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+
+
Title : {{ $data->title }}
+
Alias : {{ $data->alias }}
+
Status : {{ $data->status == 1 ? 'Active' : 'Inactive' }}
+
+
Remarks : {{ $data->remarks }}
+
Display Order : {{ $data->display_order }}
+
Createdby : {{ $data->createdby }}
+
Updatedby : {{ $data->updatedby }}
+
Job Description : {{ $data->job_description }}
+
Departments Id : {{ $data->departments_id }}
+
+
+
Created On : {{ $data->created_at }}
+
Created By : {{ $data->createdBy }}
+
+
+
Updated On : {{ $data->updated_at }}
+
Updated By : {{ $data->updatedBy }}
+
+
+
+
+
+
+
+
+@endSection
diff --git a/Modules/Admin/resources/views/partials/companies/action.blade.php b/Modules/Admin/resources/views/partials/companies/action.blade.php
new file mode 100644
index 0000000..eb04df0
--- /dev/null
+++ b/Modules/Admin/resources/views/partials/companies/action.blade.php
@@ -0,0 +1,26 @@
+
+
+
+ {{ html()->label('Title')->class('form-label') }}
+ {{ html()->text('title')->class('form-control')->placeholder('Enter Title') }}
+
+
+
+ {{ html()->label('Company Type')->class('form-label') }}
+ {{ html()->select('company_type_id', $companyTypeLists)->class('form-select')->placeholder('Select Company Type') }}
+
+
+
+ {{ html()->label('Description')->class('form-label') }}
+ {{ html()->textarea('description')->class('form-control')->attributes(['rows' => 5]) }}
+
+
+
+ {{ html()->label('Remarks')->class('form-label') }}
+ {{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 5]) }}
+
+
+
+ {{ html()->button($editable ? 'Update' : 'Add Company', 'submit')->class('btn btn-success') }}
+
+
diff --git a/Modules/Admin/resources/views/partials/companytypes/action.blade.php b/Modules/Admin/resources/views/partials/companytypes/action.blade.php
new file mode 100644
index 0000000..f99fb61
--- /dev/null
+++ b/Modules/Admin/resources/views/partials/companytypes/action.blade.php
@@ -0,0 +1,11 @@
+
+
+
+ {{ html()->label('Title')->class('form-label') }}
+ {{ html()->text('title')->class('form-control')->placeholder('Enter Title') }}
+
+
+
+ {{ html()->button($editable ? 'Update' : 'Add Company Type', 'submit')->class('btn btn-success') }}
+
+
diff --git a/Modules/Admin/resources/views/partials/complaints/action.blade.php b/Modules/Admin/resources/views/partials/complaints/action.blade.php
new file mode 100644
index 0000000..59e5728
--- /dev/null
+++ b/Modules/Admin/resources/views/partials/complaints/action.blade.php
@@ -0,0 +1,33 @@
+
+
+
+ {{ html()->label('Complaint Against')->class('form-label') }}
+ {{ html()->select('employee_id')->class('form-select')->placeholder('Select Employee') }}
+
+
+
+
+ {{ html()->label('Complaint By')->class('form-label') }}
+ {{ html()->select('complaint_by')->class('form-select')->placeholder('Select Who Complaint') }}
+
+
+
+
+ {{ html()->label('Complaint Date')->class('form-label') }}
+ {{ html()->date('complaint_date')->class('form-control')->placeholder('Select Date') }}
+
+
+
+ {{ html()->label('Description')->class('form-label') }}
+ {{ html()->textarea('description')->class('form-control')->attributes(['rows' => 5]) }}
+
+
+
+ {{ html()->label('Remarks')->class('form-label') }}
+ {{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 5]) }}
+
+
+
+ {{ html()->button($editable ? 'Update' : 'Add Complaint', 'submit')->class('btn btn-success') }}
+
+
diff --git a/Modules/Admin/resources/views/partials/transfers/action.blade.php b/Modules/Admin/resources/views/partials/transfers/action.blade.php
new file mode 100644
index 0000000..48e348a
--- /dev/null
+++ b/Modules/Admin/resources/views/partials/transfers/action.blade.php
@@ -0,0 +1,37 @@
+
+
+
+ {{ html()->label('Employee')->class('form-label') }}
+ {{ html()->select('employee_id')->class('form-select')->placeholder('Select Employee') }}
+
+
+
+ {{ html()->label('Department From')->class('form-label') }}
+ {{ html()->select('old_department_id')->class('form-select')->placeholder('Select Previous Department') }}
+
+
+
+
+ {{ html()->label('Department To')->class('form-label') }}
+ {{ html()->select('new_department_id')->class('form-select')->placeholder('Select New Department') }}
+
+
+
+ {{ html()->label('Transfer Date')->class('form-label') }}
+ {{ html()->date('transfer_date')->class('form-control')->placeholder('Select Transfer Date') }}
+
+
+
+ {{ html()->label('Description')->class('form-label') }}
+ {{ html()->textarea('description')->class('form-control')->attributes(['rows' => 3]) }}
+
+
+
+ {{ html()->label('Remarks')->class('form-label') }}
+ {{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
+
+
+
+ {{ html()->button($editable ? 'Update' : 'Add Transfer', 'submit')->class('btn btn-success') }}
+
+
diff --git a/Modules/Admin/resources/views/partials/warnings/action.blade.php b/Modules/Admin/resources/views/partials/warnings/action.blade.php
new file mode 100644
index 0000000..61a83fa
--- /dev/null
+++ b/Modules/Admin/resources/views/partials/warnings/action.blade.php
@@ -0,0 +1,36 @@
+
+
+
+ {{ html()->label('Employee')->class('form-label') }}
+ {{ html()->select('employee_id')->class('form-select')->placeholder('Select Employee') }}
+
+
+
+ {{ html()->label('Warning type')->class('form-label') }}
+ {{ html()->select('type')->class('form-control')->placeholder('Select Warning Type') }}
+
+
+
+ {{ html()->label('Warning Date')->class('form-label') }}
+ {{ html()->date('warning_date')->class('form-control')->placeholder('Select Warning Date') }}
+
+
+
+ {{ html()->label('Subject')->class('form-label') }}
+ {{ html()->text('subject')->class('form-control')->placeholder('Write Warning Suject') }}
+
+
+
+ {{ html()->label('Description')->class('form-label') }}
+ {{ html()->textarea('description')->class('form-control')->attributes(['rows' => 3]) }}
+
+
+
+ {{ html()->label('Remarks')->class('form-label') }}
+ {{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
+
+
+
+ {{ html()->button($editable ? 'Update' : 'Add Warning', 'submit')->class('btn btn-success') }}
+
+
diff --git a/Modules/Admin/resources/views/transfers/create.blade.php b/Modules/Admin/resources/views/transfers/create.blade.php
new file mode 100644
index 0000000..1cd7c5f
--- /dev/null
+++ b/Modules/Admin/resources/views/transfers/create.blade.php
@@ -0,0 +1,23 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+ {{ html()->form('POST')->route('transfer.store')->class(['needs-validation'])->attributes(['novalidate'])->open() }}
+
+ @include('admin::partials.transfers.action')
+
+ {{ html()->form()->close() }}
+
+
+
+
+ @endsection
diff --git a/Modules/Admin/resources/views/transfers/edit.blade.php b/Modules/Admin/resources/views/transfers/edit.blade.php
new file mode 100644
index 0000000..9d94e68
--- /dev/null
+++ b/Modules/Admin/resources/views/transfers/edit.blade.php
@@ -0,0 +1,23 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+ {{ html()->modelForm($transfer, 'PUT')->route('transfer.update', $transfer->transfer_id)->class(['needs-validation'])->attributes(['novalidate'])->open() }}
+
+ @include('admin::partials.transfers.action')
+
+ {{ html()->form()->close() }}
+
+
+
+
+ @endsection
diff --git a/Modules/Admin/resources/views/transfers/index.blade.php b/Modules/Admin/resources/views/transfers/index.blade.php
new file mode 100644
index 0000000..e7b85cb
--- /dev/null
+++ b/Modules/Admin/resources/views/transfers/index.blade.php
@@ -0,0 +1,75 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+@endsection
diff --git a/Modules/Admin/resources/views/transfers/show.blade.php b/Modules/Admin/resources/views/transfers/show.blade.php
new file mode 100644
index 0000000..9ed0171
--- /dev/null
+++ b/Modules/Admin/resources/views/transfers/show.blade.php
@@ -0,0 +1,48 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+
+
Title : {{ $data->title }}
+
Alias : {{ $data->alias }}
+
Status : {{ $data->status == 1 ? 'Active' : 'Inactive' }}
+
+
Remarks : {{ $data->remarks }}
+
Display Order : {{ $data->display_order }}
+
Createdby : {{ $data->createdby }}
+
Updatedby : {{ $data->updatedby }}
+
Job Description : {{ $data->job_description }}
+
Departments Id : {{ $data->departments_id }}
+
+
+
Created On : {{ $data->created_at }}
+
Created By : {{ $data->createdBy }}
+
+
+
Updated On : {{ $data->updated_at }}
+
Updated By : {{ $data->updatedBy }}
+
+
+
+
+
+
+
+
+@endSection
diff --git a/Modules/Admin/resources/views/warnings/create.blade.php b/Modules/Admin/resources/views/warnings/create.blade.php
new file mode 100644
index 0000000..57d6142
--- /dev/null
+++ b/Modules/Admin/resources/views/warnings/create.blade.php
@@ -0,0 +1,23 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+ {{ html()->form('POST')->route('warning.store')->class(['needs-validation'])->attributes(['novalidate'])->open() }}
+
+ @include('admin::partials.warnings.action')
+
+ {{ html()->form()->close() }}
+
+
+
+
+ @endsection
diff --git a/Modules/Admin/resources/views/warnings/edit.blade.php b/Modules/Admin/resources/views/warnings/edit.blade.php
new file mode 100644
index 0000000..e79c19d
--- /dev/null
+++ b/Modules/Admin/resources/views/warnings/edit.blade.php
@@ -0,0 +1,23 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+ {{ html()->modelForm($warning, 'PUT')->route('warning.update', $warning->warning_id)->class(['needs-validation'])->attributes(['novalidate'])->open() }}
+
+ @include('admin::partials.warnings.action')
+
+ {{ html()->form()->close() }}
+
+
+
+
+ @endsection
diff --git a/Modules/Admin/resources/views/warnings/index.blade.php b/Modules/Admin/resources/views/warnings/index.blade.php
new file mode 100644
index 0000000..379ddf3
--- /dev/null
+++ b/Modules/Admin/resources/views/warnings/index.blade.php
@@ -0,0 +1,75 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+@endsection
diff --git a/Modules/Admin/resources/views/warnings/show.blade.php b/Modules/Admin/resources/views/warnings/show.blade.php
new file mode 100644
index 0000000..9ed0171
--- /dev/null
+++ b/Modules/Admin/resources/views/warnings/show.blade.php
@@ -0,0 +1,48 @@
+@extends('layouts.app')
+@section('content')
+
+
+
+
+ @include('layouts.partials.breadcrumb', ['title' => $title])
+
+
+
+
+
+
+
+
Title : {{ $data->title }}
+
Alias : {{ $data->alias }}
+
Status : {{ $data->status == 1 ? 'Active' : 'Inactive' }}
+
+
Remarks : {{ $data->remarks }}
+
Display Order : {{ $data->display_order }}
+
Createdby : {{ $data->createdby }}
+
Updatedby : {{ $data->updatedby }}
+
Job Description : {{ $data->job_description }}
+
Departments Id : {{ $data->departments_id }}
+
+
+
Created On : {{ $data->created_at }}
+
Created By : {{ $data->createdBy }}
+
+
+
Updated On : {{ $data->updated_at }}
+
Updated By : {{ $data->updatedBy }}
+
+
+
+
+
+
+
+
+@endSection
diff --git a/Modules/Admin/routes/web.php b/Modules/Admin/routes/web.php
index a84cbee..1281ea4 100644
--- a/Modules/Admin/routes/web.php
+++ b/Modules/Admin/routes/web.php
@@ -3,8 +3,13 @@
use Illuminate\Support\Facades\Route;
use Modules\Admin\Http\Controllers\AdminController;
use Modules\Admin\Http\Controllers\AppreciationController;
+use Modules\Admin\Http\Controllers\CompanyController;
+use Modules\Admin\Http\Controllers\CompanyTypeController;
+use Modules\Admin\Http\Controllers\ComplaintController;
use Modules\Admin\Http\Controllers\PromotionDemotionController;
use Modules\Admin\Http\Controllers\ResignationController;
+use Modules\Admin\Http\Controllers\TransferController;
+use Modules\Admin\Http\Controllers\WarningController;
/*
|--------------------------------------------------------------------------
@@ -22,6 +27,11 @@ Route::group([], function () {
Route::resource('promotion-demotion', PromotionDemotionController::class)->names('promotionDemotion');
Route::resource('appreciation', AppreciationController::class)->names('appreciation');
Route::resource('resignation', ResignationController::class)->names('resignation');
+ Route::resource('complaint', ComplaintController::class)->names('complaint');
+ Route::resource('transfer', TransferController::class)->names('transfer');
+ Route::resource('warning', WarningController::class)->names('warning');
+ Route::resource('company', CompanyController::class)->names('company');
+ Route::resource('company-type', CompanyTypeController::class)->names('companyType');
});
require __DIR__ . '/route.countries.php';
diff --git a/app/Helpers/OMIS.php b/app/Helpers/OMIS.php
index 7e2bcf0..aebc583 100644
--- a/app/Helpers/OMIS.php
+++ b/app/Helpers/OMIS.php
@@ -411,37 +411,37 @@ class OMIS
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
");
- DB::statement("CREATE TABLE IF NOT EXISTS `tbl_companytypes` (
- `companytype_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
- `title` VARCHAR(255),
- `alias` VARCHAR(255),
- `description` TEXT,
- `display_order` INT(11),
- `status` INT(11),
- `remarks` TEXT,
- `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP,
- `createdby` INT(11),
- `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `updatedby` INT(11)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- ");
- DB::statement("CREATE TABLE IF NOT EXISTS `tbl_companies` (
- `company_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
- `title` VARCHAR(255),
- `alias` VARCHAR(255),
- `description` TEXT,
- `address` TEXT,
- `cities_id` INT(11),
- `companytypes_id` INT(11),
- `display_order` INT(11),
- `status` INT(11),
- `remarks` TEXT,
- `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP,
- `createdby` INT(11),
- `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `updatedby` INT(11)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- ");
+ // DB::statement("CREATE TABLE IF NOT EXISTS `tbl_companytypes` (
+ // `companytype_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
+ // `title` VARCHAR(255),
+ // `alias` VARCHAR(255),
+ // `description` TEXT,
+ // `display_order` INT(11),
+ // `status` INT(11),
+ // `remarks` TEXT,
+ // `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP,
+ // `createdby` INT(11),
+ // `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+ // `updatedby` INT(11)
+ // ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+ // ");
+ // DB::statement("CREATE TABLE IF NOT EXISTS `tbl_companies` (
+ // `company_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
+ // `title` VARCHAR(255),
+ // `alias` VARCHAR(255),
+ // `description` TEXT,
+ // `address` TEXT,
+ // `cities_id` INT(11),
+ // `companytypes_id` INT(11),
+ // `display_order` INT(11),
+ // `status` INT(11),
+ // `remarks` TEXT,
+ // `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP,
+ // `createdby` INT(11),
+ // `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+ // `updatedby` INT(11)
+ // ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+ // ");
DB::statement("CREATE TABLE IF NOT EXISTS `tbl_branches` (
`branch_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`companies_id` INT(11) NULL,
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index a22e6c8..2f4c238 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -106,9 +106,9 @@
- {{-- --}}
- {{-- --}}
- {{-- --}}
+
+
+
{{-- --}}
{{-- --}}
diff --git a/resources/views/layouts/partials/sidebar.blade.php b/resources/views/layouts/partials/sidebar.blade.php
index af9d36e..eebfdfd 100644
--- a/resources/views/layouts/partials/sidebar.blade.php
+++ b/resources/views/layouts/partials/sidebar.blade.php
@@ -43,12 +43,12 @@
+
+
+
+
+
+