fix daily cbm report

This commit is contained in:
omair saleh
2021-10-12 14:07:21 +08:00
parent b355df27db
commit bcf7ae4098
@@ -43,7 +43,7 @@
<div class="row-xs-height">
<div class="col-xs-height col-top">
<div class="p-l-20 p-t-50 p-b-40 p-r-20">
<h3 class="no-margin p-b-5">{{(Math.ceil(report.total_cbm * 1000) / 1000).toFixed(3)}} <small class="fs-12">{{(report.daily_cbm).toFixed(0)}} CBM/Day</small></h3>
<h3 class="no-margin p-b-5">{{(Math.ceil(report.total_cbm * 1000) / 1000).toFixed(3)}} <small class="fs-12">+{{(report.daily_cbm).toFixed(0)}} CBM/Day</small></h3>
<span class="small hint-text pull-left">{{((report.total_cbm / 800) * 100).toFixed(2)}}%</span>
<span class="pull-right small text-primary">Goal: 800 CBM </span>
</div>
@@ -105,7 +105,7 @@
<div class="row-xs-height">
<div class="col-xs-height col-top">
<div class="p-l-20 p-t-50 p-b-40 p-r-20">
<h3 class="no-margin p-b-5">{{report.active_customers}} <small class="fs-12">+{{(report.total_cbm / report.active_customers).toFixed(3)}} CBM</small></h3>
<h3 class="no-margin p-b-5">{{report.active_customers}} <small class="fs-12">{{(report.total_cbm / report.active_customers).toFixed(3)}} CBM</small></h3>
<span class="small hint-text pull-left">{{((report.active_customers / report.total_customers) * 100).toFixed(2)}}%</span>
<span class="pull-right small text-primary">Total Customers: {{report.total_customers}}</span>
</div>