Add FlatPaymentController with RESTful payment endpoints
Introduced FlatPaymentController under Distribution.Features.Payment, providing GET and POST endpoints at /api/payments. Supports listing, retrieving, and creating payments with filtering and error handling. Business logic is delegated to PaymentService.
This commit is contained in:
@@ -95,3 +95,4 @@ Ordered by **data dependency** — each module can only work once the modules ab
|
||||
- Pages live in `app/(dashboard)/<module>/page.tsx`.
|
||||
- Shared UI goes in `components/shared/`, module-specific UI stays co-located with the page.
|
||||
- Permissions are checked via `useAuth()` — never hard-code role names in pages.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user