Added Multi-Company Support

This commit is contained in:
2026-06-08 00:54:21 -05:00
parent c164395915
commit db614a6707
32 changed files with 1133 additions and 323 deletions

View File

@@ -25,8 +25,8 @@ async function rowsFromImport(format, buffer) {
return Papa.parse(text, { header: true, skipEmptyLines: true }).data;
}
async function assetExport(format) {
const rows = assetExportRows();
async function assetExport(format, companyId) {
const rows = assetExportRows(companyId);
if (format === 'csv') {
return {
contentType: 'text/csv',