Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 18:32:21 +00:00
co-authored by renee-png
parent 0258aeafff
commit 5268631f67
+7
View File
@@ -1024,6 +1024,13 @@ function ImportPage() {
let clientId: string | null = null;
if (!caseId) {
// For time entries / expenses, never auto-create cases.
// Skip silently and report a count by reason.
if (cfg.key === "time_entries" || cfg.key === "expenses") {
const hint = row._casename || row._casenum || row._caseext;
bumpSkip(hint ? "no matching active case" : "missing case reference");
continue;
}
// Build display strings from hints
const extId = row._caseext ? String(row._caseext) : null;
const caseNum = row._casenum ? String(row._casenum).trim() : null;