From 110e0acb5c33f96b9cb61286fc45d480b088f565 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 21 Jul 2020 11:09:50 +0200 Subject: [PATCH] Bug 24157: (follow-up) New permission - delete_invoices Hide the "Delete" invoice link if necessary on /cgi-bin/koha/acqui/invoice.pl?invoiceid=X Signed-off-by: Alex Arnaud Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt index c6f9fe2047..10367982ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt @@ -122,7 +122,7 @@
- [% UNLESS orders_loop.size %] + [% IF CAN_user_acquisition_delete_invoices AND NOT orders_loop.size %] Delete [% END %]
-- 2.39.5