|
|
@ -646,7 +646,7 @@ class kalachakra_event(WebsiteEventController,PaymentProcessing): |
|
|
|
data['online']=False |
|
|
|
data['headphone']=False |
|
|
|
|
|
|
|
if post.get('headphone')=='yes':data['headphone']=True |
|
|
|
if (post.get('headphone2')=='yes') or (post.get('headphone3')=='yes'):data['headphone']=True |
|
|
|
|
|
|
|
if event.online_event: |
|
|
|
if post.get('online')=='yes':data['online']=True |
|
|
@ -677,7 +677,7 @@ class kalachakra_event(WebsiteEventController,PaymentProcessing): |
|
|
|
vals={} |
|
|
|
vals['event_id']=request.session['event_id'] |
|
|
|
vals['partner_id']=request.session['partner_id'] |
|
|
|
if post.get('headphone')=='yes':vals['headphone']=True |
|
|
|
if (post.get('headphone2')=='yes') or (post.get('headphone3')=='yes'):vals['headphone']=True |
|
|
|
else:vals['headphone']=False |
|
|
|
|
|
|
|
if event.online_event: |
|
|
@ -696,7 +696,7 @@ class kalachakra_event(WebsiteEventController,PaymentProcessing): |
|
|
|
|
|
|
|
else: |
|
|
|
data['headphone']=True |
|
|
|
if post.get('headphone')=='yes':data['headphone']=True |
|
|
|
if (post.get('headphone2')=='yes') or (post.get('headphone3')=='yes'):data['headphone']=True |
|
|
|
res.headphone=True |
|
|
|
request.session['res_id']=res.id |
|
|
|
|
|
|
|