Bug 23376: Remove unneeded 'count' parameter
authorNick Clemens <nick@bywatersolutions.com>
Mon, 29 Jul 2019 20:11:10 +0000 (20:11 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Oct 2020 14:03:49 +0000 (16:03 +0200)
Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
acqui/orderreceive.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt

index 49b9231..c78e171 100755 (executable)
@@ -152,7 +152,6 @@ if ( $order->subscriptionid ) {
 }
 
 $template->param(
-    count                 => 1,
     order                 => $order,
     freight               => $freight,
     name                  => $bookseller->name,
index da0c20f..c18cefc 100644 (file)
@@ -25,7 +25,7 @@
 
 <h1>Receive items from : [% name | html %] [% IF ( invoice ) %][[% invoice | html %]] [% END %] (order #[% order.ordernumber | html %])</h1>
 
-[% IF ( count ) %]
+[% IF ( order ) %]
     <form action="/cgi-bin/koha/acqui/finishreceive.pl" class="noEnterSubmit" method="post" onsubmit="return Check(this);">
 <div class="row">
 <div class="col-sm-6">