geer-builder 1.2.672 → 1.2.673

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.
@@ -23,7 +23,7 @@
23
23
  earn[0] == 'hustle_bonus' ? 'Hustle Bonus' :
24
24
  earn[0] == 'unilevel' ? 'Unilevel' :
25
25
  earn[0] == 'binary' ? 'Binary' :
26
- earn[0] == 'binary_two' ? 'Binary Two' :
26
+ earn[0] == 'binary_two' ? (binary_two_label || 'Binary Two') :
27
27
  earn[0] == 'profit_sharing' ? 'Profit Sharing' :
28
28
  earn[0] == 'cash_reward' ? 'Cash Reward' :
29
29
  earn[0] == 'ecommerce_referral' ? 'ECommerce Referral' :
@@ -90,6 +90,7 @@ export default
90
90
  amount: "",
91
91
  log_type: "",
92
92
  },
93
+ binary_two_label: null
93
94
  }),
94
95
  async mounted()
95
96
  {
@@ -99,6 +100,11 @@ export default
99
100
  this.settings = await this.$_getData('public_settings');
100
101
  this.main_currency = this.settings.main_currency;
101
102
  this.load_breakdown();
103
+
104
+ if (this.settings && this.settings.binary_two_label)
105
+ {
106
+ this.binary_two_label = this.settings.binary_two_label;
107
+ }
102
108
  },
103
109
  watch:
104
110
  {
package/GProductList.vue CHANGED
@@ -46,12 +46,12 @@
46
46
  <div class="prod_price discount" v-else>{{main_currency}} {{ $_formatNumber(field.selling_price, { decimal: 2 }) }}</div>
47
47
  </div>
48
48
  <template v-if="!show_only">
49
- <div v-if="field.gc_price>0" class="gc_price gc">GC {{$_formatNumber(field.gc_price, { decimal: 2})}}</div>
50
- <div v-else class="gc_price gc">Not Purchasable by GC</div>
49
+ <div v-if="field.gc_price>0" class="gc_price gc">{{ (public_settings && public_settings.gc_label) || 'GC' }} {{$_formatNumber(field.gc_price, { decimal: 2})}}</div>
50
+ <div v-else class="gc_price gc">Not Purchasable by {{ (public_settings && public_settings.gc_label) || 'GC' }}</div>
51
51
  </template>
52
52
  <div class="add-cart" v-if="show_button">View Product</div>
53
53
  </div>
54
- <div v-else class="prod_price price">GC {{$_formatNumber(field.gc_price, { decimal: 2})}}</div>
54
+ <div v-else class="prod_price price">{{ (public_settings && public_settings.gc_label) || 'GC' }} {{$_formatNumber(field.gc_price, { decimal: 2})}}</div>
55
55
  <div class="ratings-grid">
56
56
  <div class="product-ratings" v-if="show_ratings">
57
57
  <div class="ratings-total" :style="field.ratings <=0 ? 'color: gray;' : ''">
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
  </div>
24
24
  <div class="q-pt-sm grid-item" style="cursor:pointer;" @click="is_gc_logs_dialog_open=true" v-if="current_slot_info.points.hasOwnProperty('gc')" >
25
- <div class="label">Current GC</div>
25
+ <div class="label">Current {{ (settings && settings.gc_label) || 'GC' }}</div>
26
26
  <div class="value">{{ $_formatNumber(current_slot_info.points.gc ? current_slot_info.points.gc : 0, { decimal: 2 }) }}</div>
27
27
  <div class="label">
28
28
  <q-btn size="12px" class="full-width q-pa-sm text-primary" flat>
package/GSlotWallet.vue CHANGED
@@ -119,7 +119,7 @@
119
119
 
120
120
  <div class="section-holder" v-if="current_slot_info.points.hasOwnProperty('gc')">
121
121
  <div class="label" v-if="vortex">Vortex</div>
122
- <div class="label" v-else >Current GC</div>
122
+ <div class="label" v-else >Current {{ (settings && settings.gc_label) || 'GC' }}</div>
123
123
  <div class="value">GC {{ $_formatNumber(current_slot_info.points.gc ? current_slot_info.points.gc : 0, { decimal: 2 }) }}</div>
124
124
  <div class="button-holder" style="cursor:pointer;" @click="is_gc_logs_dialog_open=true">
125
125
  <q-btn size="12px" class="full-width q-pa-sm text-primary" flat>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.672",
3
+ "version": "1.2.673",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {