forked from DGNum/gestioCOF
No need for intermediate error reporting
This commit is contained in:
parent
ccf5f80685
commit
271654b447
1 changed files with 0 additions and 1 deletions
|
@ -1018,7 +1018,6 @@ def kpsul_perform_operations(request):
|
||||||
else:
|
else:
|
||||||
if operationgroup.on_acc.is_cash:
|
if operationgroup.on_acc.is_cash:
|
||||||
data['errors']['account'] = 'LIQ'
|
data['errors']['account'] = 'LIQ'
|
||||||
return JsonResponse(data, status=400)
|
|
||||||
if operation.type != Operation.EDIT:
|
if operation.type != Operation.EDIT:
|
||||||
to_checkout_balance += operation.amount
|
to_checkout_balance += operation.amount
|
||||||
operationgroup.amount += operation.amount
|
operationgroup.amount += operation.amount
|
||||||
|
|
Loading…
Reference in a new issue