From c3f9b750e22b87f6f699bf608cc90fa91cd1ef58 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=utf8 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../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 d3b12b455f..9b1eb1ade4 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.39.5