Changeset - b314c40f5920
[Not reviewed]
default
0 1 0
Dennis Fink - 3 years ago 2022-01-19 20:41:46
dennis.fink@c3l.lu
Fix xml_data voting flag
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
c3l_membership/views.py
Show inline comments
 
@@ -58,10 +58,14 @@ def index():
 
            or form.student.data
 
            or form.membership.data == "supporting"
 
        ):
 

	
 
            price = current_app.config["SUPPORTING_FEE"]
 
        else:
 
            price = current_app.config["REGULAR_FEE"]
 

	
 
        if form.membership.data == "supporting":
 
            xml_data["voting"] = 0
 
        elif form.membership.data == "regular":
 
            price = current_app.config["REGULAR_FEE"]
 
            xml_data["voting"] = 1
 

	
 
        if form.starving.data:
0 comments (0 inline, 0 general)