From 55103ad860c42e5e0dc52b8d186c7266e5377f0a Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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 that should be a Signed-off-by: Aleisha Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../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 66c41e6429..4f9478fb6e 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() { + @@ -944,6 +945,11 @@ function verify_images() { [% FOR order IN orders %] + - [% END %] -- 2.39.5
Vendor Basket group Basket Order number
+ [% IF (order.id) %] + [% order.name %] + [% END %] + [% IF (order.basketgroupid) %] [% IF CAN_user_acquisition_group_manage %] @@ -970,7 +976,7 @@ function verify_images() { [% CASE 'cancelled' %]Cancelled [% END %] [% order.quantity %] + [% order.quantity %]