Commit f8859796 authored by lebouder's avatar lebouder
Browse files

Fix #100 : validation des factures plus explicite

parent 05bc645a
This diff is collapsed.
......@@ -651,6 +651,10 @@ def control(request):
if control_invoices_form.is_valid():
_("Your changes have been properly taken into account.")
return redirect(reverse('cotisations:control'))
return render(request, 'cotisations/control.html', {
'facture_list': invoice_list,
......@@ -189,7 +189,7 @@ def can_change(*targets):
method 'can_change'. See `acl_base_decorator` documentation for further
return acl_base_decorator('can_change', *targets)
return acl_base_decorator('can_change', *targets, on_instance=False)
def can_delete(*targets):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment