Bugzilla – Attachment 11824 Details for
Bug 8666
Prevent to create baskets for inactive suppliers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8666: Hide 'New basket' link if supplier is inactive
0001-Bug-8666-Hide-New-basket-link-if-supplier-is-inactiv.patch (text/plain), 1.85 KB, created by
Julian Maurice
on 2012-08-24 10:12:54 UTC
(
hide
)
Description:
Bug 8666: Hide 'New basket' link if supplier is inactive
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-08-24 10:12:54 UTC
Size:
1.85 KB
patch
obsolete
>From 532f19994990945a5786ca42ffaba732579066b8 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 22 Aug 2012 15:26:58 +0200 >Subject: [PATCH] Bug 8666: Hide 'New basket' link if supplier is inactive > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc >index 11d7b39..0c52cc2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc >@@ -23,7 +23,9 @@ > > var manageorders = [ > [% IF ( CAN_user_acquisition_order_manage ) %] >+ [% IF (active) %] > { text: _("New basket"), url: "/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form"}, >+ [% END %] > { text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid %]"}, > { text: _("Basket groups"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid %]"}, > [% END %] >@@ -52,7 +54,7 @@ > [% END %] > <li><a id="newcontract" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=[% booksellerid %]">New contract</a></li> > <li><a id="editcontracts" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid %]">Contracts</a></li> >- [% UNLESS ( basketcount ) %] >+ [% IF (active && !basketcount) %] > <li><a id="newbasket" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form">New basket</a></li> > [% END %] > [% END %] >-- >1.7.10.4 >
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 8666
:
11747
| 11824