Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
67fbbfd161
commit
4bda7b9765
@@ -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[] = [];
|
||||
|
||||
Reference in New Issue
Block a user