Merge pull request 'added payroll group' (#1) from paulcortezl5 into main

Reviewed-on: #1
pull/2/head
paul 8 months ago
commit 23660434a7

@ -0,0 +1,20 @@
<?php
namespace App\ClassLib;
class MiscLib
{
public static function getDateTime()
{
return date('Y-m-d H:i:s');
}
public static function adminLTETableTemplate()
{
$template = [
'table_open' => '<table class="table table-head-fixed table-hover text-nowrap">'
];
return $template;
}
}

@ -31,8 +31,11 @@ $routes->post('hr/addemp', 'HRController::addEmployee');
// Payroll Routes
$routes->get('payroll', 'PayrollController::index');
$routes->get('payroll/generatepayroll', 'PayrollController::generatePayroll');
$routes->post('payroll/generatepayroll', 'PayrollController::generatePayroll');
$routes->get('payroll/paygroup', 'PayrollController::payrollGroup');
$routes->post('payroll/addpaygroup', 'PayrollController::addPayrollGroup');
$routes->get('payroll/emppaygrpassign', 'PayrollController::employeePayrollGroupAssignment');
$routes->post('payroll/addemppaygrpassign', 'PayrollController::addEmployeePayrollGroupAssignment');
// Administrator Routes
$routes->get('adminuser', 'AdministratorController::index');

@ -11,6 +11,7 @@ use App\Models\CompanyBranchModel;
use App\Models\JobTitleModel;
use App\Models\EmploymentStatusModel;
use App\Models\EmployeeModel;
use App\Models\PayrollGroupModel;
// Entities
use App\Entities\CompanyDepartment;
@ -18,8 +19,12 @@ use App\Entities\CompanyBranch;
use App\Entities\JobTitle;
use App\Entities\EmploymentStatus;
use App\Entities\Employee;
use App\Entities\PayrollGroup;
use CodeIgniter\Shield\Entities\User;
// Class Library
use App\ClassLib\MiscLib;
class HRController extends BaseController
{
public function index()
@ -32,7 +37,7 @@ class HRController extends BaseController
$companyDepartments = (new CompanyDepartmentModel())->findAll();
$companyDeptHTMLTable = new \CodeIgniter\View\Table();
$companyDeptHTMLTable->setTemplate($this->adminLTETableTemplate());
$companyDeptHTMLTable->setTemplate(MiscLib::adminLTETableTemplate());
if($companyDepartments == null)
$data['tblCompanyDept'] = '<p>No departments found.</p>';
@ -77,7 +82,7 @@ class HRController extends BaseController
$companyBranches = (new CompanyBranchModel())->findAll();
$companyBranchHTMLTable = new \CodeIgniter\View\Table();
$companyBranchHTMLTable->setTemplate($this->adminLTETableTemplate());
$companyBranchHTMLTable->setTemplate(MiscLib::adminLTETableTemplate());
if($companyBranches == null)
$data['tblCompanyBranch'] = '<p>No branches found.</p>';
@ -119,7 +124,7 @@ class HRController extends BaseController
$jobTitles = (new JobTitleModel())->findAll();
$jobTitleHTMLTable = new \CodeIgniter\View\Table();
$jobTitleHTMLTable->setTemplate($this->adminLTETableTemplate());
$jobTitleHTMLTable->setTemplate(MiscLib::adminLTETableTemplate());
if($jobTitles == null)
$data['tblJobTitle'] = '<p>No job titles found.</p>';
@ -161,7 +166,7 @@ class HRController extends BaseController
$employmentStatus = (new EmploymentStatusModel())->findAll();
$empStatusHTMLTable = new \CodeIgniter\View\Table();
$empStatusHTMLTable->setTemplate($this->adminLTETableTemplate());
$empStatusHTMLTable->setTemplate(MiscLib::adminLTETableTemplate());
if($employmentStatus == null)
$data['tblEmploymentStatus'] = '<p>No employment status found.</p>';
@ -205,9 +210,10 @@ class HRController extends BaseController
$data['departments'] = (new CompanyDepartmentModel())->findAll();
$data['jobTitles'] = (new JobTitleModel())->findAll();
$data['employmentStatus'] = (new EmploymentStatusModel())->findAll();
$data['payGroups'] = (new PayrollGroupModel())->findAll();
$employeeHTMLTable = new \CodeIgniter\View\Table();
$employeeHTMLTable->setTemplate($this->adminLTETableTemplate());
$employeeHTMLTable->setTemplate(MiscLib::adminLTETableTemplate());
if($employees == null)
$data['tblEmployee'] = '<p>No employees found.</p>';
@ -245,15 +251,4 @@ class HRController extends BaseController
else
return redirect()->to('/hr/emp')->with('message', 'Employee Added');
}
// Class specific methods
private function adminLTETableTemplate()
{
$template = [
'table_open' => '<table class="table table-head-fixed table-hover text-nowrap">'
];
return $template;
}
}

