1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_low_stock_threshold.html.erb

12 lines
429 B
Plaintext
Raw Normal View History

2022-10-05 15:51:33 +02:00
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p>
2023-04-24 19:17:07 +02:00
<%= t('.body.low_stock', **{ PRODUCT: @attached_object.name }) %>
2022-10-05 15:51:33 +02:00
</p>
<p>
2023-04-24 19:17:07 +02:00
<%= t('.body.stocks_state_html', **{ INTERNAL: @attached_object.stock['internal'], EXTERNAL: @attached_object.stock['external'] }) %>
2022-10-05 15:51:33 +02:00
</p>
<p>
<%=link_to( t('.body.manage_stock'), "#{root_url}#!/admin/store/products/#{@attached_object.id}/edit", target: "_blank" )%>
</p>