From 7d569236fc8d575b282f3c4362a27920efdd88fd Mon Sep 17 00:00:00 2001
From: Ievgen Shakhsuvarov <ishakhsuvarov@ebay.com>
Date: Sat, 27 Jun 2015 16:24:33 +0300
Subject: [PATCH] MAGETWO-38995: Unable to check/uncheck "My billing and
 shipping addresses are the same"

---
 .../Checkout/view/frontend/web/template/billing-address.html  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/code/Magento/Checkout/view/frontend/web/template/billing-address.html b/app/code/Magento/Checkout/view/frontend/web/template/billing-address.html
index 3bf50ab1569..895f94e4cbd 100644
--- a/app/code/Magento/Checkout/view/frontend/web/template/billing-address.html
+++ b/app/code/Magento/Checkout/view/frontend/web/template/billing-address.html
@@ -5,8 +5,8 @@
  */
 -->
 <div class="billing-address-same-as-shipping-block field choice" data-bind="visible: canUseShippingAddress()">
-    <input type="checkbox" name="billing-address-same-as-shipping" id="billing-address-same-as-shipping" data-bind="checked: isAddressSameAsShipping, click: useShippingAddress"/>
-    <label for="billing-address-same-as-shipping" data-bind="text: $t('My billing and shipping address are the same')"></label>
+    <input type="checkbox" name="billing-address-same-as-shipping" data-bind="checked: isAddressSameAsShipping, click: useShippingAddress, attr: {id: 'billing-address-same-as-shipping-' + $parent.getCode()}"/>
+    <label data-bind="text: $t('My billing and shipping address are the same'), attr: {for: 'billing-address-same-as-shipping-' + $parent.getCode()}"></label>
 </div>
 
 <!-- ko template: 'Magento_Checkout/billing-address/details' --><!-- /ko -->
-- 
GitLab