This commit is contained in:
hafifierahman
2022-01-26 16:15:13 +08:00
parent 2b43a0645f
commit 254e1d5029
2 changed files with 69 additions and 12 deletions
+63 -6
View File
@@ -78064,7 +78064,17 @@ var render = function () {
: _vm.percentcumgadai + "%",
},
},
[_vm._v(" " + _vm._s(this.percentcumgadai) + "%")]
[
_vm._v(
" " +
_vm._s(
this.percentcumgadai >= 0
? this.percentcumgadai
: 0.0
) +
"%"
),
]
),
]
),
@@ -78079,7 +78089,16 @@ var render = function () {
staticClass:
"text-sm ml-2 font-bold -mt-0.5 xs:invisible",
},
[_vm._v("RM " + _vm._s(_vm.gadaianremaining))]
[
_vm._v(
"RM " +
_vm._s(
_vm.gadaianremaining >= 0
? _vm.gadaianremaining
: "0.00"
)
),
]
),
]
),
@@ -78323,7 +78342,17 @@ var render = function () {
: _vm.percentcumtebus + "%",
},
},
[_vm._v(" " + _vm._s(_vm.percentcumtebus) + "%")]
[
_vm._v(
" " +
_vm._s(
_vm.percentcumtebus >= 0
? _vm.percentcumtebus
: 0.0
) +
"%"
),
]
),
]
),
@@ -78335,7 +78364,16 @@ var render = function () {
_c(
"span",
{ staticClass: "text-sm ml-2 font-bold -mt-0.5" },
[_vm._v("RM " + _vm._s(_vm.tebusremaining))]
[
_vm._v(
"RM " +
_vm._s(
_vm.tebusremaining >= 0
? _vm.tebusremaining
: "0.00"
)
),
]
),
]
),
@@ -78579,7 +78617,17 @@ var render = function () {
: _vm.percentcumkeuntungan + "%",
},
},
[_vm._v(" " + _vm._s(_vm.percentcumkeuntungan) + "%")]
[
_vm._v(
" " +
_vm._s(
_vm.percentcumkeuntungan >= 0
? _vm.percentcumkeuntungan
: 0.0
) +
"%"
),
]
),
]
),
@@ -78591,7 +78639,16 @@ var render = function () {
_c(
"span",
{ staticClass: "text-sm ml-2 font-bold -mt-0.5" },
[_vm._v("RM " + _vm._s(_vm.keuntunganremaining))]
[
_vm._v(
"RM " +
_vm._s(
_vm.keuntunganremaining >= 0
? _vm.keuntunganremaining
: "0.00"
)
),
]
),
]
),
+6 -6
View File
@@ -14,11 +14,11 @@
<div class="flex flex-nowrap">
<div class="w-3/4 h-4 bg-gray-200 rounded-full">
<div class="bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full" v-bind:style="{ width: (percentcumgadai > 100) ? 100 : percentcumgadai + '%' }"> {{ this.percentcumgadai }}%</div>
<div class="bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full" v-bind:style="{ width: (percentcumgadai > 100) ? 100 : percentcumgadai + '%' }"> {{ this.percentcumgadai >= 0 ? this.percentcumgadai : 0.00 }}%</div>
</div>
<div class="xl:w-2/5 2xl:w-1/4 grid grid-rows-2">
<span class="text-sm ml-2 font-bold -mt-0.5 xs:invisible">RM {{ gadaianremaining }}</span>
<span class="text-sm ml-2 font-bold -mt-0.5 xs:invisible">RM {{ gadaianremaining >= 0 ? gadaianremaining : '0.00' }}</span>
<!-- <span class="text-xs leading-none font-bold text-gray-900 mx-auto flex place-self-center -mt-3 ml-12">remaining.. </span> -->
</div>
</div>
@@ -76,11 +76,11 @@
<div class="flex flex-nowrap">
<div class="w-3/4 h-4 bg-gray-200 rounded-full">
<div class="bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full" v-bind:style="{ width: (percentcumtebus > 100) ? 100 : percentcumtebus + '%' }"> {{ percentcumtebus }}%</div>
<div class="bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full" v-bind:style="{ width: (percentcumtebus > 100) ? 100 : percentcumtebus + '%' }"> {{ percentcumtebus >= 0 ? percentcumtebus : 0.00 }}%</div>
</div>
<div class="xl:w-2/5 2xl:w-1/4 grid grid-rows-2">
<span class="text-sm ml-2 font-bold -mt-0.5">RM {{ tebusremaining }}</span>
<span class="text-sm ml-2 font-bold -mt-0.5">RM {{ tebusremaining >= 0 ? tebusremaining : '0.00' }}</span>
<!-- <span class="text-xs leading-none font-bold text-gray-900 mx-auto flex place-self-center -mt-3 ml-12">remaining.. </span> -->
</div>
@@ -141,11 +141,11 @@
<div class="flex flex-nowrap">
<div class="w-3/4 h-4 bg-gray-200 rounded-full">
<div class="bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full" v-bind:style="{ width: (percentcumkeuntungan > 100) ? 100 : percentcumkeuntungan + '%' }"> {{percentcumkeuntungan}}%</div>
<div class="bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full" v-bind:style="{ width: (percentcumkeuntungan > 100) ? 100 : percentcumkeuntungan + '%' }"> {{percentcumkeuntungan >= 0 ? percentcumkeuntungan : 0.00}}%</div>
</div>
<div class="xl:w-2/5 2xl:w-1/4 grid grid-rows-2">
<span class="text-sm ml-2 font-bold -mt-0.5">RM {{ keuntunganremaining }}</span>
<span class="text-sm ml-2 font-bold -mt-0.5">RM {{ keuntunganremaining >= 0 ? keuntunganremaining : '0.00' }}</span>
<!-- <span class="text-xs leading-none font-bold text-gray-900 mx-auto flex place-self-center -mt-3 ml-12">remaining.. </span> -->