app/views/mno_enterprise/jpi/v1/admin/organizations/_invoices.json.jbuilder in mno-enterprise-api-3.2.1 vs app/views/mno_enterprise/jpi/v1/admin/organizations/_invoices.json.jbuilder in mno-enterprise-api-3.3.0
- old
+ new
@@ -2,7 +2,8 @@
json.array! organization.invoices.order_by('ended_at.desc') do |invoice|
json.started_at invoice.started_at
json.ended_at invoice.ended_at
json.amount AccountingjsSerializer.serialize(invoice.total_due)
json.paid invoice.paid?
+ json.link mno_enterprise.admin_invoice_path(invoice.slug)
end
end