Bugzilla – Attachment 34701 Details for
Bug 13270
On receiving, "vendor note" label should not be displayed if nothing to display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13270: Don't display "vendor note" label if nothing to display
PASSED-QA-Bug-13270-Dont-display-vendor-note-label.patch (text/plain), 1.70 KB, created by
Katrin Fischer
on 2014-12-27 11:24:04 UTC
(
hide
)
Description:
[PASSED QA] Bug 13270: Don't display "vendor note" label if nothing to display
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-12-27 11:24:04 UTC
Size:
1.70 KB
patch
obsolete
>From 8423428301ac0a7c0798f1609776b6d7cba02ae9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >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 <chris@bigballofwax.co.nz> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >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 @@ > <input type="text" size="20" name="cost" id="cost" value="[% ecost %]" /> > [% END %]</li> > <li><label for="order_internalnote">Internal note: </label><textarea name="order_internalnote" width="40" rows="8" >[% order_internalnote %]</textarea></li> >- <li><label for="order_vendornote">Vendor note: </label><span>[% order_vendornote %]</span></li> >+ [% IF order_vendornote %] >+ <li><label for="order_vendornote">Vendor note: </label><span>[% order_vendornote %]</span></li> >+ [% END %] > </ol> > </fieldset> > >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13270
:
33618
|
34687
| 34701