Euro signs
This commit is contained in:
parent
4a631bc0c2
commit
220a1e6684
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ class Request < ActiveRecord::Base
|
|||
:debtor_id, :creditor_id, :issuer_id, :issuer_type, :amount, :message
|
||||
)
|
||||
|
||||
creditor.notifications.create message: "Your request for #{amount} for \"#{message}\" has been accepted by #{debtor.name}."
|
||||
creditor.notifications.create message: "Your request for €#{amount/100.0} for \"#{message}\" has been accepted by #{debtor.name}."
|
||||
|
||||
update_attributes status: :confirmed
|
||||
end
|
||||
|
@ -23,7 +23,7 @@ class Request < ActiveRecord::Base
|
|||
def decline!
|
||||
return unless open?
|
||||
|
||||
creditor.notifications.create message: "#{debtor.name} refuses to pay #{amount} for \"#{message}\"."
|
||||
creditor.notifications.create message: "#{debtor.name} refuses to pay €#{amount/100.0} for \"#{message}\"."
|
||||
update_attributes status: :declined
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue