Bugzilla – Attachment 40192 Details for
Bug 13962
Add vendor to the acq tab on the details page in staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13962: Add vendor to acq details tab in staff
Bug-13962-Add-vendor-to-acq-details-tab-in-staff.patch (text/plain), 2.74 KB, created by
Jonathan Druart
on 2015-06-16 16:17:46 UTC
(
hide
)
Description:
Bug 13962: Add vendor to acq details tab in staff
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-06-16 16:17:46 UTC
Size:
2.74 KB
patch
obsolete
>From 7c369661d224978af4253ae7aa27ffc9c1645064 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 10 Jun 2015 00:34:50 +0200 >Subject: [PATCH] Bug 13962: Add vendor to acq details tab in staff > >Implementing some feedback from our user meeting: >The acquisition details tab on the detail page >in staff should also show the vendor of the >order. > >To test: >- Make sure AcquisitionDetails is active. >- Create an order or look up an order in the > acqusition module. >- Go to the ordered record and check the > 'Acquisition details' tab >- Verify the vendor shows up there as first > column now >- Check that sorting and display of the other > columns are still working correctly > >Note: Also fixes a </th> that should be a </td> >Signed-off-by: Aleisha <aleishaamohia@hotmail.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 6935eeb..cf47653 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -295,9 +295,9 @@ function verify_images() { > 'sDom': 't', > 'bPaginate': false, > 'bAutoWidth': false, >- "aaSorting": [[ 3, "desc" ]], >+ "aaSorting": [[ 4, "desc" ]], > "aoColumnDefs": [ >- { "aTargets": [ 3, 4 ], "sType": "title-string" } >+ { "aTargets": [ 4, 5 ], "sType": "title-string" } > ] > })); > >@@ -932,6 +932,7 @@ function verify_images() { > <table id="orders"> > <thead> > <tr> >+ <th>Vendor</th> > <th>Basket group</th> > <th>Basket</th> > <th>Order number</th> >@@ -945,6 +946,11 @@ function verify_images() { > [% FOR order IN orders %] > <tr> > <td> >+ [% IF (order.id) %] >+ [% order.name %] >+ [% END %] >+ </td> >+ <td> > [% IF (order.basketgroupid) %] > [% IF CAN_user_acquisition_group_manage %] > <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a> >@@ -970,7 +976,7 @@ function verify_images() { > [% CASE 'cancelled' %]Cancelled > [% END %] > </td> >- <td>[% order.quantity %]</th> >+ <td>[% order.quantity %]</td> > </tr> > [% END %] > </tbody> >-- >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 13962
:
40050
|
40056
| 40192 |
40193