feat: always show checklists in overview and add quarterly/halfyearly intervals

This commit is contained in:
Matthias Hochmeister
2026-03-28 17:46:31 +01:00
parent a52bb2a57c
commit 6091d6c4dd
3 changed files with 69 additions and 44 deletions

View File

@@ -127,19 +127,13 @@ export interface CreateVorlagePayload {
fahrzeug_id?: string;
ausruestung_typ_id?: number;
ausruestung_id?: string;
intervall?: 'weekly' | 'monthly' | 'yearly' | 'custom';
intervall_tage?: number;
beschreibung?: string;
aktiv?: boolean;
}
export interface UpdateVorlagePayload {
intervall?: 'weekly' | 'monthly' | 'quarterly' | 'halfyearly' | 'yearly' | 'custom';
name?: string;
fahrzeug_typ_id?: number | null;
fahrzeug_id?: string | null;
ausruestung_typ_id?: number | null;
ausruestung_id?: string | null;
intervall?: 'weekly' | 'monthly' | 'yearly' | 'custom' | null;
intervall?: 'weekly' | 'monthly' | 'quarterly' | 'halfyearly' | 'yearly' | 'custom' | null;
intervall_tage?: number | null;
beschreibung?: string | null;
aktiv?: boolean;
@@ -187,7 +181,8 @@ export interface ChecklistWidgetSummary {
export interface ChecklistOverviewChecklist {
vorlage_id: number;
vorlage_name: string;
next_due?: string;
intervall?: string | null;
next_due?: string | null;
}
export interface ChecklistOverviewItem {