Skip to content

Commit

Permalink
Merge pull request #26 from jackie-od/master
Browse files Browse the repository at this point in the history
Fixing Issues when creating orders
  • Loading branch information
nikolai-overdose authored Aug 2, 2021
2 parents 31820e3 + 882ab33 commit 3c911ee
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Laybuy_Laybuy" setup_version="0.1.0">
<module name="Laybuy_Laybuy" setup_version="0.1.1">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down
10 changes: 10 additions & 0 deletions view/frontend/web/css/source/_module.less
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@
}
}

.checkout-payment-method{
.payment-method-title {
.laybuy-payment-icon {
max-height:30px;
float:right;
margin-right:20px;
}
}
}

//
// Mobile @screen__m
//--------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions view/frontend/web/template/payment/laybuy.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
class="radio"
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
<label data-bind="attr: {'for': getCode()}" class="label"><span data-bind="text: getTitle()"></span></label>
<img data-bind="attr: {src: getLaybuyLogoSrc(), alt: getTitle()}"
class="payment-icon laybuy-payment-icon"/>
</div>

<div class="payment-method-content">
Expand Down

0 comments on commit 3c911ee

Please sign in to comment.