From e5e69ef2a7a69e6206b7f0cb3bc92c4bb296c631 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 6 Nov 2018 16:34:08 +0100 Subject: [PATCH] Instant buy sponsorships should never be manually confirmed Since they don't have a contract, we don't confirm them manually, we wait for the invoice to be paid. So remove the button that allows the confirmation, to reduce confusion. --- template/confsponsor/admin_sponsor.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/template/confsponsor/admin_sponsor.html b/template/confsponsor/admin_sponsor.html index 9382831..6f69b23 100644 --- a/template/confsponsor/admin_sponsor.html +++ b/template/confsponsor/admin_sponsor.html @@ -104,6 +104,8 @@ div.panelwrap {

This sponsorship is awaiting an invoice to be paid.

+{%if not sponsor.level.instantbuy%} +{%comment%}Instant buy sponsorships should never be manually confirmed{%endcomment%}

Iff there is a signed and countersigned contract available for this sponsor, it can be confirmed before the invoice is paid. @@ -111,6 +113,7 @@ for this sponsor, it can be confirmed before the invoice is paid.

Confirm sponsor

+{%endif%} {%else%} {%comment%}Sponsor has no invoice{%endcomment%} {%if sponsor.level.instantbuy%} -- 2.39.5