@bcrs-shared-components/staff-payment 1.1.3 → 2.0.1
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 +28 -36
- package/package.json +4 -4
package/StaffPayment.vue
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div id="staff-payment-container">
|
|
3
3
|
<v-row no-gutters>
|
|
4
|
-
<v-col cols="3" class="
|
|
5
|
-
<label class="
|
|
4
|
+
<v-col v-if="displaySideLabel" cols="12" sm="3" class="pr-4 pb-4">
|
|
5
|
+
<label class="title-label" :class="{'error-text': invalidSection}">Payment</label>
|
|
6
6
|
</v-col>
|
|
7
7
|
|
|
8
|
-
<v-col
|
|
9
|
-
<v-radio-group class="payment-group" v-model="paymentOption"
|
|
8
|
+
<v-col cols="12" :sm="displaySideLabel ? 9 : 12">
|
|
9
|
+
<v-radio-group class="payment-group" v-model="paymentOption">
|
|
10
10
|
<!-- Cash or Cheque radio button and form -->
|
|
11
|
-
<v-radio id="fas-radio" label="Cash or Cheque" :value="StaffPaymentOptions.FAS" />
|
|
12
|
-
<v-form class="ml-8" ref="fasForm" v-model="fasFormValid">
|
|
11
|
+
<v-radio id="fas-radio" class="mb-0" label="Cash or Cheque" :value="StaffPaymentOptions.FAS" />
|
|
12
|
+
<v-form class="mt-4 ml-8" ref="fasForm" v-model="fasFormValid">
|
|
13
13
|
<v-text-field
|
|
14
14
|
filled
|
|
15
15
|
id="routing-slip-number-textfield"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
</v-form>
|
|
24
24
|
|
|
25
25
|
<!-- BC Online radio button and form -->
|
|
26
|
-
<v-radio id="bcol-radio" label="BC Online" :value="StaffPaymentOptions.BCOL" />
|
|
27
|
-
<v-form class="ml-8" ref="bcolForm" v-model="bcolFormValid">
|
|
26
|
+
<v-radio id="bcol-radio" class="mb-0 pt-2" label="BC Online" :value="StaffPaymentOptions.BCOL" />
|
|
27
|
+
<v-form class="mt-4 ml-8" ref="bcolForm" v-model="bcolFormValid">
|
|
28
28
|
<v-text-field
|
|
29
29
|
filled
|
|
30
30
|
id="bcol-account-number-textfield"
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
</v-form>
|
|
58
58
|
|
|
59
59
|
<!-- No Fee radio button -->
|
|
60
|
-
<v-radio id="no-fee-radio" label="No Fee" :value="StaffPaymentOptions.NO_FEE" />
|
|
60
|
+
<v-radio id="no-fee-radio" class="mb-0 pt-2" label="No Fee" :value="StaffPaymentOptions.NO_FEE" />
|
|
61
61
|
|
|
62
62
|
<template v-if="displayPriorityCheckbox">
|
|
63
|
-
<v-divider class="mt-
|
|
63
|
+
<v-divider class="mt-6"></v-divider>
|
|
64
64
|
|
|
65
65
|
<!-- Priority checkbox -->
|
|
66
66
|
<v-checkbox
|
|
67
|
-
class="mt-2"
|
|
68
67
|
id="priority-checkbox"
|
|
68
|
+
class="priority-checkbox mt-6 pt-0"
|
|
69
69
|
label="Priority (add $100.00)"
|
|
70
70
|
hide-details
|
|
71
71
|
:input-value="staffPaymentData.isPriority"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
</v-radio-group>
|
|
77
77
|
</v-col>
|
|
78
78
|
</v-row>
|
|
79
|
-
</
|
|
79
|
+
</div>
|
|
80
80
|
</template>
|
|
81
81
|
|
|
82
82
|
<script lang="ts">
|
|
@@ -264,36 +264,28 @@ export default class StaffPayment extends Vue {
|
|
|
264
264
|
@import '@/assets/styles/theme.scss';
|
|
265
265
|
|
|
266
266
|
#staff-payment-container {
|
|
267
|
-
margin-top: 1rem;
|
|
268
|
-
padding-bottom: 0.5rem;
|
|
269
|
-
padding-top: 1rem;
|
|
270
267
|
line-height: 1.2rem;
|
|
271
|
-
font-size:
|
|
268
|
+
font-size: $px-16;
|
|
272
269
|
}
|
|
273
270
|
|
|
274
|
-
.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
width: 100%;
|
|
271
|
+
.title-label {
|
|
272
|
+
font-weight: bold;
|
|
273
|
+
color: $gray9;
|
|
278
274
|
}
|
|
279
275
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
// radio labels and checkbox labels
|
|
286
|
-
::v-deep .v-input--selection-controls__input + .v-label {
|
|
287
|
-
color: $gray7 !important;
|
|
276
|
+
.payment-container {
|
|
277
|
+
> label:first-child {
|
|
278
|
+
font-weight: 700;
|
|
279
|
+
margin-bottom: 2rem;
|
|
280
|
+
}
|
|
288
281
|
}
|
|
289
282
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}
|
|
283
|
+
.payment-group {
|
|
284
|
+
margin-top: 0;
|
|
285
|
+
padding-top: 0;
|
|
294
286
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
287
|
+
::v-deep > .v-input__control {
|
|
288
|
+
margin-bottom: -12px;
|
|
289
|
+
}
|
|
298
290
|
}
|
|
299
291
|
</style>
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcrs-shared-components/staff-payment",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@bcrs-shared-components/enums": "^1.0.17",
|
|
9
|
-
"@bcrs-shared-components/folio-number-input": "^1.0.
|
|
10
|
-
"@bcrs-shared-components/interfaces": "^1.0.
|
|
9
|
+
"@bcrs-shared-components/folio-number-input": "^1.0.15",
|
|
10
|
+
"@bcrs-shared-components/interfaces": "^1.0.33",
|
|
11
11
|
"vue-property-decorator": "^8.4.0"
|
|
12
12
|
},
|
|
13
|
-
"gitHead": "
|
|
13
|
+
"gitHead": "8dec86c22ce4201a04fde2f8c5c89b2a5b31aa90"
|
|
14
14
|
}
|