From fbf7616ed0cab74aa974633db56f6f2e936e183c 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 Signed-off-by: Séverine QUEUNE --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 12 ++++++++++++ 1 file changed, 12 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 d3b12b4..9b1eb1a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -684,6 +684,7 @@ Vendor + Invoice Basket group Basket Order number @@ -702,6 +703,17 @@ [% END %] + [% IF (order.invoiceid) %] + [% IF CAN_user_acquisition %] + + [% order.invoicenumber %] + [% ELSE %] + [% order.invoicenumber %] + [% END %] + [% END %] + + [% IF (order.basketgroupid) %] [% IF CAN_user_acquisition_group_manage %] [% order.groupname %] ([% order.basketgroupid %]) -- 2.7.4