Commit 19613934 authored by gwendal's avatar gwendal
Browse files

fix: in deposit payment, service id was used instead of service login

parent cee2afb1
......@@ -262,7 +262,7 @@ class Invoice < InvoicingLedgerItem
recipient: service.member,
deposit: true,
invoices: [self],
description: I18n.t('payments.service_payment.deposit_out', service: service.id),
description: I18n.t('payments.service_payment.deposit_out', service: service.login),
payment_method: "deposit",
currency: 'DEP', # needed
total_amount: - self.total_amount,
......@@ -284,7 +284,7 @@ class Invoice < InvoicingLedgerItem
recipient: service.member,
deposit: false,
invoices: [self],
description: I18n.t('payments.service_payment.deposit_out', service: service.id),
description: I18n.t('payments.service_payment.deposit_out', service: service.login),
payment_method: "deposit",
total_amount: self.total_amount,
status: "pending"
......
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