Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
172400600e
commit
6463081ba7
@@ -825,7 +825,7 @@ function ImportPage() {
|
||||
// archived client + archived case from the row hints, then attach a
|
||||
// placeholder voided invoice so the row imports as "already invoiced".
|
||||
if (cfg.table === "time_entries" || cfg.table === "expenses") {
|
||||
const placeholderInvoiceByClient = new Map<string, string>();
|
||||
// Cache of (clientId,invoiceNumber) -> invoiceId is defined below
|
||||
const ensureArchivedClient = async (name: string, extId?: string | null): Promise<string | null> => {
|
||||
const key = name.toLowerCase().trim();
|
||||
const existing = (extId && ctx.clientByExt.get(String(extId))) || ctx.clientByName.get(key);
|
||||
|
||||
Reference in New Issue
Block a user