ajeitando qual valor vai pra qual tipo de inscrição
authorLincoln de Sousa <lincoln@archlinux-br.org>
Thu, 27 Sep 2007 00:54:56 +0000 (21:54 -0300)
committerLincoln de Sousa <lincoln@archlinux-br.org>
Thu, 27 Sep 2007 00:54:56 +0000 (21:54 -0300)
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'
-        if p.comercial:
+        if not p.comercial:
             initial['valor'] = '3500'
         else:
             initial['valor'] = '8000'