Bug 27846: modules and modules/acqui folders
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / orderreceive.tt
index ae3a49e..0a8c8b8 100644 (file)
@@ -1,5 +1,6 @@
 [% USE raw %]
 [% USE Asset %]
+[% USE Koha %]
 [% USE KohaDates %]
 [% USE Branches %]
 [% USE AuthorisedValues %]
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'acquisitions-search.inc' %]
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.basket.booksellerid | html %]">[% name | html %]</a> &rsaquo; Receive items from : [% name | html %] [% IF ( invoice ) %][[% invoice | html %]][% END %] (order #[% order.ordernumber | html %])</div>
+<nav aria-label="Breadcrumb" class="breadcrumb">
+    <ol>
+        <li>
+            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
+        </li>
+        <li>
+            <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
+        </li>
+        <li>
+            <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.basket.booksellerid | uri %]">[% name | html %]</a>
+        </li>
+        <li>
+            <a href="#" aria-current="page">
+    Receive items from : [% name | html %] [% IF ( invoice ) %]
+    [[% invoice | html %]]
+    [% END %] (order #[% order.ordernumber | html %])
+            </a>
+        </li>
+    </ol>
+</nav>
 
 <div class="main container-fluid">
     <div class="row">
 
         $(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();