22 lines
403 B
Plaintext
22 lines
403 B
Plaintext
Dear Shop-Owner,
|
|
|
|
below is the current stock report and estimates on when the products
|
|
will run low.
|
|
|
|
Estimates:
|
|
<% @forecast.each do |dict| %>
|
|
<%= dict['name'] %> => <%= dict['days'].round(2) %> days until sold out.
|
|
<% end %>
|
|
|
|
|
|
Empty Products:
|
|
<% @empty_products.each do |product| %>
|
|
<%= product.name %>
|
|
<% end %>
|
|
|
|
|
|
Empty Variants:
|
|
<% @empty_variants.each do |variant| %>
|
|
<%= variant.name %>
|
|
<% end %>
|