From 00b012c82d78fed0658758514d393d093f2ece0e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 11 Feb 2021 16:39:19 +0100 Subject: [PATCH] Bug 27671: Use Koha.Preference for UniqueItemFields Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 185e2f835d..de7522c5af 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -486,7 +486,7 @@ $(document).ready(function() { [% IF (AcqCreateItem == 'receiving') %] - cloneItemBlock(0, '[% UniqueItemFields | html %]'); + cloneItemBlock(0, '[% Koha.Preference('UniqueItemFields') | html %]'); [% ELSIF (AcqCreateItem == 'ordering') && not order.subscriptionid %] $("input[name='items_to_receive']").change(function() { CalcQtyToReceive(); -- 2.39.5