refactor: change kontonummer to INTEGER, derive sub-account number as parent + suffix (arithmetic)
This commit is contained in:
@@ -84,7 +84,7 @@ export interface Konto {
|
||||
id: number;
|
||||
haushaltsjahr_id: number;
|
||||
konto_typ_id: number | null;
|
||||
kontonummer: string;
|
||||
kontonummer: number;
|
||||
bezeichnung: string;
|
||||
parent_id: number | null;
|
||||
budget_gwg: number;
|
||||
@@ -140,7 +140,7 @@ export interface Transaktion {
|
||||
aktualisiert_am: string;
|
||||
// Joined fields
|
||||
konto_bezeichnung?: string;
|
||||
konto_kontonummer?: string;
|
||||
konto_kontonummer?: number;
|
||||
bankkonto_bezeichnung?: string;
|
||||
belege?: Beleg[];
|
||||
}
|
||||
@@ -219,7 +219,7 @@ export interface BankkontoFormData {
|
||||
export interface KontoFormData {
|
||||
haushaltsjahr_id: number;
|
||||
konto_typ_id?: number;
|
||||
kontonummer: string;
|
||||
kontonummer: number;
|
||||
bezeichnung: string;
|
||||
budget_gwg: number;
|
||||
budget_anlagen: number;
|
||||
|
||||
Reference in New Issue
Block a user