Bug 27606: Add link back to vendor in breadcrumbs for parcel.tt
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 4 Feb 2021 20:56:11 +0000 (20:56 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Feb 2021 16:09:32 +0000 (17:09 +0100)
To Test:
1. recieve an order:
When receiving, we get these breadcrumbs:
Home › Acquisitions › Receive orders from My Vendor

2. apply patch
Now we get these breadcrumbs:
Home › Acquisitions › My Vendor› Receive orders from My Vendor

3. Make sure the link sends you back to the correct vendor

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt

index ca87c8c..855b044 100644 (file)
@@ -29,7 +29,7 @@
             <em>[ [% invoice | html %] ]</em>
         [% END %]
     [% ELSE %]
-        Receive orders from [% name | html %]
+        <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a> &rsaquo; Receive orders from [% name | html %]
     [% END %]
 </div>