Utilise >= gnagnagna
This commit is contained in:
parent
c4948be1f7
commit
56bc281b30
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ class AccountDelete(PermissionRequiredMixin, DeleteView):
|
|||
|
||||
def delete(self, request, *args, **kwargs):
|
||||
self.object = self.get_object()
|
||||
if self.object.balance > 0.01:
|
||||
if self.object.balance >= 0.01:
|
||||
messages.error(
|
||||
request,
|
||||
"Impossible de supprimer un compte "
|
||||
|
|
Loading…
Reference in a new issue