@bcrs-shared-components/staff-payment 2.0.1 → 2.0.2
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/StaffPayment.vue +7 -4
- package/package.json +2 -2
package/StaffPayment.vue
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
filled
|
|
15
15
|
id="routing-slip-number-textfield"
|
|
16
16
|
label="Routing Slip Number"
|
|
17
|
+
v-model.trim="staffPaymentData.routingSlipNumber"
|
|
17
18
|
:value="staffPaymentData.routingSlipNumber"
|
|
18
19
|
:rules="validate ? routingSlipNumberRules : []"
|
|
19
20
|
:disabled="paymentOption === StaffPaymentOptions.BCOL || paymentOption === StaffPaymentOptions.NO_FEE"
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
filled
|
|
30
31
|
id="bcol-account-number-textfield"
|
|
31
32
|
label="BC Online Account Number"
|
|
33
|
+
v-model.trim="staffPaymentData.bcolAccountNumber"
|
|
32
34
|
:value="staffPaymentData.bcolAccountNumber"
|
|
33
35
|
:rules="validate ? bcolAccountNumberRules : []"
|
|
34
36
|
:disabled="paymentOption === StaffPaymentOptions.FAS || paymentOption === StaffPaymentOptions.NO_FEE"
|
|
@@ -39,6 +41,7 @@
|
|
|
39
41
|
filled
|
|
40
42
|
id="dat-number-textfield"
|
|
41
43
|
label="DAT Number"
|
|
44
|
+
v-model.trim="staffPaymentData.datNumber"
|
|
42
45
|
:value="staffPaymentData.datNumber"
|
|
43
46
|
:rules="validate ? datNumberRules : []"
|
|
44
47
|
:disabled="paymentOption === StaffPaymentOptions.FAS || paymentOption === StaffPaymentOptions.NO_FEE"
|
|
@@ -230,10 +233,10 @@ export default class StaffPayment extends Vue {
|
|
|
230
233
|
@Emit('update:staffPaymentData')
|
|
231
234
|
private emitStaffPaymentData ({
|
|
232
235
|
option = this.staffPaymentData.option,
|
|
233
|
-
routingSlipNumber = this.staffPaymentData.routingSlipNumber || '',
|
|
234
|
-
bcolAccountNumber = this.staffPaymentData.bcolAccountNumber || '',
|
|
235
|
-
datNumber = this.staffPaymentData.datNumber || '',
|
|
236
|
-
folioNumber = this.staffPaymentData.folioNumber || '',
|
|
236
|
+
routingSlipNumber = this.staffPaymentData.routingSlipNumber?.trim() || '',
|
|
237
|
+
bcolAccountNumber = this.staffPaymentData.bcolAccountNumber?.trim() || '',
|
|
238
|
+
datNumber = this.staffPaymentData.datNumber?.trim() || '',
|
|
239
|
+
folioNumber = this.staffPaymentData.folioNumber?.trim() || '',
|
|
237
240
|
isPriority = this.staffPaymentData.isPriority || false
|
|
238
241
|
}): StaffPaymentIF {
|
|
239
242
|
// return only the appropriate fields for each option
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcrs-shared-components/staff-payment",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
"@bcrs-shared-components/interfaces": "^1.0.33",
|
|
11
11
|
"vue-property-decorator": "^8.4.0"
|
|
12
12
|
},
|
|
13
|
-
"gitHead": "
|
|
13
|
+
"gitHead": "89ee25c1031faa8c55be52170afaff5a5327f4bd"
|
|
14
14
|
}
|