Created
September 22, 2017 11:39
-
-
Save DanielVartanov/b83902875b20023a733fdb6beba279cb 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
<h2 align="center">This is your best selling stock:</h2> | |
<table class="veeqo-table"> | |
<th>Item</th> | |
<th>Projected sales</th> | |
<% @best_sellers.each do |best_seller| %> | |
<tr> | |
<td><%= best_seller.variant.full_title %></td> | |
<td><%= best_seller.projected_sales %></td> | |
</tr> | |
<% end %> | |
</table> | |
<h2 align="center">Place it in the following shelves in the following order:</h2> | |
<table class="veeqo-table"> | |
<th>Shelf</th> | |
<th>Distance</th> | |
<% @hottest_sublocations.each do |hottest_sublocation| %> | |
<tr> | |
<td><%= hottest_sublocation.sublocation_name %></td> | |
<td><%= "#{hottest_sublocation.steps_from_packing_station} steps from the packing station" %></td> | |
</tr> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment