- Implement Monthly Entry interface with full data entry grid
- Add batch save with validation and statistics for monthly results
- Support daily comments per day per test
- Add result status indicators and validation summaries
- Consolidate Entry API controller
- Refactor EntryApiController to handle both daily/monthly operations
- Add batch save endpoints with comprehensive validation
- Implement statistics calculation for result entries
- Add Control Test master data management
- Create MasterControlsController for CRUD operations
- Add dialog forms for control test configuration
- Implement control-test associations with QC parameters
- Refactor Report API and views
- Implement new report index with Levey-Jennings charts placeholder
- Add monthly report functionality with result statistics
- Include QC summary with mean, SD, and CV calculations
- UI improvements
- Overhaul dashboard with improved layout
- Update daily entry interface with inline editing
- Enhance master data management with DaisyUI components
- Add proper modal dialogs and form validation
- Database and seeding
- Update migration for control_tests table schema
- Remove redundant migration and seed files
- Update seeders with comprehensive test data
- Documentation
- Update CLAUDE.md with comprehensive project documentation
- Add architecture overview and conventions
BREAKING CHANGES:
- Refactored Entry API endpoints structure
- Removed ReportApiController::view() - consolidated into new report index
50 lines
955 B
PHP
50 lines
955 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 controlTests() {
|
|
return view('master/control_test/index');
|
|
}
|
|
|
|
public function entry() {
|
|
return view('entry/index');
|
|
}
|
|
|
|
public function entryDaily() {
|
|
return view('entry/daily');
|
|
}
|
|
|
|
public function entryMonthly() {
|
|
return view('entry/monthly');
|
|
}
|
|
|
|
public function report() {
|
|
return view('report/index');
|
|
}
|
|
|
|
public function reportView() {
|
|
return view('report/view');
|
|
}
|
|
}
|