From d3de39d946f04b9923a5d9249728e5a4e8ff259b 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. Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 1c62f1a9783bb8a171352e0b66d910056ccfe0d4) Signed-off-by: Chris Cormack --- 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.2