Bugzilla – Attachment 39796 Details for
Bug 12054
Don't allow to create orders for inactive vendors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12054: (follow-up) Inactive vendors should be inactive
Bug-12054-follow-up-Inactive-vendors-should-be-ina.patch (text/plain), 2.05 KB, created by
Jonathan Druart
on 2015-06-03 09:43:15 UTC
(
hide
)
Description:
Bug 12054: (follow-up) Inactive vendors should be inactive
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-06-03 09:43:15 UTC
Size:
2.05 KB
patch
obsolete
>From f2426f78db02b5627afc98eaf38e1e46fa3106d2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@koha-community.org> >Date: Wed, 3 Jun 2015 11:41:24 +0200 >Subject: [PATCH] Bug 12054: (follow-up) Inactive vendors should be inactive > >Don't display "add order""block and buttons if the vendor is inactive. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index 82ffde4..a646b58 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -161,7 +161,9 @@ > [% UNLESS ( selectbasketg ) %] > [% UNLESS ( closedate ) %] > <div id="toolbar" class="btn-toolbar"> >- <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-small" data-toggle="modal"><i class="icon-plus"></i> Add to basket</a></div> >+ [% IF active %] >+ <div class="btn-group"><a href="#addtoBasket" role="button" class="btn btn-small" data-toggle="modal"><i class="icon-plus"></i> Add to basket</a></div> >+ [% END %] > <div class="btn-group"><a href="basketheader.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&op=add_form" class="btn btn-small" id="basketheadbutton"><i class="icon-pencil"></i> Edit basket</a></div> > [%# FIXME This action should not be available for everyone %] > <div class="btn-group"><a href="#deleteBasketModal" role="button" class="btn btn-small" data-toggle="modal" id="delbasketbutton"><i class="icon-remove"></i> Delete this basket</a></div> >@@ -623,7 +625,10 @@ > </div> > </div> > >+ [% IF active %] > [% INCLUDE 'acquisitions-add-to-basket.inc' %] >+ [% END %] >+ > [% END %] > [% END %] > [% END %] [% ELSE %] <!-- if we want just to select a basketgroup for a closed basket --> >-- >2.1.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 12054
:
26915
|
38594
|
39236
|
39237
|
39238
|
39796
|
40178
|
40204
|
40205
|
40925