diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl
index 862719b51e..a10bf4663f 100755
--- a/acqui/neworderempty.pl
+++ b/acqui/neworderempty.pl
@@ -60,8 +60,6 @@ if this order comes from a suggestion.
=item breedingid
the item's id in the breeding reservoir
-=item close
-
=back
=cut
@@ -106,7 +104,6 @@ my $ordernumber = $input->param('ordernumber') || '';
our $biblionumber = $input->param('biblionumber');
our $basketno = $input->param('basketno');
my $suggestionid = $input->param('suggestionid');
-my $close = $input->param('close');
my $uncertainprice = $input->param('uncertainprice');
my $import_batch_id = $input->param('import_batch_id'); # if this is filled, we come from a staged file, and we will return here after saving the order !
my $from_subscriptionid = $input->param('from_subscriptionid');
@@ -338,11 +335,6 @@ foreach my $r (@{$budgets}) {
};
}
-if ($close) {
- $budget_id = $data->{'budget_id'};
- $budget_name = $budget->{'budget_name'};
-
-}
$template->param( sort1 => $data->{'sort1'} );
$template->param( sort2 => $data->{'sort2'} );
@@ -394,12 +386,6 @@ if ( defined $from_subscriptionid ) {
# Find the items.barcode subfield for barcode validations
my (undef, $barcode_subfield) = GetMarcFromKohaField( 'items.barcode' );
-# fill template
-$template->param(
- close => $close,
- budget_id => $budget_id,
- budget_name => $budget_name
-) if ($close);
# get option values for gist syspref
my @gst_values = map {
@@ -411,6 +397,7 @@ my $quantity = $input->param('rr_quantity_to_order') ?
$data->{'quantity'};
$quantity //= 0;
+# fill template
$template->param(
existing => $biblionumber,
ordernumber => $ordernumber,
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 04a41a9e96..c2d0a1cb12 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
@@ -299,28 +299,23 @@
- [% IF ( close ) %]
- Quantity:
- [% quantity | html %]
- [% ELSE %]
-
- [% IF subscriptionid %]
-
- [% ELSIF AcqCreateItemOrdering %]
- [% IF basket.is_standing %]
-
- [% ELSE %]
-
- [% END %]
+
+ [% IF subscriptionid %]
+
+ [% ELSIF AcqCreateItemOrdering %]
+ [% IF basket.is_standing %]
+
[% ELSE %]
- [% IF basket.is_standing %]
-
- [% ELSE %]
-
- [% END %]
+
+ [% END %]
+ [% ELSE %]
+ [% IF basket.is_standing %]
+
+ [% ELSE %]
+
[% END %]
- Required
[% END %]
+ Required
@@ -335,10 +330,6 @@
[% END %]
- [% IF ( close ) %]
- Fund:
- [% Budget_name | html %]
- [% ELSE %]
[% active_count = 0 %]
[% IF !ordernumber %]
@@ -364,20 +355,15 @@
style="padding-left:[% budget_loo.b_level | html %]em;"
>
[% END %]
- [% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] (inactive)[% END %]
+ [% budget_loo.b_txt | html %][% IF !budget_loo.b_active %] (inactive)[% END %]
[% END %]
Required
- [% END %]
- [% IF ( close ) %]
- Currency:
- [% currency | html %]
- [% ELSE %]
- [% END %]
- [% IF ( close ) %]
- Vendor price:
- [% listprice | html %] [% IF (listincgst == 1) %](tax inclusive)[% ELSE %](tax exclusive)[% END %]
- [% ELSE %]
[% IF (listincgst == 1) %](tax inclusive)[% ELSE %](tax exclusive)[% END %]
- [% END %]
- [% UNLESS ( close ) %]
[% IF ( uncertainprice ) %]
@@ -408,52 +387,33 @@
[% END %]
- [% END %]
[% IF ( gst_values ) %]
- [% IF ( close ) %]
- Tax rate:
- [% tax_rate | html %]%
- [% ELSE %]
-
-
+
+
+ [% ELSE %]
[% END %]
- [% IF ( close ) %]
- [% IF ( orderdiscount ) %]
- [% orderdiscount_2dp | html %]%
- [% ELSE %]
- [% discount_2dp | html %]%
- [% END %]
+ [% IF ( orderdiscount ) %]
+ %
[% ELSE %]
- [% IF ( orderdiscount ) %]
- %
- [% ELSE %]
- %
- [% END %]
+ %
[% END %]
- [% IF ( close ) %]
- Retail price:
- [% rrp | html %] (adjusted for [% cur_active | html %], [% IF (listincgst == 1) %]tax inclusive[% ELSE %]tax exclusive[% END %])
- [% ELSE %]
-
- (adjusted for [% cur_active | html %], [% IF (listincgst == 1) %]tax inclusive[% ELSE %]tax exclusive[% END %])
- [% END %]
+
+ (adjusted for [% cur_active | html %], [% IF (listincgst == 1) %]tax inclusive[% ELSE %]tax exclusive[% END %])