Created
October 28, 2017 13:03
-
-
Save naydav/704969c75ed68bd17f0ec6d76789d46a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
/** | |
* Copyright © 2016 Magento. All rights reserved. | |
* See COPYING.txt for license details. | |
*/ | |
--> | |
<div class="qty-details" data-role="qty-details"> | |
<table class="table-qty-details"> | |
<tr> | |
<th class="col-qty-deatils-title"><%- data.sourceTitle %></th> | |
<th class="col-qty-deatils"><%- data.qtyTitle %></th> | |
</tr> | |
<% _.each(data.sources, function(source) { %> | |
<tr> | |
<td class="col-qty-deatils-title"><%- source.source_name %></td> | |
<td class="col-qty-deatils"> | |
<%- source.qty %> | |
<% if (source.low_stock) { %> | |
<span class="low-stock" title="Low Stock!"> | |
<span>Low Stock</span> | |
</span> | |
<% } %> | |
</td> | |
</tr> | |
<% }); %> | |
</table> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment