From: Magnus Hagander Date: Sun, 4 Mar 2018 17:57:14 +0000 (+0100) Subject: Show more status about uncompleted regs X-Git-Url: http://git.postgresql.org/gitweb/static/session/%7B%7Bsession.id%7D%7D-%7B%7Bsession.title%7Cslugify%7D%7D?a=commitdiff_plain;h=8b7041c7a95f92407592d2fc0f348547d875de36;p=pgeu-website.git Show more status about uncompleted regs Show if invoice is created, or if bulkpay is created. --- diff --git a/template/confreg/admin_registration_list.html b/template/confreg/admin_registration_list.html index 7e06078..e51e850 100644 --- a/template/confreg/admin_registration_list.html +++ b/template/confreg/admin_registration_list.html @@ -33,7 +33,7 @@ a.nocolor { {{r.firstname}} {{r.company}} {{r.regtype.regtype}} - {{r.payconfirmedat|default:""}} + {%if r.payconfirmedat%}{{r.payconfirmedat}}{%elif r.invoice%}Invoice generated{%elif r.bulkpayment%}Bulk payment generated{%endif%} {%if waitlist_active %} {%if r.registrationwaitlistentry %} {%if r.payconfirmedat%}Accepted{%else%} diff --git a/template/confreg/admin_registration_single.html b/template/confreg/admin_registration_single.html index a19ab31..945680f 100644 --- a/template/confreg/admin_registration_single.html +++ b/template/confreg/admin_registration_single.html @@ -90,7 +90,7 @@ Registration completed - {{reg.payconfirmedat|default:"Registration is NOT completed"}} + {%if reg.payconfirmedat%}{{reg.payconfirmedat}}{%elif reg.invoice%}Invoice generated, NOT paid{%elif reg.bulkpayment%}Bulk payment generated, NOT paid{%endif%} {%if reg.attendee != reg.registrator %}