Bug 38010: Update links to vendor module

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Matt Blenkinsop 2024-10-01 10:34:20 +00:00 committed by Katrin Fischer
parent 12cb5d3d87
commit 239ad17d3d
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
41 changed files with 60 additions and 61 deletions

View File

@ -241,7 +241,7 @@ if ( $op eq 'cud-delete-order' ) {
);
print $query->redirect( '/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=' . $booksellerid . '&closed=1' );
} else {
print $query->redirect( '/cgi-bin/koha/acqui/booksellers.pl?booksellerid=' . $booksellerid );
print $query->redirect( '/cgi-bin/koha/vendors/' . $booksellerid );
}
exit;
} else {
@ -609,7 +609,7 @@ sub edi_close_and_order {
);
print $query->redirect("/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=$booksellerid&closed=1");
} else {
print $query->redirect("/cgi-bin/koha/acqui/booksellers.pl?booksellerid=$booksellerid");
print $query->redirect("/cgi-bin/koha/vendors/$booksellerid");
}
exit;
} else {

View File

@ -126,7 +126,7 @@ elsif ( $op eq 'cud-add_validate' ) {
);
}
print $input->redirect("/cgi-bin/koha/acqui/supplier.pl?booksellerid=$booksellerid");
print $input->redirect("/cgi-bin/koha/vendors/$booksellerid");
exit;
# END $OP eq ADD_VALIDATE
@ -154,7 +154,7 @@ elsif ( $op eq 'cud-delete_confirmed' ) {
my $deleted = DelContract( { contractnumber => $contractnumber } );
if ($deleted) {
print $input->redirect("/cgi-bin/koha/acqui/supplier.pl?booksellerid=$booksellerid");
print $input->redirect("/cgi-bin/koha/vendors/$booksellerid");
exit;
} else {
$template->param( error => 'not_deleted' );
@ -177,4 +177,3 @@ if ( $op eq 'list' ) {
}
output_html_with_http_headers $input, $cookie, $template->output;

View File

@ -12,13 +12,13 @@
<li><a class="dropdown-item" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;booksellerid=[% booksellerid | uri %]">Contract</a></li>
[% END %]
[% IF ( CAN_user_acquisition_vendors_manage ) %]
<li><a class="dropdown-item" href="/cgi-bin/koha/acqui/supplier.pl?op=enter">Vendor</a></li>
<li><a class="dropdown-item" href="/cgi-bin/koha/vendors/add">Vendor</a></li>
[% END %]
</ul>
</div>
[% IF ( CAN_user_acquisition_vendors_manage ) %]
<div class="btn-group">
<a class="btn btn-default" id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]&amp;op=enter"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit vendor</a>
<a class="btn btn-default" id="editsupplier" href="/cgi-bin/koha/vendors/[% booksellerid | html %]&amp;op=enter"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit vendor</a>
</div>
[% UNLESS ( basketcount OR subscriptioncount ) %]
<div class="btn-group">

View File

@ -1,7 +1,7 @@
[% IF ( booksellerid ) %]
<div id="vendor-menu" class="sidebar_menu">
<ul>
[% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]">Baskets</a></li>[% END %]
[% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">Baskets</a></li>[% END %]
[% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket groups</a></li>[% END %]
[% IF ( CAN_user_acquisition_contracts_manage ) %]<li><a href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid | uri %]">Contracts</a></li>[% END %]
[% IF ( CAN_user_acquisition_issue_manage ) %]<li><a href="/cgi-bin/koha/acqui/vendor_issues.pl?booksellerid=[% booksellerid | uri %]">Vendor issues</a></li>[% END %]

View File

@ -68,7 +68,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno | html %]</a>

View File

@ -51,7 +51,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
[% UNLESS ( basketno ) %]
@ -282,8 +282,8 @@
</div>
<a href="booksellers.pl">Go back to vendor page</a>
[% ELSE %]
<a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]" class="btn btn-default btn-sm">Show baskets for vendor [% booksellername | html %]</a>
<a href="/cgi-bin/koha/acqui/booksellers.pl" class="btn btn-default btn-sm">Show all active baskets</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]" class="btn btn-default btn-sm">Show baskets for vendor [% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors" class="btn btn-default btn-sm">Show all active baskets</a>
[% END # /IF (cannotdelbiblios) %]
[% ELSE # IF ( delete_confirmed ) %]
@ -740,7 +740,7 @@
<p>
Transferred from basket:
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]"> [% basket.basketname | html %]</a>
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | uri %]">[% bookseller.name | html %]</a>) on
(<a href="/cgi-bin/koha/vendors/[% bookseller.id | uri %]">[% bookseller.name | html %]</a>) on
<span title="[% timestamp | $KohaDates with_hours = 1 %]"> [% timestamp | $KohaDates %] </span>
</p>
[% END %]
@ -914,7 +914,7 @@
<p
>Transferred to basket:
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]"> [% basket.basketname | html %]</a>
(<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | uri %]">[% bookseller.name | html %]</a>) on
(<a href="/cgi-bin/koha/vendors/[% bookseller.id | uri %]">[% bookseller.name | html %]</a>) on
<span title="[% timestamp | $KohaDates with_hours = 1 %]"> [% timestamp | $KohaDates %] </span>
</p>
[% END %]

