Add option to include prefix and invoice number in payment reference (#1848)

This commit is contained in:
julia-luna
2020-11-11 14:27:43 +01:00
committed by GitHub
parent 8c63f2159c
commit 62a0dd2541
2 changed files with 19 additions and 5 deletions

View File

@@ -227,7 +227,7 @@ class OrderDetails(EventViewMixin, OrderDetailMixin, CartMixin, TicketPageMixin,
if lp and lp.state not in (OrderPayment.PAYMENT_STATE_CONFIRMED, OrderPayment.PAYMENT_STATE_REFUNDED,
OrderPayment.PAYMENT_STATE_CANCELED):
ctx['last_payment'] = self.order.payments.last()
ctx['last_payment'] = lp
pp = lp.payment_provider
ctx['last_payment_info'] = pp.payment_pending_render(self.request, ctx['last_payment'])