Add Orders and Order Status repositories with pagination and management features
- Implemented OrdersRepository for handling order data with pagination, filtering, and sorting capabilities. - Added methods for retrieving order status options, quick stats, and detailed order information. - Created OrderStatusRepository for managing order status groups and statuses, including CRUD operations and sorting. - Introduced a bootstrap file for test environment setup and autoloading.
This commit is contained in:
@@ -22,7 +22,7 @@ final class AuthController
|
||||
public function showLogin(Request $request): Response
|
||||
{
|
||||
if ($this->auth->check()) {
|
||||
return Response::redirect('/dashboard');
|
||||
return Response::redirect('/settings/users');
|
||||
}
|
||||
|
||||
$html = $this->template->render('auth/login', [
|
||||
@@ -59,7 +59,7 @@ final class AuthController
|
||||
return Response::redirect('/login');
|
||||
}
|
||||
|
||||
return Response::redirect('/dashboard');
|
||||
return Response::redirect('/settings/users');
|
||||
}
|
||||
|
||||
public function logout(Request $request): Response
|
||||
|
||||
Reference in New Issue
Block a user