moved subscriptions and licences requests to subpages & renaming

This commit is contained in:
Alex
2024-10-10 21:54:09 +02:00
parent d54f2ae2e6
commit fcfc8ad1e0
11 changed files with 99 additions and 148 deletions

View File

@@ -30,7 +30,7 @@ interface BankAccount {
mandate_reference: string | "";
}
interface DriversLicence {
interface Licence {
id: number | -1;
status: number | -1;
licence_number: string | "";
@@ -63,7 +63,7 @@ interface User {
payment_status: number | -1;
membership: Membership;
bank_account: BankAccount;
drivers_licence: DriversLicence;
licence: Licence;
notes: string | "";
}
@@ -72,6 +72,7 @@ declare global {
// interface Error {}
interface Locals {
user: User;
users: User[];
subscriptions: Subscription[];
licence_categories: LicenceCategory[];
}