Correction nouveau neg
- Echec d'indentation corrigé - Plus de CSS pour les pages normales
This commit is contained in:
parent
056fb610de
commit
813b7230b6
6 changed files with 109 additions and 40 deletions
|
@ -133,7 +133,7 @@ class Account(models.Model):
|
|||
else:
|
||||
overdraft_until = timezone.now() + overdraft_duration_max
|
||||
# Checking it doesn't break 1 rule
|
||||
if new_balance < overdraft_amount_max or timezone.now() > overdraft_until:
|
||||
if new_balance < overdraft_amount or timezone.now() > overdraft_until:
|
||||
stop_ope = True
|
||||
perms.add('kfet.perform_negative_operations')
|
||||
return perms, stop_ope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue