Refactoring of message system.
This commit is contained in:
parent
a0e10141dc
commit
3ea8d5a2ef
21 changed files with 94 additions and 113 deletions
9
app/views/mailer/negative_balance.html.erb
Normal file
9
app/views/mailer/negative_balance.html.erb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Liebe <%= @group.name %>,
|
||||
|
||||
euer Kontostand ist durch eine Buchung am <%= @transaction.created_on.strftime('%d.%m.%Y um %H:%M') %> ins Minus gerutscht: <%= @group.account_balance %>
|
||||
|
||||
Es wurden <%= @transaction.amount %> für "<%= @transaction.note %>" abgebucht, die Buchung wurde von <%= @transaction.user.nick %> erstellt.
|
||||
|
||||
Bitte zahlt so bald wie möglich wieder Geld ein, um das Gruppenkonto auszugleichen.
|
||||
|
||||
Viele Grüße von <%= APP_CONFIG[:name] %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue