beautify order mail

This commit is contained in:
wvengen 2013-06-29 02:54:00 +02:00
parent 9b0db5bb0b
commit b807e9d059
4 changed files with 10 additions and 4 deletions

View file

@ -1,5 +1,5 @@
= raw 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}
\- #{article.name}: #{group_order_article.result} x #{article.unit} = #{group_order_article.result * article.fc_price}
= raw t '.text1', sum: @group_order.price, order_url: group_order_url(@group_order), foodcoop: FoodsoftConfig[:name]

View file

@ -1068,7 +1068,9 @@ de:
die Bestelling für "%{order}" wurde am %{when} von %{user} beendet.
Für Euch wurden die folgenden Artikel bestellt:'
Für Euch wurden die folgenden Artikel bestellt:
'
text1: ! 'o Gesamtpreis: %{sum}

View file

@ -1072,7 +1072,9 @@ en:
The order for "%{order}" has been closed by %{user} on %{when}.
The following articles have been ordered for your ordergroup:'
The following articles have been ordered for your ordergroup:
'
text1: ! 'o Total sum: %{sum}

View file

@ -989,7 +989,9 @@ nl:
De bestelling voor "%{order}" is om %{when} gesloten door %{user}.
De volgende artikelen zijn voor jouw huishouden besteld:'
De volgende artikelen zijn voor jouw huishouden besteld:
'
text1: ! 'o Totaal: %{sum}