View File

@ -27,7 +27,7 @@
[% END %]
[% IF ( grouping ) %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket grouping</a>
@ -37,7 +37,7 @@
[% END %]
[% ELSE %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
<span>Basket grouping</span>
@ -77,11 +77,11 @@
</div>
[% END %]
[% IF (name && closedbg) %]
<h1>Basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
<h1>Basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
[% ELSIF (name) %]
<h1>Edit basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
<h1>Edit basket group [% name | html %] ([% basketgroupid | html %]) for <a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
[% ELSE %]
<h1>Add basket group for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
<h1>Add basket group for <a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
[% END %]
<div id="basketgroupcolumns" class="row">
[% UNLESS (closedbg) %]
@ -253,7 +253,7 @@
><a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add_form&amp;booksellerid=[% booksellerid | uri %]" class="btn btn-default" id="newbasketgroup"><i class="fa fa-plus"></i> New basket group</a></div
>
</div>
<h1>Basket grouping for <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
<h1>Basket grouping for <a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
[% IF (NoEDIMessage && Koha.Preference('EDIFACT')) %]<div><strong>No EDIFACT configuration for [% booksellername | html %]</strong></div>[% END %]
[% WRAPPER tabs id= "basket_groups" %]

View File

@ -31,7 +31,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% IF ( add_form ) %]
[% IF ( basketno ) %]
@ -156,7 +156,7 @@
[% IF ( basketno ) %]
<a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
[% ELSE %]
<a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a>
<a class="cancel" href="/cgi-bin/koha/vendors/[% booksellerid | html %]">Cancel</a>
[% END %]
</fieldset>
</form>

View File

@ -20,7 +20,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% basket.bookseller.id | uri %]">[% basket.bookseller.name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% basket.bookseller.id | uri %]">[% basket.bookseller.name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]">Basket [% basket.basketname | html %] ([% basket.basketno | html %]) for [% basket.bookseller.name | html %]</a>

View File

@ -39,7 +39,7 @@
[% END %]
[% UNLESS blocking_error %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]">[% vendor.name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% vendor.id | uri %]">[% vendor.name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]">Basket [% basket.basketno | html %]</a>
@ -130,7 +130,7 @@
<br />[% order.author | html %] <br />
[% order.isbn | html %]
</td>
<td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id | uri %]">[% order.name | html %]</a></td>
<td><a href="/cgi-bin/koha/vendors/[% order.id | uri %]">[% order.name | html %]</a></td>
<td data-order="[% order.creationdate | html %]">[% order.creationdate | $KohaDates %]</td>
<td data-order="[% order.datereceived | html %]"> [% order.datereceived | $KohaDates %] </td>
<td>[% order.quantityreceived | html %]</td>

