geer-builder 1.2.888 → 1.2.889
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/GProcessSale.vue +8 -0
- package/GProcessSaleGc.vue +1 -0
- package/dialogs/AddPaymentDialog.vue +2 -2
- package/package.json +1 -1
package/GProcessSale.vue
CHANGED
|
@@ -369,6 +369,11 @@ export default
|
|
|
369
369
|
|
|
370
370
|
this.is_allowed_payment_cd = this.user_info.cashier_allow_cd_payment == "Yes" ? true : false;
|
|
371
371
|
},
|
|
372
|
+
watch: {
|
|
373
|
+
auto_activate(newVal) {
|
|
374
|
+
console.log('auto_activate changed to:', newVal);
|
|
375
|
+
}
|
|
376
|
+
},
|
|
372
377
|
computed:
|
|
373
378
|
{
|
|
374
379
|
paymentTotal()
|
|
@@ -751,6 +756,9 @@ export default
|
|
|
751
756
|
|
|
752
757
|
this.field.outstanding_balance = this.record_balance
|
|
753
758
|
this.field.slot_reference = this.slot_reference
|
|
759
|
+
console.log('Setting auto_activate - checkbox value:', this.auto_activate);
|
|
760
|
+
this.field.auto_activate = this.auto_activate
|
|
761
|
+
console.log('Full field object:', this.field);
|
|
754
762
|
if(!await this.validateProductList())
|
|
755
763
|
{
|
|
756
764
|
this.$q.loading.hide();
|
package/GProcessSaleGc.vue
CHANGED
|
@@ -550,6 +550,7 @@ export default
|
|
|
550
550
|
|
|
551
551
|
this.field.outstanding_balance = this.record_balance
|
|
552
552
|
this.field.slot_reference = this.slot_reference
|
|
553
|
+
this.field.auto_activate = this.auto_activate
|
|
553
554
|
let sale = await this.$_fbCall('memberProcessSale', this.field);
|
|
554
555
|
this.sale_id = sale.data;
|
|
555
556
|
this.$q.loading.hide();
|
|
@@ -102,13 +102,13 @@ export default
|
|
|
102
102
|
}
|
|
103
103
|
else
|
|
104
104
|
{
|
|
105
|
-
this.$emit('receivePayment',
|
|
105
|
+
this.$emit('receivePayment', this.field);
|
|
106
106
|
this.$emit('closePopup')
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
else
|
|
110
110
|
{
|
|
111
|
-
this.$emit('receivePayment',
|
|
111
|
+
this.$emit('receivePayment', this.field);
|
|
112
112
|
this.$emit('closePopup')
|
|
113
113
|
}
|
|
114
114
|
},
|