gdc_cmod/app/Controllers/Pages/PhlebotomistController.php
mahdahar 08337b300d feat: Add specimen collection page and improve error handling
- Add new phlebo/collect.php view (341 lines) for specimen collection workflow
- Add route for phlebotomist collection page in Routes.php
- Add collect() method to PhlebotomistController
- Update error pages (notfound.php, unauthorized.php) for better user experience
- Enhance login page with improved UI elements
- Update shared dialogs (dialog_results_generate.php, dialog_sample.php) with improvements
- Update config.php with new configurations
- Update UAT checklist documentation
- Fix AuthController login handling
2026-02-09 13:39:51 +07:00

32 lines
587 B
PHP

<?php
namespace App\Controllers\Pages;
use App\Controllers\BaseController;
class PhlebotomistController extends BaseController
{
public function __construct()
{
helper(['url', 'form', 'text']);
}
public function index()
{
$config = require APPPATH . 'Views/shared/config.php';
return view('phlebo/index', ['roleConfig' => $config['phlebo']]);
}
public function collect()
{
$config = require APPPATH . 'Views/shared/config.php';
return view('phlebo/collect', [
'roleConfig' => $config['phlebo']
]);
}
}