From 262a90736ef8f49c6f5556aa27013ba2d608f9a8 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 --- 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.20.1