Skip to content

Commit

Permalink
Merge pull request #1107 from buckaroo-it/BP-3905-Missing-separator-i…
Browse files Browse the repository at this point in the history
…n-the-checkout-between-Giftcards-and-Riverty

Bp 3905 missing separator in the checkout between giftcards and riverty
  • Loading branch information
AlbinaBaraliu authored Nov 22, 2024
2 parents 7cadc5d + 74a444b commit 7edec05
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions view/frontend/web/template/payment/buckaroo_magento2_giftcards.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
class="radio"
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()"/>
<label class="label" data-bind="attr: {'for': getCode()}" >
<!-- ko text: getTitle() --><!-- /ko -->
<!-- ko if: subtext !== null && subtext.length > 0 -->
<p class="bk-description" data-bind="text: subtext, style: subTextStyle"></p>
<!-- /ko -->
<!-- ko text: getTitle() --><!-- /ko -->
<!-- ko if: subtext !== null && subtext.length > 0 -->
<p class="bk-description" data-bind="text: subtext, style: subTextStyle"></p>
<!-- /ko -->
</label>
</div>
<div class="bk-img-wrap">
Expand Down Expand Up @@ -66,25 +66,25 @@

<!-- ko ifnot: isGiftcardsRedirectMode() -->

<div class="buckaroo_magento2_all_giftcards" data-bind="foreach: { data: allgiftcards, as: 'giftcard', noChildContext: false }">
<div class="buckaroo_magento2_all_giftcards" data-bind="foreach: { data: allgiftcards, as: 'giftcard', noChildContext: false }">
<div data-bind="attr: { 'class': 'buckaroo_magento2_all_giftcard payment-method buckaroo_magento2_' + code }, css: {'_active': ($parent.getCode() == $parent.isChecked() && $parent.getGiftcardType() == code)}">

<div class="payment-method-title field choice bk-payment">
<div class="bk-payment-wrap">
<div class="bk-radio-wrap">
<input type="radio"
name="payment[method]"
class="radio"
data-bind="attr: {'id': code, 'data-method': 'buckaroo_magento2_giftcards'}, value: code, click: $parent.selectGiftCardPaymentMethod.bind($parent, code), checked: $parent.isCheckedGiftCardPaymentMethod.bind($parent, code), visible: $parent.isRadioButtonVisible()"/>
<label class="label" data-bind="attr: {'for': code}" >
<!-- ko text: title --><!-- /ko -->
</label>
</div>
<div class="bk-img-wrap">
<img data-bind="attr: { src: logo }" />
<div class="payment-method-title field choice bk-payment">
<div class="bk-payment-wrap">
<div class="bk-radio-wrap">
<input type="radio"
name="payment[method]"
class="radio"
data-bind="attr: {'id': code, 'data-method': 'buckaroo_magento2_giftcards'}, value: code, click: $parent.selectGiftCardPaymentMethod.bind($parent, code), checked: $parent.isCheckedGiftCardPaymentMethod.bind($parent, code), visible: $parent.isRadioButtonVisible()"/>
<label class="label" data-bind="attr: {'for': code}" >
<!-- ko text: title --><!-- /ko -->
</label>
</div>
<div class="bk-img-wrap">
<img data-bind="attr: { src: logo }" />
</div>
</div>
</div>
</div>

<div class="payment-method-content">
<!-- ko foreach: $parent.getRegion('messages') -->
Expand All @@ -93,77 +93,77 @@

<div class="payment-method-billing-address">
<!-- ko foreach: $parent.getRegion($parent.getBillingAddressFormName()) -->
<!-- ko template: getTemplate()--><!-- /ko -->
<!-- ko template: getTemplate()--><!-- /ko -->
<!--/ko-->
</div>

<div class="payment-method-second-col billing-address-form">
<form method="post"
data-role="$parent.save"
data-bind="$parent.submit:$parent.save,
<div class="payment-method-second-col billing-address-form">
<form method="post"
data-role="$parent.save"
data-bind="$parent.submit:$parent.save,
mageInit: { 'validation': [] },
attr: {'data-hasrequired': $t('* Required Fields')}">
<fieldset class="fieldset payment styled">
<fieldset class="fieldset payment styled">

