Bugzilla – Attachment 15187 Details for
Bug 9438
Biblio notes displayed when ordering
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Follow-up Bug 9438 - Biblio notes displayed when ordering
Follow-up-Bug-9438---Biblio-notes-displayed-when-o.patch (text/plain), 2.33 KB, created by
Kyle M Hall (khall)
on 2013-02-08 17:57:05 UTC
(
hide
)
Description:
[SIGNED-OFF] Follow-up Bug 9438 - Biblio notes displayed when ordering
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-02-08 17:57:05 UTC
Size:
2.33 KB
patch
obsolete
>From 115ddce00215437a294ceca5f4df56406c7c2b63 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Tue, 5 Feb 2013 16:23:40 -0300 >Subject: [PATCH] Follow-up Bug 9438 - Biblio notes displayed when ordering > >This patch re-enables displying Notes when select >Modify order from basket view. > >To Test: >1) After applying first patch, Notes are empty when select Modify order >2) Apply patch >3) Now Notes are visible again, unless the order is new. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > acqui/neworderempty.pl | 3 ++- > .../prog/en/modules/acqui/neworderempty.tt | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 807a82b..0a279c0 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -389,13 +389,14 @@ $template->param( > total => sprintf( "%.2f", ($data->{ecost} || 0) * ($data->{'quantity'} || 0) ), > ecost => sprintf( "%.2f", $data->{ecost} || 0), > unitprice => sprintf( "%.2f", $data->{unitprice} || 0), >- notes => $data->{'notes'}, > publishercode => $data->{'publishercode'}, > barcode_subfield => $barcode_subfield, > import_batch_id => $import_batch_id, > (uc(C4::Context->preference("marcflavour"))) => 1 > ); > >+$template->param ( notes => $data->{'notes'} ) if ( $ordernumber ); >+ > output_html_with_http_headers $input, $cookie, $template->output; > > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index 7b2d07b..8a1534a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -548,7 +548,7 @@ $(document).ready(function() > </li> > <li> > <label for="notes">Notes: </label> >- <textarea id="notes" cols="30" rows="3" name="notes" ></textarea> >+ <textarea id="notes" cols="30" rows="3" name="notes" >[% IF ( notes ) %][% notes %][% END %]</textarea> > </li> > <li><div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div> > <label for="sort1">Statistic 1: </label> >-- >1.7.2.5
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 9438
:
14732
|
15064
|
15070
|
15186
|
15187
|
16576
|
16577