1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_low_stock_threshold.html.erb
2023-04-24 19:17:07 +02:00

12 lines
429 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p>
<%= t('.body.low_stock', **{ PRODUCT: @attached_object.name }) %>
</p>
<p>
<%= t('.body.stocks_state_html', **{ INTERNAL: @attached_object.stock['internal'], EXTERNAL: @attached_object.stock['external'] }) %>
</p>
<p>
<%=link_to( t('.body.manage_stock'), "#{root_url}#!/admin/store/products/#{@attached_object.id}/edit", target: "_blank" )%>
</p>