Bugzilla – Attachment 33618 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]
Bug 13270: Don't display "vendor note" label if nothing to display
Bug-13270-Dont-display-vendor-note-label-if-nothin.patch (text/plain), 1.53 KB, created by
Jonathan Druart
on 2014-11-17 16:20:26 UTC
(
hide
)
Description:
Bug 13270: Don't display "vendor note" label if nothing to display
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-11-17 16:20:26 UTC
Size:
1.53 KB
patch
obsolete
>From 0f41185a5aefd232c5ffdda4c19e36a6535d8da0 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] 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. >--- > 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> > >-- >2.1.0
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