Refine monthly close cleanup

This commit is contained in:
2026-08-05 15:21:55 +02:00
parent ca5e015065
commit 20bc04778d
5 changed files with 212 additions and 57 deletions
+7
View File
@@ -284,6 +284,13 @@ export function updateTicketDayBilling(ticketId: string, day: string, billedMinu
});
}
export function acknowledgeMissingTicketDayBilling(ticketId: string, day: string, acknowledged = true) {
return request(`/api/tickets/${ticketId}/day-billings/${day}/acknowledgement`, {
method: "PATCH",
body: JSON.stringify({ acknowledged })
});
}
export function getMonthOverview(month: string) {
return getPeriodOverview("month", month);
}