From f02eb7a831c21140683eca4f955460ffe02396f0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 17 Nov 2014 17:17:49 +0100 Subject: [PATCH] Bug 13270: Don't display "vendor note" label if nothing to display Bug 12111 removes the vendor note edition on receiving. The label should not be displayed when it's empty. Test plan: 1/ Receive an order without a vendor note and verify that the label is not displayed. 2/ Receive an order with a vendor note and verify that the note is displayed. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Works as described, small template change. --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 422a4a3e63..833f0e6ac9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -330,7 +330,9 @@ [% END %]
  • -
  • [% order_vendornote %]
  • + [% IF order_vendornote %] +
  • [% order_vendornote %]
  • + [% END %] -- 2.39.5