From 6fe90c2228ab6116f1d30d811aad2a6eb342153a 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 c3d9df303d..ce33261d4a 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 @@ -704,6 +705,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