geer-builder 1.2.554 → 1.2.557
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/GSlotWallet.vue
CHANGED
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
<div class="label" v-else>Slot Limit</div>
|
|
38
38
|
<div class="value">{{user_info.hasOwnProperty('slot_owned') ? user_info.slot_owned : 0}}/{{ slot_limit }}</div>
|
|
39
39
|
</div>
|
|
40
|
-
<div v-if="current_slot_info.points.reactivation_fee" class="q-pt-sm q-pb-md">
|
|
40
|
+
<div v-if="current_slot_info.points.reactivation_fee || is_reactivation_fee_avail == true" class="q-pt-sm q-pb-md">
|
|
41
41
|
<div class="label" v-if="is_company_success">Higher Income Status</div>
|
|
42
42
|
<div class="label" v-else>Reactivation Fee</div>
|
|
43
|
-
<div class="value">{{$_formatNumber(current_slot_info.points.reactivation_fee, { decimal: 2 }) }}</div>
|
|
43
|
+
<div class="value">{{$_formatNumber(current_slot_info.points.hasOwnProperty("reactivation_fee") ? current_slot_info.points.reactivation_fee : 0 , { decimal: 2 }) }}</div>
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="wallet-grid" :style="is_company_ultrapro? 'display:block': temp_wallet ? 'grid-template-columns: 1fr 1fr 1fr' : 'grid-template-columns:1fr 1fr' && current_slot_info.points.hasOwnProperty('gc')">
|
|
@@ -202,6 +202,7 @@ export default
|
|
|
202
202
|
data: () =>
|
|
203
203
|
({
|
|
204
204
|
is_open_add_slot_dialog: false,
|
|
205
|
+
is_reactivation_fee_avail: false,
|
|
205
206
|
main_currency: "",
|
|
206
207
|
slot_limit: "",
|
|
207
208
|
settings: "",
|
|
@@ -242,6 +243,7 @@ export default
|
|
|
242
243
|
await this.memberUpdateSlotLimit();
|
|
243
244
|
await this.getGlobalPool();
|
|
244
245
|
await this.getDamayan();
|
|
246
|
+
await this.getReactivation();
|
|
245
247
|
|
|
246
248
|
if(this.is_company_success == true)
|
|
247
249
|
{
|
|
@@ -250,6 +252,14 @@ export default
|
|
|
250
252
|
},
|
|
251
253
|
methods:
|
|
252
254
|
{
|
|
255
|
+
async getReactivation()
|
|
256
|
+
{
|
|
257
|
+
|
|
258
|
+
if(this.settings.active_complan[13] && this.settings.active_complan[13].hasOwnProperty("active") && this.settings.active_complan[13].active)
|
|
259
|
+
{
|
|
260
|
+
this.is_reactivation_fee_avail = true;
|
|
261
|
+
}
|
|
262
|
+
},
|
|
253
263
|
async getDamayan()
|
|
254
264
|
{
|
|
255
265
|
await this.$bind('damayan_pool', new DB_STAT().doc('damayan'));
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div class="name" style="color: white !important">{{ first_name }}</div>
|
|
17
17
|
<div class="rank">{{ slot_info.membership.membership_name }}</div>
|
|
18
18
|
<div class="wallet">
|
|
19
|
-
{{ formatNumber(slot_info.wallet) }}
|
|
19
|
+
{{0 > slot_info.wallet? "-" : ""}}{{ formatNumber(slot_info.wallet) }}
|
|
20
20
|
</div>
|
|
21
21
|
<div class="wallet">
|
|
22
22
|
{{type == 'binary_one' ? formatNumber(slot_info.points.binary_points_left) : formatNumber(slot_info.points.binary_two_points_left)}} - {{ type == 'binary_one' ? formatNumber(slot_info.points.binary_points_right) : formatNumber(slot_info.points.binary_two_points_right) }}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class="name" style="color: white !important">{{ first_name }}</div>
|
|
33
33
|
<div class="rank">{{ slot_info.membership.membership_name }}</div>
|
|
34
34
|
<div class="wallet">
|
|
35
|
-
{{ formatNumber(slot_info.wallet) }}
|
|
35
|
+
{{0 > slot_info.wallet? "-" : ""}}{{ formatNumber(slot_info.wallet) }}
|
|
36
36
|
</div>
|
|
37
37
|
<div class="wallet">
|
|
38
38
|
{{type == 'binary_one' ? formatNumber(slot_info.points.binary_points_left) : formatNumber(slot_info.points.binary_two_points_left)}} - {{ type == 'binary_one' ? formatNumber(slot_info.points.binary_points_right) : formatNumber(slot_info.points.binary_two_points_right) }}
|