@ -12,6 +12,9 @@ use App\Models\PayrollGroupModel;
// Entities
use App\Entities\PayrollGroup;
// Class Library
use App\ClassLib\MiscLib;
class PayrollController extends BaseController
{
public function index()
@ -22,6 +25,54 @@ class PayrollController extends BaseController
public function payrollGroup()
{
$payGroups = (new PayrollGroupModel())->findAll();
$payGroupHTMLTable = new \CodeIgniter\View\Table();
$payGroupHTMLTable->setTemplate(MiscLib::adminLTETableTemplate());
if($payGroups == null)
$data['tblPayGroup'] = '<p>No groups found.</p>';
else
{
foreach($payGroups as $group)
{
$payGroupHTMLTable->setHeading('Group ID', 'Group Name', 'Action');
$iconView = '<a href="#" class="ml-3" data-toggle="tooltip" title="View Group Information"><i class="fas fa-eye "></i></a>';
$payGroupHTMLTable->addRow($group->pay_group_id, $group->pay_group_code, $group->pay_group_name, "$iconView");
}
$data['tblPayGroup'] = $payGroupHTMLTable->generate();
}
return view('payroll/paygroupview', $data);
}
public function addPayrollGroup()
{
$payrollGroup = new PayrollGroup();
$payrollGroupModel = new PayrollGroupModel();
$rawData = $this->request->getPost();
$payrollGroup->fill($rawData);
$payrollGroupModel->save($payrollGroup);
if($payrollGroupModel->getInsertID() == 0)
return redirect()->back()->withInput()->with('error', 'Failed to add payroll group');
else
return redirect()->to('/payroll/paygroup')->with('message', 'Payroll Group Added');
}
public function employeePayrollGroupAssignment()
{
return view('payroll/empaygrpview');
}
public function addEmployeePayrollGroupAssignment()
{
}
}

@ -0,0 +1,34 @@
<?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class AddPayGrpOnEmployee extends Migration
{
public function up()
{
$fields = [
'pay_group_id' => [
'type' => 'INT',
'constraint' => 11,
'unsigned' => true,
'null' => false,
'default' => 0, // Remove this if you want to recreate Employee migration
'after' => 'emp_status_id',
],
];
$this->forge->addColumn('employee', $fields);
$this->forge->addForeignKey('pay_group_id', 'pay_group', 'pay_group_id', 'CASCADE', 'RESTRICT');
$this->forge->processIndexes('employee');
}
public function down()
{
$this->forge->dropForeignKey('employee', 'employee_pay_group_id_foreign');
$this->forge->processIndexes('employee');
$this->forge->dropColumn('employee', 'pay_group_id');
}
}

@ -114,6 +114,22 @@
</select>
</div>
</div>
<div class="form-group">
<!-- select -->
<div class="form-group">
<label>Payroll Group</label>
<select class="form-control" name="pay_group_id">
<?Php
foreach($payGroups as $payGroup){
$selected = ($payGroup->pay_group_id == old('pay_group_id')) ? 'selected' : '';
echo '<option value="'.$payGroup->pay_group_id.'" '.$selected.'>'.$payGroup->pay_group_name.'</option>';
}
?>
</select>
</div>
</div>
<div class="form-group">
<label for="txtCompanyIssuedID">ID Number</label>
<input class="form-control" type="text" id="txtCompanyIssuedID" name="company_issued_id" value="<?= old('company_issued_id') ?>">

@ -0,0 +1,105 @@
<!-- Extend area where template is defined -->
<?= $this->extend('templates/adminlte/generalcontent') ?>
<!-- .Extend -->
<!-- Title of the page -->
<?= $this->section('title') ?>Payroll Group<?= $this->endSection() ?>
<!-- .Title -->
<!-- CSS of the page -->
<?= $this->section('css') ?>
<?= $this->endSection() ?>
<!-- .CSS -->
<!-- body attribute - class definition -->
<?= $this->section('bodyclass') ?>sidebar-mini<?= $this->endSection() ?>
<!-- .body attribute -->
<!-- Container title -->
<?= $this->section('containertitle') ?>Payroll Group<?= $this->endSection() ?>
<!-- .Container title -->
<!-- Active breadcrumb -->
<?= $this->section('activebreadcrumb') ?>Payroll Group<?= $this->endSection() ?>
<!-- .Active breadcrumb -->
<!-- Main content -->
<?= $this->section('main') ?>
<!-- Modal Add Branch -->
<div class="modal fade" id="mdlAddBranch">
<div class="modal-dialog">
<div class="modal-content">
<form action="<?= url_to('payroll/addpaygroup') ?>" method="post">
<div class="modal-header">
<h4 class="modal-title" >New Group</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-12">
<p class="lead">Payroll Group Information</p>
<div class="row">
<div class="col-12">
<div class="form-group">
<label for="txtGroupCode">Payroll Group Code</label>
<input class="form-control" type="text" id="txtGroupCode" name="pay_group_code" value="<?= old('pay_group_code') ?>">
</div>
<div class="form-group">
<label for="txtGroupName">Payroll Group Name</label>
<input class="form-control" type="text" id="txtGroupName" name="pay_group_name" values="<?= old('pay_group_name') ?>">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-header">
<h3 class="card-title">List of Payroll Groups</h3>
</div>
<div class="card-body">
<div class="card-body table-responsive p-0">
<?= $tblPayGroup ?>
</div>
</div>
<div class="card-footer">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#mdlAddBranch">Add Branch</button>
</div>
</div>
</div>
</div>
<?= $this->endSection() ?>
<!-- .Main content -->
<!-- Javascript -->
<?= $this->section('js') ?>
<script>
$(document).ready(function() {
});
</script>
<?= $this->endSection() ?>
<!-- .Javascript -->

