mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-27 11:04:04 +00:00
feat(user-topups): add user topups page with dynamic filtering and admin table integration ✨
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Has been cancelled
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Has been cancelled
feat(admin-devices-table): update admin check to use is_admin and clean up device display logic ✨ feat(admin-topup-table): create admin topups table with pagination and detail view links ✨ fix(user-payments-table): correct user data access and display payment amount with currency ✨ feat(app-sidebar): add link for user topups in the admin sidebar ✨ fix(backend-types): enhance Payment interface to include user details for better data handling ✨
This commit is contained in:
@ -87,7 +87,9 @@ export interface Payment {
|
||||
updated_at: string;
|
||||
status: "CANCELLED" | "PENDING" | "PAID";
|
||||
mib_reference: string | null;
|
||||
user: number;
|
||||
user: Pick<User, "id" | "id_card" | "mobile"> & {
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface NewPayment {
|
||||
|
Reference in New Issue
Block a user