ajeitando qual valor vai pra qual tipo de inscrição
[cascardo/eventmanager.git] / views.py
index 1d21af3..290bfbf 100644 (file)
--- a/views.py
+++ b/views.py
@@ -255,7 +255,7 @@ def inscricao_boleto(request):
     initial['refTran'] = '1458197%s' % str(new_ref).zfill(10)
     if today < first_date:
         initial['dtVenc'] = '12102007'
     initial['refTran'] = '1458197%s' % str(new_ref).zfill(10)
     if today < first_date:
         initial['dtVenc'] = '12102007'
-        if p.comercial:
+        if not p.comercial:
             initial['valor'] = '3500'
         else:
             initial['valor'] = '8000'
             initial['valor'] = '3500'
         else:
             initial['valor'] = '8000'