Bugzilla – Attachment 49018 Details for
Bug 13371
Add filters to the supplier list view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13371: List suppliers even if they don't have basket.
Bug-13371-List-suppliers-even-if-they-dont-have-ba.patch (text/plain), 3.74 KB, created by
Alex Arnaud
on 2016-03-11 13:59:07 UTC
(
hide
)
Description:
Bug 13371: List suppliers even if they don't have basket.
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2016-03-11 13:59:07 UTC
Size:
3.74 KB
patch
obsolete
>From 5d802e7e5d03cbb572ddc06db2b33e2fa5fcbabe Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 11 Dec 2014 11:50:20 +0100 >Subject: [PATCH] Bug 13371: List suppliers even if they don't have basket. > >Signed-off-by: Paola Rossi <paola.rossi@cineca.it> >--- > .../prog/en/modules/acqui/booksellers.tt | 36 +++++++++++++++++----- > 1 file changed, 28 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt >index bca0776..afb285a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt >@@ -115,6 +115,16 @@ $(document).ready(function() { > > [% INCLUDE 'acquisitions-toolbar.inc' %] > [% UNLESS ( count == 1 ) %] >+[% BLOCK action %] >+ <span class="action"> >+ [% IF CAN_user_acquisition_order_manage %] >+ [% IF supplier.active %] >+ <a class="btn btn-small" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% supplier.booksellerid %]&op=add_form"><i class="icon-plus"></i> New basket</a> >+ [% END %] >+ [% END %] >+ <a class="btn btn-small" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% supplier.booksellerid %]"><i class="icon-inbox"></i> Receive shipment</a> >+ </span> >+[% END %] > <h1>You searched on <b>vendor [% supplier %],</b> [% count %] results found</h1> > [% END %] > [% IF ( loop_suppliers.size ) %] >@@ -143,6 +153,23 @@ $(document).ready(function() { > </thead> > <tbody> > [% FOREACH supplier IN loop_suppliers %] >+ [% IF supplier.loop_basket.size == 0 %] >+ <tr> >+ <td> >+ <a name="[% supplier.booksellerid %]" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% supplier.booksellerid %]">[% supplier.name %]</a> >+ ([% supplier.booksellerid %]) >+ [% PROCESS action supplier = supplier %] >+ </td> >+ <td> >+ [% IF allbaskets %] >+ No basket. >+ [% ELSE %] >+ No active basket. >+ [% END %] >+ </td> >+ <td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td> >+ </tr> >+ [% END %] > [% FOREACH basket IN supplier.loop_basket %] > [% IF ( basket.uncertainprices ) %] > <tr class="problem"> >@@ -152,14 +179,7 @@ $(document).ready(function() { > <td> > <a name="[% supplier.booksellerid %]" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% supplier.booksellerid %]">[% supplier.name %]</a> > ([% supplier.booksellerid %]) >- <span class="action"> >- [% IF ( CAN_user_acquisition_order_manage ) %] >- [% IF ( supplier.active ) %] >- <a class="btn btn-small" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% supplier.booksellerid %]&op=add_form"><i class="icon-plus"></i> New basket</a> >- [% END %] >- [% END %] >- <a class="btn btn-small" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% supplier.booksellerid %]"><i class="icon-inbox"></i> Receive shipment</a> >- </span> >+ [% PROCESS action supplier = supplier %] > </td> > <td>[% basket.basketno %]</td> > <td>[% basket.basketname %]</td> >-- >2.7.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 13371
:
34057
|
34058
|
34059
|
34167
|
34170
|
34275
|
34295
|
34296
|
34297
|
34298
|
34299
|
34306
|
34423
|
34424
|
34425
|
34433
|
34434
|
34435
|
34436
|
34437
|
34438
|
34439
|
36759
|
49014
|
49015
|
49016
|
49017
|
49018
|
49019
|
49020
|
49021
|
55235
|
55236
|
55237
|
55238
|
55239
|
55240
|
55241
|
55242
|
55243
|
55244
|
55245
|
55978
|
59312