<div class="fieldset card_front width-100">
<div class="fieldset card_front width-100">

<div class="field required width-100" >
<label class="label" for="buckaroo_magento2_giftcards_cardnumber"> <span data-bind="i18n: 'Card number:'"> </span> </label>
<div class="control">
<input type="text"
class="input-text field buckaroo_magento2_giftcards_input"
name="payment[buckaroo_magento2_giftcards][cardnumber]"
data-bind="
<div class="field required width-100" >
<label class="label" for="buckaroo_magento2_giftcards_cardnumber"> <span data-bind="i18n: 'Card number:'"> </span> </label>
<div class="control">
<input type="text"
class="input-text field buckaroo_magento2_giftcards_input"
name="payment[buckaroo_magento2_giftcards][cardnumber]"
data-bind="
valueUpdate: 'blur',
value: $parent.CardNumber,
textInput: $parent.CardNumber(),
attr: { 'data-card': code, 'id': 'buckaroo_magento2_giftcards_cardnumber_' + code, 'data-validate': JSON.stringify({ 'required': true, '$parent.validateCardNumber': true }) },
event: { blur: $parent.checkValidness }">
</div>
</div>
</div>

<div class="fieldset width-100">
<div class="fieldset width-100">

<div class="magnet_stripe width-100"></div>
<div class="magnet_stripe width-100"></div>

<div class="field required card_security width-100" >
<label class="label width-65-l" for="buckaroo_magento2_giftcards_pin"> <span data-bind="i18n: 'PIN / Security code:'"> </span> </label>
<div class="control card-info-input width-25-l">
<input type="text"
class="input-text field buckaroo_magento2_giftcards_input"
name="payment[buckaroo_magento2_giftcards][pin]"
data-bind="
<div class="field required card_security width-100" >
<label class="label width-65-l" for="buckaroo_magento2_giftcards_pin"> <span data-bind="i18n: 'PIN / Security code:'"> </span> </label>
<div class="control card-info-input width-25-l">
<input type="text"
class="input-text field buckaroo_magento2_giftcards_input"
name="payment[buckaroo_magento2_giftcards][pin]"
data-bind="
valueUpdate: 'blur',
value: $parent.Pin,
textInput: $parent.Pin(),
attr: { 'id': 'buckaroo_magento2_giftcards_pin_' + code, 'data-validate': JSON.stringify({ 'required': true, '$parent.validatePin': true }) },
event: { blur: $parent.checkValidness }">
</div>
<div class="card_info width-10">
<div class="popup">
</div>
<div class="card_info width-10">
<div class="popup">
</div>
</div>
</div>
</div>
</div>
</div>

<div class="field width-100">
<span data-bind="i18n: 'Please make sure all fields are filled in correctly before proceeding.' "></span>
<span class="apply-gift-card action primary" data-bind="
<div class="field width-100">
<span data-bind="i18n: 'Please make sure all fields are filled in correctly before proceeding.' "></span>
<span class="apply-gift-card action primary" data-bind="
click: $parent.applyGiftcard.bind($parent),
i18n: 'Apply Gift Card',
attr: { 'id': 'buckaroo_magento2_giftcards_submit_' + code }
css: {disabled: $parent.buttoncheck()}">
</span>
</div>
</div>

</div>
</fieldset>
</form>
</div>
</div>
</fieldset>
</form>
</div>

<div class="checkout-agreements-block">
<!-- ko foreach: $parents[1].getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>

Expand Down Expand Up @@ -191,8 +191,8 @@
<!--/ko-->
</div>
</div>
</div>
</div>

<div data-bind='afterRender: checkForPayments'> </div>
<!-- /ko -->

<div data-bind='afterRender: checkForPayments'> </div>

0 comments on commit 7edec05

Please sign in to comment.