From b91efb3b6668bdb50ea475571eae7858aa2b1f52 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 28 Apr 2014 15:37:43 +0000 Subject: [PATCH] Bug 12111: (follow-up) ensure that vendor note is not editable during order receiving This patch removes the ability of finishreceive.pl to change the vendor note of an order. It also uses a normal span rather than a disabled textarea to display the vendor note on the receiving page, to emphasize that it cannot be changed. Signed-off-by: Galen Charlton --- acqui/finishreceive.pl | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index fa68078baa..1723520995 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -54,7 +54,6 @@ my $cnt = 0; my $ecost = $input->param('ecost'); my $rrp = $input->param('rrp'); my $order_internalnote = $input->param("order_internalnote"); -my $order_vendornote = $input->param("order_vendornote"); my $bookfund = $input->param("bookfund"); my $order = GetOrder($ordernumber); my $new_ordernumber = $ordernumber; @@ -114,7 +113,6 @@ if ($quantityrec > $origquantityrec ) { datereceived => $datereceived, received_items => \@received_items, order_internalnote => $order_internalnote, - order_vendornote => $order_vendornote, } ); } 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 9ecae0415b..422a4a3e63 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,7 @@ [% END %]
  • -
  • +
  • [% order_vendornote %]
  • -- 2.39.2