Fixed admin, orders, wiki views. Converted all erb to haml.
This commit is contained in:
parent
699fb9b233
commit
552c553b77
169 changed files with 1158 additions and 1307 deletions
14
app/views/mailer/order_result.text.haml
Normal file
14
app/views/mailer/order_result.text.haml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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:
|
||||
- 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]}
|
||||
Loading…
Add table
Add a link
Reference in a new issue