@ -202,11 +202,10 @@
<?php if(auth()->user()->inGroup('admin', 'superadmin', 'payroll')): ?>
<li class="nav-header">PAYROLL</li>
<li class="nav-item">
<a href="../calendar.html" class="nav-link">
<a href="/payroll/paygroup" class="nav-link">
<i class="nav-icon fas fa-calendar-alt"></i>
<p>
Calendar
<span class="badge badge-info right">2</span>
Payroll Group
</p>
</a>
</li>
@ -214,7 +213,8 @@
<a href="../gallery.html" class="nav-link">
<i class="nav-icon far fa-image"></i>
<p>
Gallery
EmpPay Assignment
<span class="badge badge-info right">2</span>
</p>
</a>
</li>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -276,3 +276,56 @@ INFO - 2024-09-08 01:13:51 --> Session: Class initialized using 'CodeIgniter\Ses
INFO - 2024-09-08 01:13:51 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 01:26:32 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 01:26:32 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:39:26 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:39:27 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:59:20 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:59:20 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:59:27 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:59:27 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:59:27 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:59:44 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 05:59:44 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 06:06:24 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 06:06:25 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 06:07:24 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 06:07:24 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 07:39:14 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-09-08 07:39:14 --> Error: Call to undefined method App\Controllers\PayrollController::adminLTETableTemplate()
in APPPATH\Controllers\PayrollController.php on line 28.
1 SYSTEMPATH\CodeIgniter.php(943): App\Controllers\PayrollController->payrollGroup()
2 SYSTEMPATH\CodeIgniter.php(503): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\PayrollController))
3 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
4 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
5 SYSTEMPATH\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\webroot\\www\\kwpayroll\\public\\index.php')
INFO - 2024-09-08 08:01:27 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:01:28 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:02:50 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-09-08 08:02:50 --> Error: Class "App\Controllers\MiscLib" not found
in APPPATH\Controllers\HRController.php on line 80.
1 SYSTEMPATH\CodeIgniter.php(943): App\Controllers\HRController->companyBranch()
2 SYSTEMPATH\CodeIgniter.php(503): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\HRController))
3 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
4 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
5 SYSTEMPATH\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\webroot\\www\\kwpayroll\\public\\index.php')
INFO - 2024-09-08 08:03:05 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:03:06 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:03:08 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:03:08 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:03:09 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:03:09 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:23 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:23 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:23 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:42 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:42 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:42 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:52 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:52 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:05:52 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:06:13 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:06:14 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:06:49 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:06:49 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:06:50 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:06:55 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-08 08:06:55 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.

@ -0,0 +1,15 @@
INFO - 2024-09-09 06:58:35 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 06:58:36 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 06:58:38 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 06:58:38 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 06:58:52 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 06:58:52 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 06:58:53 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:03:21 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:03:21 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:04:56 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:04:56 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:05:12 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:05:13 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:05:28 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-09 07:05:28 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.

@ -0,0 +1,28 @@
INFO - 2024-09-11 06:04:20 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:20 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:22 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:22 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:46 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:46 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:46 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:51 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:04:51 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:34:33 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 06:34:33 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:49:56 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:49:56 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:49:56 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:50:03 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:50:03 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:50:03 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:50:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:50:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-09-11 08:50:11 --> Error: Class "App\Controllers\PayrollGroupModel" not found
in APPPATH\Controllers\HRController.php on line 211.
1 SYSTEMPATH\CodeIgniter.php(943): App\Controllers\HRController->employee()
2 SYSTEMPATH\CodeIgniter.php(503): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\HRController))
3 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
4 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
5 SYSTEMPATH\Commands\Server\rewrite.php(47): require_once('C:\\Projects\\webroot\\www\\kwpayroll\\public\\index.php')
INFO - 2024-09-11 08:51:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-09-11 08:51:11 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.

@ -0,0 +1 @@
__ci_last_regenerate|i:1725775160;_ci_previous_url|s:22:"http://localhost:8080/";csrf_test_name|s:32:"0a1c5406b3c32ddbc36b51f62231cd84";
Loading…
Cancel
Save