Bug 34169: (follow-up) Fix ordering from staged files by removing superfluous form

Removes the unneded new form element as we have one big form for the whole page.

This should fix the situation where only the prices and information
of the first selected record carreid over into the order.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-07-18 07:30:23 +00:00 committed by Tomas Cohen Arazi
parent c943fddac6
commit 71377c5e7b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -87,7 +87,7 @@
Add orders from [% comments | html %]
([% file_name | html %] staged on [% upload_timestamp | $KohaDates with_hours => 1 %])
</h1>
<form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform">
<form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform" class="validated">
[% WRAPPER tabs id= "tabs" %]
[% WRAPPER tabs_nav %]
[% WRAPPER tab_item tabname= "records_to_import" bt_active= 1 %] <span>Select to import</span> [% END %]
@ -161,7 +161,6 @@
<a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% biblio.import_record_id | uri %]" class="previewData btn btn-default btn-xs">Card</a>
<a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;breedingid=[% biblio.import_record_id | uri %]&amp;import_batch_id=[% biblio.import_batch_id | uri %]&amp;biblionumber=[% biblio.match_biblionumber | uri %]" class="btn btn-default btn-xs">Add order</a>
</span>
<form action="/cgi-bin/koha/acqui/addorderiso2709.pl" class="validated">
<fieldset class="rows order_details">
<ol>
<li class="status">
@ -365,7 +364,6 @@
</div> <!-- /.item_edit_form -->
[% END %]
</fieldset> <!-- /.rows.order_details -->
</form>
</td>
</tr>
[% END # /FOREACH biblio %]