projects
/
cascardo
/
eventmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mudança da data final de inscrição.
[cascardo/eventmanager.git]
/
views.py
diff --git
a/views.py
b/views.py
index
73e5e3e
..
6b370ff
100644
(file)
--- a/
views.py
+++ b/
views.py
@@
-235,7
+235,7
@@
def inscricao_boleto(request):
# dynamic values of the form
now = datetime.now()
today = datetime.date(now)
# dynamic values of the form
now = datetime.now()
today = datetime.date(now)
- first_date = datetime.date(datetime(2007, 10, 1
2
))
+ first_date = datetime.date(datetime(2007, 10, 1
6
))
c = {}
p = request.user.participante_set.get()
c = {}
p = request.user.participante_set.get()
@@
-258,8
+258,8
@@
def inscricao_boleto(request):
new_ref = p.refbanco
initial['refTran'] = '1458197%s' % str(new_ref).zfill(10)
new_ref = p.refbanco
initial['refTran'] = '1458197%s' % str(new_ref).zfill(10)
- if today < first_date:
- initial['dtVenc'] = '1
2
102007'
+ if today <
=
first_date:
+ initial['dtVenc'] = '1
6
102007'
if not p.comercial:
initial['valor'] = '3500'
else:
if not p.comercial:
initial['valor'] = '3500'
else: