- 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
32 lines
587 B
PHP
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']
|
|
]);
|
|
}
|
|
|
|
}
|