<% _.each(controls, function (control) { %>
readonly <%}%> required>
<% }); %>
<% if(storeViews && Object.keys(storeViews).length) { %>
<%- _.__("Store view Mappings") %>

<%- _.__('magento2.currency_setup_info') %>

<%- _.__('magento2.setup.common_currency_info') %>

<%- _.__('magento2.setup.different_currency_info') %>

<% _.each(storeViews, function(mapping, key) { if(mapping.website_id) { %> <% if('undefined' !== typeof(storeMapping[mapping.code]) && 'undefined' !== typeof(storeMapping[mapping.code]['locale']) && storeMapping[mapping.code]['locale']) { selectedVal = storeMapping[mapping.code]['locale']; } else { selectedVal = null; } %> <% } }); %>
<%- _.__('magento2.select.store_view') %> <%- _.__('set default') %> <%- _.__('magento2.locale') %> <%- _.__('Currencies') %>
<%- mapping.name %> <% if('undefined' !== typeof(defaultLocale) && selectedVal === defaultLocale && check == false){ check=true %> checked <% } %>> <% if('undefined' !== typeof(storeMapping[mapping.code]) && 'undefined' !== typeof(storeMapping[mapping.code]['currency']) && storeMapping[mapping.code]['currency']) { selectedVal = storeMapping[mapping.code]['currency']; } else { selectedVal = null; } %>
<% } else { %>
<%- _.__('Save credentials first !!') %>
<% } %>