From 8423428301ac0a7c0798f1609776b6d7cba02ae9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 17 Nov 2014 17:17:49 +0100 Subject: [PATCH] [PASSED QA] 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 422a4a3..833f0e6 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 %] -- 1.9.1