From b874caed6c37c27e9e90e3bb844d0e36abeb7063 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 Signed-off-by: Paul Poulain Signed-off-by: Jared Camins-Esakov --- acqui/neworderempty.pl | 3 ++- koha-tmpl/intranet-tmpl/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 807a82b19b..0a279c0cf7 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 7b2d07b08f..8a1534a0f3 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
    -- 2.39.5