This commit is contained in:
seb
2026-10-13 13:21:11 +02:00
parent a5886b7c92
commit 8a626b17fc
15 changed files with 541 additions and 83 deletions

View File

@@ -14,6 +14,7 @@ import resolveSelectedCompanyAccess from '../companyuser/resolveSelectedCompanyA
import taxEnsure from '../tax/ensure.js';
import { insertLines, normalizeLines, parseDate } from '../manifestLines.js';
import { assertCustomerEntity, loadDoc, shapeSummary } from '../manifestDoc/helpers.js';
import { syncOrderSummary } from './syncSummary.js';
import makeRunner from '../runner.js';
export default function update(provider) {
@@ -146,6 +147,7 @@ export default function update(provider) {
}
const doc = await loadDoc(runner, { type: orderType, companyId, id });
await syncOrderSummary(runner, { companyId, manifestId: id });
return doc;
};