From 5508c5916b8ebf5aca59c027c0a7f58439eafc0f Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 6 Sep 2024 01:45:27 +0000 Subject: [PATCH] Bug 37854: Add fieldset.rows so that Javascript works Content-Type: text/plain; charset=utf-8 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 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 Signed-off-by: Marcel de Rooy --- .../intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 6 ++++++ 1 file changed, 6 insertions(+) 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 6d93fa201a..afc673608a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -71,6 +71,10 @@ content: none; } + #top_itemfieldset { + padding: 0px; + } + @@ -204,6 +208,7 @@ +
+
-- 2.39.5