u
This commit is contained in:
@@ -3,6 +3,7 @@ import taxEnsure from '../tax/ensure.js';
|
||||
import { insertLines, parseDate } from '../manifestLines.js';
|
||||
import makeRunner from '../runner.js';
|
||||
import { loadShipment, queriesFor } from './helpers.js';
|
||||
import { syncOrderSummary } from '../order/syncSummary.js';
|
||||
|
||||
function requireId(val, name) {
|
||||
const n = Number(val);
|
||||
@@ -181,6 +182,8 @@ export default function create(provider) {
|
||||
ensureTax,
|
||||
});
|
||||
|
||||
await syncOrderSummary(runner, { companyId, manifestId: orderId });
|
||||
|
||||
return loadShipment(runner, q, companyId, manifestId);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user