View File

@ -140,9 +140,9 @@
"render": function(data, type, row, meta) {
let link;
if ( row.vendor ) {
link = '<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid='+row.vendor_id+'">'+row.vendor.name+'</a>';
link = '<a href="/cgi-bin/koha/vendors/'+row.vendor_id+'">'+row.vendor.name+'</a>';
} else {
link = '<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid='+row.vendor_id+'">'+row.vendor_id+'</a>';
link = '<a href="/cgi-bin/koha/vendors/'+row.vendor_id+'">'+row.vendor_id+'</a>';
}
return link;
}

View File

@ -131,7 +131,7 @@
<br />[% order.author | html %] <br />
[% order.isbn | html %]
</td>
<td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id | uri %]">[% order.name | html %]</a></td>
<td><a href="/cgi-bin/koha/vendors/[% order.id | uri %]">[% order.name | html %]</a></td>
<td data-order="[% order.creationdate | html %]">[% order.creationdate | $KohaDates %]</td>
<td data-order="[% order.datereceived | html %]"> [% order.datereceived | $KohaDates %] </td>
<td>[% order.quantityreceived | html %]</td>

View File

@ -38,7 +38,7 @@
[% WRAPPER 'main-container.inc' aside='acquisitions-menu' %]
<h1>Files for invoice: [% invoicenumber | html %]</h1>
<p><strong>Vendor: </strong><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% suppliername | html %]</a></p>
<p><strong>Vendor: </strong><a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% suppliername | html %]</a></p>
<br />
[% IF errors %]
<div class="alert alert-warning">

View File

@ -55,7 +55,7 @@
</div>
[% END %]
<p>Vendor: <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% suppliername | html %]</a></p>
<p>Vendor: <a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% suppliername | html %]</a></p>
<form action="/cgi-bin/koha/acqui/invoice.pl" method="post" class="validated">
[% INCLUDE 'csrf-token.inc' %]

View File

@ -86,7 +86,7 @@
[% END %]
<td><input type="checkbox" class="select-invoice" value="[% invoice.invoiceid | html %]" /></td>
<td><a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoice.invoiceid | uri %]">[% invoice.invoicenumber | html %]</a></td>
<td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% invoice.booksellerid | uri %]">[% invoice.suppliername | html %]</a></td>
<td><a href="/cgi-bin/koha/vendors/[% invoice.booksellerid | uri %]">[% invoice.suppliername | html %]</a></td>
<td data-order="[% invoice.shipmentdate | html %]"> [% invoice.shipmentdate | $KohaDates %] </td>
<td data-order="[% invoice.billingdate | html %]"> [% invoice.billingdate | $KohaDates %] </td>
<td>[% invoice.receivedbiblios | html %]</td>

View File

@ -22,7 +22,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketname | html %] ([% basketno | html %])</a>

View File

@ -24,7 +24,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketname | html %] ([% basketno | html %])</a>

View File

@ -241,7 +241,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno | html %]</a>

View File

@ -26,7 +26,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno | html %]</a>

View File

@ -27,7 +27,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno | html %]</a>

View File

@ -65,7 +65,7 @@
[% END %]
</td>
<td class="cell">
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
<a href="/cgi-bin/koha/vendors/[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
</td>
<td class="cell">
[% FOREACH itemtype IN order.itemtypes %]

View File

