Bugzilla – Attachment 107353 Details for
Bug 24157
Additional acquisitions permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24157: (follow-up) New permission - delete_invoices
Bug-24157-follow-up-New-permission---deleteinvoice.patch (text/plain), 1.27 KB, created by
Alex Arnaud
on 2020-07-24 13:08:40 UTC
(
hide
)
Description:
Bug 24157: (follow-up) New permission - delete_invoices
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2020-07-24 13:08:40 UTC
Size:
1.27 KB
patch
obsolete
>From 731f205131ab149b0c51cd3411dff92d7ec9eb43 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <alex.arnaud@biblibre.com> >--- > 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 @@ > <input type="hidden" name="invoiceid" value="[% invoiceid | html %]" /> > <fieldset class="action"> > <input type="submit" value="Save" /> >- [% UNLESS orders_loop.size %] >+ [% IF CAN_user_acquisition_delete_invoices AND NOT orders_loop.size %] > <a href="invoice.pl?op=delete&invoiceid=[% invoiceid | uri %]" id="delete">Delete</a> > [% END %] > </fieldset> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24157
:
96274
|
96275
|
96276
|
96277
|
96278
|
98651
|
98652
|
98653
|
98654
|
98655
|
100283
|
100284
|
100285
|
100286
|
100287
|
100288
|
107132
|
107133
|
107134
|
107135
|
107136
|
107137
|
107138
|
107139
|
107309
|
107346
|
107347
|
107348
|
107349
|
107350
|
107351
|
107352
| 107353 |
107354