We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 69c7a060 authored by Rik ter Beek's avatar Rik ter Beek

show billing address component for pos, oneclick use payment method component...

show billing address component for pos, oneclick use payment method component because that is the only one that is generated, remove unused variable, adyen creditcard fix correct path for template
parent ce8b167f
......@@ -61,6 +61,9 @@
<item name="adyen_boleto" xsi:type="array">
<item name="isBillingAddressRequired" xsi:type="boolean">true</item>
</item>
<item name="adyen_pos" xsi:type="array">
<item name="isBillingAddressRequired" xsi:type="boolean">true</item>
</item>
</item>
</item>
</item>
......
......@@ -301,7 +301,7 @@ define(
* @return {String}
*/
getBillingAddressFormName: function () {
return 'billing-address-form-' + self.item.method + '-' + value.reference_id;
return 'billing-address-form-' + self.item.method;
}
}
});
......
......@@ -31,7 +31,6 @@ define(
function ($, Component, additionalValidators, fullScreenLoader, placeOrderAction, quote) {
'use strict';
return Component.extend({
self: this,
defaults: {
template: 'Adyen_Payment/payment/pos-form'
},
......
......@@ -40,7 +40,7 @@
<div class="payment-method-content">
<div class="payment-method-billing-address">
<!-- ko foreach: getRegion(getBillingAddressFormName()) -->
<!-- ko foreach: $parent.getRegion(getBillingAddressFormName()) -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment