From 115ddce00215437a294ceca5f4df56406c7c2b63 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel 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 --- 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()
  • - +
  • The 2 following fields are available for your own usage. They can be useful for statistical purposes
    -- 1.7.2.5