@ -90,7 +90,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]">[% name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% vendor.id | uri %]">[% name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
[% IF ( invoice ) %]

View File

@ -44,7 +44,7 @@
[% END %]
[% ELSE %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
<span>Receive orders from [% name | html %]</span>

View File

@ -25,7 +25,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
<span>Receive shipment from vendor [% name | html %]</span>
@ -38,7 +38,7 @@
<div class="col-md-10 order-md-2 order-sm-2">
<main>
[% INCLUDE 'messages.inc' %]
<h1>Receive shipment from vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a></h1>
<h1>Receive shipment from vendor <a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% name | html %]</a></h1>
[% IF closed_invoices %]
<p>[% I18N.tnx("There is one closed invoice not included in this search.", "There are {closed_invoices} closed invoices not included in this search.", closed_invoices, { closed_invoices => closed_invoices }) %]</p>
@ -197,7 +197,7 @@
[% IF available_additional_fields %]
[% INCLUDE 'additional-fields-entry.inc' available=available_additional_fields values=additional_field_values %]
[% END %]
<fieldset class="action"><input type="submit" class="btn btn-default" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a></fieldset>
<fieldset class="action"><input type="submit" class="btn btn-default" value="Next" /> <a class="cancel" href="/cgi-bin/koha/vendors/[% booksellerid | html %]">Cancel</a></fieldset>
</form>
</div>
</main>

View File

@ -59,7 +59,7 @@
</td>
<td class="cell"> [% order.ordernumber | html %] </td>
<td class="cell">
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
<a href="/cgi-bin/koha/vendors/[% order.booksellerid | uri %]">[% order.vendorname | html %]</a>
</td>
<td class="cell">
<a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]">[% order.invoicenumber | html %]</a>

View File

@ -174,7 +174,7 @@
[% IF ( enter ) %]
[% IF ( booksellerid ) %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
[% tx("Modify vendor '{vendor}'", { vendor = name }) | html %]
@ -210,7 +210,7 @@
<div id="toolbar" class="btn-toolbar sticky">
<button class="btn btn-primary" type="submit"><i class="fa fa-save"></i> Save</button>
[% IF ( booksellerid ) %]
[% SET a_href = '/cgi-bin/koha/acqui/supplier.pl?booksellerid=' _ booksellerid %]
<a class="btn btn-default cancel" href="/cgi-bin/koha/vendors/[% booksellerid | html %]"> </a>
[% ELSE %]
[% SET a_href = '/cgi-bin/koha/acqui/acqui-home.pl' %]
[% END %]

View File

@ -30,7 +30,7 @@
[% END %]
[% IF ( booksellername ) %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
<span>Uncertain prices for vendor [% booksellername | html %]</span>
@ -51,7 +51,7 @@
<meta http-equiv="Refresh" content="[% metacontent | html %]" />
[% ELSE %]
[% IF ( booksellername ) %]
<h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
<h1>Orders with uncertain prices for vendor <a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
<div class="page-section">
<h2>Contact information</h2>

View File

@ -39,7 +39,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]">[% vendor.name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% vendor.id | uri %]">[% vendor.name | html %]</a>
[% END %]
[% IF op == 'list' %]
[% WRAPPER breadcrumb_item bc_active= 1 %]

View File

@ -62,7 +62,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% name | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketno | html %]</a>

View File

@ -37,7 +37,7 @@
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
<a href="/cgi-bin/koha/vendors/[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% IF ( else ) %]

View File

@ -315,7 +315,7 @@
[% FOREACH account IN ediaccounts %]
<tr>
<td>[% account.id | html %]</td>
<td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% account.vendor_id | uri %]">[% account.vendor.name | html %]</a></td>
<td><a href="/cgi-bin/koha/vendors/[% account.vendor_id | uri %]">[% account.vendor.name | html %]</a></td>
<td>[% account.description | html %]</td>
<td>[% account.transport | html %]</td>
<td>[% account.host | html %]</td>

View File

@ -600,7 +600,7 @@
[% SET vendor = basket.bookseller %]
<tr>
<td>
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]" title="Vendor detail page">[% vendor.name | html %]</a>
<a href="/cgi-bin/koha/vendors/[% vendor.id | uri %]" title="Vendor detail page">[% vendor.name | html %]</a>
</td>
<td>
[% IF order.invoiceid %]

