@@ -47,10 +47,10 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
47
47
48
48
<div class="admin__field-control">
49
49
<select id="<?= /* @noEscape */ $ code ?> _cc_type"
50
+ class="admin__control-select"
50
51
data-container="<?= /* @noEscape */ $ code ?> -cc-type"
51
- name="payment[cc_type]"
52
52
data-validate='{required:true, "validate-cc-type-select":"#<?= /* @noEscape */ $ code ?> _cc_number"}'
53
- class="admin__control-select ">
53
+ name="payment[cc_type] ">
54
54
<option value=""><?= $ block ->escapeHtml (__ ('Please Select ' )) ?> </option>
55
55
<?php foreach ($ block ->getCcAvailableTypes () as $ typeCode => $ typeName ): ?>
56
56
<option
@@ -106,10 +106,11 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
106
106
</label>
107
107
108
108
<div class="admin__field-control">
109
- <select id="<?= /* @noEscape */ $ code ?> _expiration" name="payment[cc_exp_month]"
110
- data-container="<?= /* @noEscape */ $ code ?> -cc-month"
109
+ <select id="<?= /* @noEscape */ $ code ?> _expiration"
111
110
class="admin__control-select admin__control-select-month"
112
- data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $ code ?> _expiration_yr"}'>
111
+ data-container="<?= /* @noEscape */ $ code ?> -cc-month"
112
+ data-validate='{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $ code ?> _expiration_yr"}'
113
+ name="payment[cc_exp_month]">
113
114
<?php foreach ($ block ->getCcMonths () as $ k => $ v ): ?>
114
115
<option
115
116
value="<?= /* @noEscape */ $ k ? $ block ->escapeHtml ($ k ) : '' ?> "
@@ -119,9 +120,11 @@ $ccExpMonth = $block->getInfoData('cc_exp_month');
119
120
<?php endforeach ?>
120
121
</select>
121
122
122
- <select id="<?= /* @noEscape */ $ code ?> _expiration_yr" name="payment[cc_exp_year]"
123
+ <select id="<?= /* @noEscape */ $ code ?> _expiration_yr"
123
124
class="admin__control-select admin__control-select-year"
124
- data-container="<?= /* @noEscape */ $ code ?> -cc-year" data-validate='{required:true}'>
125
+ data-container="<?= /* @noEscape */ $ code ?> -cc-year"
126
+ data-validate='{required:true}'
127
+ name="payment[cc_exp_year]">
125
128
<?php foreach ($ block ->getCcYears () as $ k => $ v ): ?>
126
129
<option
127
130
value="<?= /* @noEscape */ $ k ? $ block ->escapeHtml ($ k ) : '' ?> "
0 commit comments