Bug 37854: Add fieldset.rows so that Javascript works

This change adds a fieldset.rows that the Javascript produced
by C4/Barcodes/ValueBuilder.pm will work here too like it
does for /cgi-bin/koha/cataloguing/additem.pl and
/cgi-bin/koha/acqui/neworderempty.pl

The fieldset.rows element ruins the styling, so we add some context
specific styling to the styling is preserved.

Test plan:
0. Apply the patch
1. Set "autoBarcode" to "generated in the form <branchcode>yymm0001"
2. Create a vendor
3. Create a backet with "Create items when" set to "receiving an order"
4. Add an order (any order)
5. Close the basket
6. Receive the shipment
7. Click in the barcode field
8. Note that you get a barcode like CPL24090001 and not undefined24090001

Signed-off-by: Olivier V <olivier.vezina@inLibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
David Cook 2024-09-06 01:45:27 +00:00 committed by Katrin Fischer
parent 8b952b1a34
commit 79b5228116
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,10 @@
content: none;
}
#top_itemfieldset {
padding: 0px;
}
</style>
</head>
@ -204,6 +208,7 @@
</table>
</div>
</div>
<fieldset class="rows" id="top_itemfieldset">
<div id="items-panel" class="page-section">
<div id="acq-create-receiving">
<div id="items_list" style="display: none">
@ -275,6 +280,7 @@
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-12 col-lg-6">
<div id="accounting-panel" class="page-section">