Looking at routes/admin/index.js line 823, we see that the .getOrder middleware is being told to applyPriceHike. I seem to recall Om saying something about the amenities not being included in the total. And indeed, the amenities aren't being pulled in from the order middleware. I think you could just say amenities: true and fix it. Or you could replace all of the unnecessary flags with useLatestRevision: true
Looking at
routes/admin/index.js
line 823, we see that the.getOrder
middleware is being told toapplyPriceHike
. I seem to recall Om saying something about the amenities not being included in the total. And indeed, the amenities aren't being pulled in from the order middleware. I think you could just sayamenities: true
and fix it. Or you could replace all of the unnecessary flags withuseLatestRevision: true