foodsoft/app/views/mailer/order_result.text.erb

14 lines
677 B
Plaintext
Raw Normal View History

2009-03-09 00:10:43 +01:00
Liebe <%= @group_order.ordergroup.name %>,
2009-02-18 01:06:35 +01:00
die Bestellung für "<%= @order.name %>" wurde am <%= I18n.l @order.ends %> von <%= @order.updated_by.nick %> beendet.
2009-02-18 01:06:35 +01:00
Für Euch wurden die folgenden Artikel bestellt:
<% for group_order_article in @group_order.group_order_articles.ordered.all(:include => :order_article)
2009-02-18 01:06:35 +01:00
article = group_order_article.order_article.article -%>
<%= article.name %>: <%= group_order_article.result %> x <%= article.unit %> = <%= group_order_article.result * article.fc_price %>
2009-02-18 01:06:35 +01:00
<% end -%>
Gesamtpreis: <%= @group_order.price %>
Bestellung online einsehen: <%= group_order_url(@group_order) %>
2009-02-18 01:06:35 +01:00
Viele Grüße von <%= Foodsoft.config[:name] %>