View File

@ -64,7 +64,7 @@
<tbody>
[% FOREACH data IN datas %]
<tr>
<td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid | uri %]">[% data.name | html %]</a></td>
<td><a href="/cgi-bin/koha/vendors/[% data.aqbooksellerid | uri %]">[% data.name | html %]</a></td>
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | uri %]">[% data.title | html %]</a></td>
<td>[% data.subscriptionid | html %]</td>
<td>[% Branches.GetName( data.branchcode ) | html %]</td>

View File

@ -58,7 +58,7 @@
<tr>
<td>[% subscription.biblio.biblioitem.issn | html %]</td>
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">[% subscription.biblio.title | html %] (#[% subscription.subscriptionid | html %])</a></td>
<td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% subscription.vendor.id | uri %]">[% subscription.vendor.name | html %]</a></td>
<td><a href="/cgi-bin/koha/vendors/[% subscription.vendor.id | uri %]">[% subscription.vendor.name | html %]</a></td>
<td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]</td>
<td>[% Branches.GetName(subscription.branchcode) | html %]</td>
<td>[% ItemTypes.GetDescription( subscription.itemtype ) | html %]</td>

View File

@ -110,7 +110,7 @@
<ol>
<li><span class="label">Subscription ID: </span>[% subscriptionid | html %]</li>
<li><span class="label">Librarian identity:</span> [% librarian | html %]</li>
<li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% aqbooksellerid | uri %]">[% aqbooksellername | html %]</a></li>
<li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/vendors/[% aqbooksellerid | uri %]">[% aqbooksellername | html %]</a></li>
<li>
<span class="label">Bibliographic record:</span>
[%- INCLUDE 'biblio-title.inc' biblio=subscription.biblio link = 1 -%] <em>([% subscription.biblionumber | html %])</em>

View File

@ -335,7 +335,7 @@ export default {
orderable: true,
render: function (data, type, row, meta) {
return row.vendor_id != undefined
? '<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=' +
? '<a href="/cgi-bin/koha/vendors/' +
row.vendor_id +
'">' +
escape_str(row.vendor.name) +

View File

@ -35,7 +35,7 @@
<label>{{ $__("Vendor") }}:</label>
<span v-if="agreement.vendor_id">
<a
:href="`/cgi-bin/koha/acqui/booksellers.pl?booksellerid=${agreement.vendor_id}`"
:href="`/cgi-bin/koha/vendors/${agreement.vendor_id}`"
>
{{ agreement.vendor.name }}
</a>

View File

@ -235,7 +235,7 @@ export default {
orderable: true,
render: function (data, type, row, meta) {
return row.vendor_id != undefined
? '<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=' +
? '<a href="/cgi-bin/koha/vendors/' +
row.vendor_id +
'">' +
escape_str(row.vendor.name) +

View File

@ -35,7 +35,7 @@
<label>{{ $__("Vendor") }}:</label>
<span>
<a
:href="`/cgi-bin/koha/acqui/booksellers.pl?booksellerid=${erm_package.vendor_id}`"
:href="`/cgi-bin/koha/vendors/${erm_package.vendor_id}`"
>{{ erm_package.vendor.name }}</a
>
</span>

View File

@ -227,7 +227,7 @@ export default {
orderable: true,
render: function (data, type, row, meta) {
return row.vendor_id != undefined
? '<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=' +
? '<a href="/cgi-bin/koha/vendors/' +
row.vendor_id +
'">' +
escape_str(row.vendor.name) +

View File

@ -33,7 +33,7 @@
<label>{{ $__("Vendor") }}:</label>
<span v-if="license.vendor_id">
<a
:href="`/cgi-bin/koha/acqui/booksellers.pl?booksellerid=${license.vendor_id}`"
:href="`/cgi-bin/koha/vendors/${license.vendor_id}`"
>
{{ license.vendor.name }}
</a>