fix(drafts): exclude drafts from VAT/revenue/created aggregations + koncept audit labels

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-06-09 19:04:10 +02:00
parent 52ff0a6ffa
commit 9e9aacdf0b
6 changed files with 133 additions and 5 deletions

View File

@@ -252,7 +252,7 @@ export default async function quotationsRoutes(
action: "create",
entityType: "quotation",
entityId: quotation.id,
description: `Vytvořena nabídka ${quotation.quotation_number}`,
description: `Vytvořena nabídka ${quotation.quotation_number ?? "koncept"}`,
});
return success(
reply,