finish mailer i18n

This commit is contained in:
wvengen 2013-02-06 00:50:59 +01:00
parent b12a906a74
commit de730808e7
10 changed files with 115 additions and 77 deletions

View file

@ -1,13 +1,5 @@
Liebe #{@group_order.ordergroup.name},
\
die Bestellung für "#{@order.name}" wurde am #{I18n.l @order.ends} von #{@order.updated_by.nick} beendet.
\
Für Euch wurden die folgenden Artikel bestellt:
= t '.text0', ordergroup: @group_order.ordergroup.name, order: @order.name, when: I18n.l(@order.ends), user: @order.updated_by.nick
- for group_order_article in @group_order.group_order_articles.ordered.all(:include => :order_article)
- article = group_order_article.order_article.article
#{article.name}: #{group_order_article.result} x #{article.unit} = #{group_order_article.result * article.fc_price}
Gesamtpreis: #{@group_order.price}
\
Bestellung online einsehen: #{group_order_url(@group_order)}
\
Viele Grüße von #{FoodsoftConfig[:name]}
= t '.text1', sum: @group_order.price, order_url: group_order_url(@group_order), foodcoop: FoodsoftConfig[:name]