- Reorganized Architecture: Moved Master data management (Controls, Departments, Tests) to a dedicated Master namespace/directory for better modularity.
- Unified Data Entry: Consolidated daily and monthly QC entry views and logic into a single streamlined system.
- UI/UX Modernization:
- Integrated DaisyUI and Alpine.js for a responsive, themeable, and interactive experience.
- Replaced legacy layouts with a new DaisyUI-based template.
- Updated branding with new logo and favicon assets.
- Cleaned up deprecated JavaScript assets (app.js, charts.js, tables.js).
- Backend Enhancements:
- Added `ControlEntryModel` and `ResultCommentsController` for improved data handling and auditing.
- Updated routing to support the new controller structure and consolidated API endpoints.
- Documentation & Assets:
- Added [docs/PRD.md](cci:7://file:///c:/www/tinyqc/docs/PRD.md:0:0-0:0) and [docs/llms.txt](cci:7://file:///c:/www/tinyqc/docs/llms.txt:0:0-0:0) for project context and requirements.
- Included database schema scripts and backups in the `backup/` directory.
- Cleanup: Removed legacy TUI progress files and unused commands.
42 lines
779 B
PHP
42 lines
779 B
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
use CodeIgniter\API\ResponseTrait;
|
|
|
|
class PageController extends BaseController {
|
|
use ResponseTrait;
|
|
|
|
public function dashboard() {
|
|
return view('dashboard');
|
|
}
|
|
|
|
public function masterDept() {
|
|
return view('master/dept/index');
|
|
}
|
|
|
|
public function masterTest() {
|
|
return view('master/test/index');
|
|
}
|
|
|
|
public function masterControl() {
|
|
return view('master/control/index');
|
|
}
|
|
|
|
public function entry() {
|
|
return view('entry/index');
|
|
}
|
|
|
|
public function entryDaily() {
|
|
return view('entry/daily');
|
|
}
|
|
|
|
public function report() {
|
|
return view('report/index');
|
|
}
|
|
|
|
public function reportView() {
|
|
return view('report/view');
|
|
}
|
|
}
|