Commit a089abde authored by gwendal's avatar gwendal
Browse files

add currency to invoicing legder export

parent 78ad2573
......@@ -57,6 +57,7 @@ class InvoicingLedgerItem < ActiveRecord::Base
description: self.description,
deposit: self.deposit,
subscription: self.subscription,
currency: self.currency,
}
# sender and recipient should be defined in subclass
return result
......
......@@ -87,7 +87,8 @@ describe MemberInvoice do
line_items: [],
deposit: false,
subscription: false,
payment_method: "direct_debit"
payment_method: "direct_debit",
currency: 'EUR'
})
end
......
......@@ -141,7 +141,8 @@ describe MemberInvoice do
line_items: [],
deposit: false,
subscription: false,
payment_method: "direct_debit"
payment_method: "direct_debit",
currency: 'EUR'
})
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment