geer-builder 1.2.615 → 1.2.618

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/GCheckout.vue CHANGED
@@ -1175,9 +1175,33 @@ export default {
1175
1175
  this.$q.dialog({ html: true, title: `Something's not quite right`, message: "Shipping Address is outdated please update or add new shipping address to use COD." });
1176
1176
  return;
1177
1177
  }
1178
+
1179
+ let is_fixed_poo = false;
1180
+ let fixed_poo_region_code = null;
1181
+ if(this.public_settings.hasOwnProperty("enable_fixed_poo_payo"))
1182
+ {
1183
+ if(this.public_settings.enable_fixed_poo_payo == true && this.public_settings.hasOwnProperty("fixed_poo_region_code"))
1184
+ {
1185
+ is_fixed_poo = true;
1186
+ fixed_poo_region_code = this.public_settings.fixed_poo_region_code;
1187
+ }
1188
+ }
1189
+
1190
+
1191
+
1192
+
1178
1193
  let params = new URLSearchParams();
1179
1194
  params.append("api_token", payo_courier_settings.api_token);
1180
- params.append("point_of_origin", orders.merchant_details.pickup_address.province.reg_code);
1195
+
1196
+ if(is_fixed_poo == true && fixed_poo_region_code != null)
1197
+ {
1198
+ params.append("point_of_origin", fixed_poo_region_code);
1199
+ }
1200
+ else
1201
+ {
1202
+ params.append("point_of_origin", orders.merchant_details.pickup_address.province.reg_code);
1203
+ }
1204
+
1181
1205
  params.append("amount", total_item_price);
1182
1206
  params.append("size", size);
1183
1207
  params.append("payment_method", "COD");
package/GCodeVault.vue CHANGED
@@ -65,7 +65,7 @@
65
65
  <div class="row text-center overflow-hidden">
66
66
  <div class="col-md-12 q-ma-sm">
67
67
  <q-btn @click="is_open_add_slot_dialog = true" class="create-btn" color="primary" outline>
68
- Create New Slot
68
+ Activate Slot
69
69
  </q-btn>
70
70
  </div>
71
71
  <div class="col-md-12 q-ma-sm">
package/GEcomChat.vue CHANGED
@@ -264,7 +264,7 @@
264
264
  <div class="row text-center overflow-hidden">
265
265
  <div class="col-md-12 q-ma-sm">
266
266
  <q-btn @click="is_open_add_slot_dialog = true" class="create-btn" color="primary" outline>
267
- Create New Slot
267
+ Activate Slot
268
268
  </q-btn>
269
269
  </div>
270
270
  <div class="col-md-12 q-ma-sm">
package/GProductPage.vue CHANGED
@@ -1063,8 +1063,11 @@ export default {
1063
1063
  if(this.variant_product_details.docs.length>0)
1064
1064
  {
1065
1065
  this.variant_product_details = this.variant_product_details.docs[0].data();
1066
- let discount = new ProductClass().getProductDiscount( this.membership_discount,this.rank_discount, this.current_slot_info, this.stockist_discount, this.variant_product_details);
1067
- this.variant_product_details.user_discount = discount;
1066
+ if(this.current_slot_info)
1067
+ {
1068
+ let discount = new ProductClass().getProductDiscount( this.membership_discount,this.rank_discount, this.current_slot_info, this.stockist_discount, this.variant_product_details);
1069
+ this.variant_product_details.user_discount = discount;
1070
+ }
1068
1071
  }
1069
1072
  else
1070
1073
  {
package/GSlotWallet.vue CHANGED
@@ -38,9 +38,12 @@
38
38
  <div class="value">{{user_info.hasOwnProperty('slot_owned') ? user_info.slot_owned : 0}}/{{ slot_limit }}</div>
39
39
  </div>
40
40
  <div v-if="current_slot_info.points.reactivation_fee || is_reactivation_fee_avail == true" class="q-pt-sm q-pb-md section-holder">
41
- <div class="label" v-if="is_company_success">Higher Income Status</div>
42
- <div class="label" v-else>Reactivation Fee</div>
43
- <div class="value">{{$_formatNumber(current_slot_info.points.hasOwnProperty("reactivation_fee") ? current_slot_info.points.reactivation_fee : 0 , { decimal: 2 }) }}</div>
41
+ <div v-if="!hide_reactivation">
42
+ <div class="label" v-if="is_company_success">Higher Income Status</div>
43
+ <div class="label" v-else>Reactivation Fee</div>
44
+ <div class="value">{{$_formatNumber(current_slot_info.points.hasOwnProperty("reactivation_fee") ? current_slot_info.points.reactivation_fee : 0 , { decimal: 2 }) }}</div>
45
+ </div>
46
+
44
47
  </div>
45
48
  </div>
46
49
  <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')">
@@ -229,7 +232,8 @@ export default
229
232
  is_company_qdy:Boolean,
230
233
  is_company_ultrapro:Boolean,
231
234
  show_points_history:Boolean,
232
- show_binary_history:Boolean
235
+ show_binary_history:Boolean,
236
+ hide_reactivation:Boolean
233
237
  },
234
238
  data: () =>
235
239
  ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.615",
3
+ "version": "1.2.618",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {