Bugzilla – Attachment 107139 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.21 KB, created by
Jonathan Druart
on 2020-07-21 09:13:45 UTC
(
hide
)
Description:
Bug 24157: (follow-up) New permission - delete_invoices
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-07-21 09:13:45 UTC
Size:
1.21 KB
patch
obsolete
>From 262a90736ef8f49c6f5556aa27013ba2d608f9a8 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 >--- > 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.20.1
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