feat: import FreePro accepte .xls, .xlsx et .csv

This commit is contained in:
Manus
2026-06-05 09:20:42 -04:00
parent 6224328331
commit a4c347e554
3 changed files with 14 additions and 7 deletions

View File

@@ -2218,7 +2218,7 @@ export const appRouter = router({
)
.mutation(async ({ input, ctx }) => {
const buffer = Buffer.from(input.fileBase64, "base64");
const result = processFreeproExcel(buffer, input.moisLabel);
const result = processFreeproExcel(buffer, input.moisLabel, input.fileName);
const importId = await createFreeproImport(
{