Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 22:02:18 +00:00
co-authored by renee-png
parent 67fbbfd161
commit 4bda7b9765
+5
View File
@@ -853,6 +853,11 @@ function ImportPage() {
"external_id",
"created_by",
]);
// Allow internal columns we set in transforms but never read from CSV.
if (cfg.table === "time_entries" || cfg.table === "expenses") {
allowedTargets.add("billed");
allowedTargets.add("invoice_id");
}
// Build header → db column map (only keep known targets)
const headerMap: Record<string, string> = {};
const unknownHeaders: string[] = [];