geer-builder 1.2.474 → 1.2.475
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 +7 -1
- package/package.json +1 -1
package/GCheckout.vue
CHANGED
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
|
-
<div v-if="payment_method.payment_method_id !='gc_points'" class="voucher-body">
|
|
42
|
+
<div v-if="payment_method.payment_method_id !='gc_points' && !hide_voucher" class="voucher-body">
|
|
43
|
+
{{hide_voucher}}
|
|
43
44
|
<div class="q-mr-xl"></div>
|
|
44
45
|
<div class="q-ml-xl"><q-icon class="q-mr-sm" size="18px" name="fas fa-ticket-alt"></q-icon>Shop Voucher</div>
|
|
45
46
|
<div @click="selectVoucher(merch);" class="select-voucher-button">Select Voucher</div>
|
|
@@ -404,6 +405,7 @@ export default {
|
|
|
404
405
|
all_voucher_list:[],
|
|
405
406
|
cod_payment_limit:999999,
|
|
406
407
|
online_payment_limit:999999,
|
|
408
|
+
hide_voucher:false,
|
|
407
409
|
}),
|
|
408
410
|
async mounted(){
|
|
409
411
|
if (this.user_info)
|
|
@@ -430,6 +432,10 @@ export default {
|
|
|
430
432
|
this.getAdress();
|
|
431
433
|
this.showActivePayment();
|
|
432
434
|
|
|
435
|
+
if(this.public_settings.hasOwnProperty('hide_voucher') && this.public_settings.hide_voucher)
|
|
436
|
+
{
|
|
437
|
+
this.hide_voucher = true;
|
|
438
|
+
}
|
|
433
439
|
if(this.public_settings.hasOwnProperty('cod_payment_limit'))
|
|
434
440
|
{
|
|
435
441
|
this.cod_payment_limit = this.public_settings.cod_payment_limit;
|