From f565c20b9e0073c5ae442bb45e255266b37b6dc9 Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Mon, 29 Jul 2019 20:11:10 +0000
Subject: [PATCH] Bug 23376: Remove unneeded 'count' parameter

Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
---
 acqui/orderreceive.pl                                         | 1 -
 koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl
index 49b923134e..c78e171a70 100755
--- a/acqui/orderreceive.pl
+++ b/acqui/orderreceive.pl
@@ -152,7 +152,6 @@ if ( $order->subscriptionid ) {
 }
 
 $template->param(
-    count                 => 1,
     order                 => $order,
     freight               => $freight,
     name                  => $bookseller->name,
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 3eb790ad60..0d30a24540 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
@@ -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">
-- 
2.25.0