update packinglists from vt portal jobs and schedule

This commit is contained in:
omair saleh
2021-08-29 21:20:49 +08:00
parent 66c3b532cb
commit 61c11aef26
2 changed files with 5 additions and 1 deletions
@@ -67,7 +67,7 @@
</div>
<div class="col-auto text-right">
<small class="fs-10 all-caps muted">Total CBM</small>
<h6 class="no-margin semi-bold">0.00</h6>
<h6 class="no-margin semi-bold">{{(Math.round((item.origin_warehouse_packages.reduce((total, obj) => obj.cbm + total, 0) + item.in_transit_packages.reduce((total, obj) => obj.cbm + total, 0) + item.delivered_packages.reduce((total, obj) => obj.cbm + total, 0)) * 10000) / 10000).toFixed(3)}}</h6>
</div>
</div>
</div>