customer report

This commit is contained in:
omair saleh
2021-10-02 15:17:22 +08:00
parent c74e2927ad
commit 93c9412298
@@ -19,15 +19,15 @@
<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)}} CBM</h3>
<span class="small hint-text pull-left">{{ Math.ceil((((report.total_cbm / 700) * 100) * 100) / 100).toFixed(2)}}%</span>
<span class="pull-right small text-primary">Goal: 700 CBM</span>
<span class="small hint-text pull-left">{{ Math.ceil((((report.total_cbm / 1000) * 100) * 100) / 100).toFixed(2)}}%</span>
<span class="pull-right small text-primary">Goal: 1000 CBM</span>
</div>
</div>
</div>
<div class="row-xs-height">
<div class="col-xs-height col-bottom">
<div class="progress progress-small m-b-0">
<div class="progress-bar progress-bar-primary" :style="{'width': Math.ceil((((report.total_cbm / 700) * 100) * 100) / 100).toFixed(2)+'%'}"></div>
<div class="progress-bar progress-bar-primary" :style="{'width': Math.ceil((((report.total_cbm / 1000) * 100) * 100) / 100).toFixed(2)+'%'}"></div>
</div>
</div>
</div>