From 95ee2715edd95cde0b0be6f5f62c16580a666c16 Mon Sep 17 00:00:00 2001 From: Victor Grousset Date: Fri, 5 Jan 2018 15:03:38 +0100 Subject: [PATCH] Bug 19953: Record page: acquisition details: add column for invoice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test plan: 1. create a vendor with minimal info 2. create a basket with minimal info 3. add a item to the basket 4. close the basket 5. receive a shipment 6. on the "receipt summary" click on "receive" for the wanted item (it should be the only one) 7. items → receive? → tick this checkbox 8. save 9. click on "finish receiving" 10. Go to the record → Acquisition details 11. Apply this patch 12. Refresh the page 13. You should see the new column --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 8 ++++++++ 1 file changed, 8 insertions(+) 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 7b4d0bb..68c3295 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -686,6 +686,7 @@ Vendor + Invoice Basket group Basket Order number @@ -706,6 +707,13 @@ [% END %] + [% IF (order.invoiceid) %] + + [% order.invoicenumber %] + [% END %] + + [% IF (order.basketgroupid) %] [% IF CAN_user_acquisition_group_manage %] [% order.groupname %] ([% order.basketgroupid %]) -- 2.7.4