- Refactor 'app/Views/superuser/users.php' to fix user creation/editing logic using Alpine.js. - Ensure efficient form state management (userid, username, password handling) in user modal. - Standardize dashboard layouts and script initialization (window.BASEURL) across 'admin', 'cs', 'lab', 'phlebo', and 'superuser' main views. - Remove redundant 'app/Views/admin/users.php' to consolidate user management.
18 lines
255 B
PHP
18 lines
255 B
PHP
<?php
|
|
|
|
namespace App\Controllers\Pages;
|
|
|
|
use App\Controllers\BaseController;
|
|
|
|
class CsController extends BaseController {
|
|
|
|
public function __construct() {
|
|
helper(['url', 'form', 'text']);
|
|
}
|
|
|
|
public function index() {
|
|
return view('cs/index');
|
|
}
|
|
|
|
}
|