diff --git a/Koha/REST/V1/Acquisitions/Vendors.pm b/Koha/REST/V1/Acquisitions/Vendors.pm
index 4f5fb17dae..33157edfd9 100644
--- a/Koha/REST/V1/Acquisitions/Vendors.pm
+++ b/Koha/REST/V1/Acquisitions/Vendors.pm
@@ -85,13 +85,13 @@ Controller function that handles adding a new Koha::Acquisition::Bookseller obje
sub add {
my $c = shift->openapi->valid_input or return;
- my $vendor = $c->req->json;
- my $contacts = delete $vendor->{contacts};
- my $interfaces = delete $vendor->{interfaces};
- my $aliases = delete $vendor->{aliases};
- my $subscriptions = delete $vendor->{subscriptions};
- my $baskets = delete $vendor->{baskets};
- my $contracts = delete $vendor->{contracts};
+ my $vendor = $c->req->json;
+ my $contacts = delete $vendor->{contacts};
+ my $interfaces = delete $vendor->{interfaces};
+ my $aliases = delete $vendor->{aliases};
+ delete $vendor->{subscriptions};
+ delete $vendor->{baskets};
+ delete $vendor->{contracts};
my $vendor_to_store = Koha::Acquisition::Bookseller->new_from_api( $c->req->json );
diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl
index 61890a66ac..e4bcbaeaad 100755
--- a/acqui/booksellers.pl
+++ b/acqui/booksellers.pl
@@ -114,7 +114,7 @@ if ($booksellerid) {
$template->param(
loop_suppliers => $loop_suppliers,
- supplier => $booksellerid,
+ booksellerid => $booksellerid,
count => $vendor ? 1 : 0,
);
$template->{VARS}->{'allbaskets'} = $allbaskets;
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
index 8aa135aa6f..4e507b027a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
@@ -9,7 +9,7 @@
[% INCLUDE 'doc-head-open.inc' %]
+
[% MACRO jsinclude BLOCK %]
@@ -40,9 +40,6 @@
[% Asset.js("js/vue/dist/acquisitions.js") | $raw %]
[% INCLUDE 'select2.inc' %]
- [% SET columns = ['cardnumber','name','category','branch','action'] %]
- [% PROCESS patron_search_modal columns => columns, modal_title => t("Select user") %]
- [% PROCESS patron_search_js columns => columns, filter => erm_users, actions => ["select"], preview_on_name_click => 1 %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]
diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorContracts.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorContracts.vue
index ce1916db5c..30ac8c1f94 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorContracts.vue
+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorContracts.vue
@@ -44,7 +44,7 @@ export default {
data: contracts,
embed: [],
ordering: false,
- dom: '<"top pager"<"table_entries"ilp>>tr<"bottom pager"ip>',
+ dom: '<<"table_entries">>',
aLengthMenu: [
[10, 20, 50, 100],
[10, 20, 50, 100],
diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue
index a23208ea87..b59ff1c556 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue
+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorList.vue
@@ -246,7 +246,9 @@ export default {
row.id +
'" class="show">' +
escape_str(
- `${row.baskets.length} basket(s)`
+ __("%s basket(s)").format(
+ row.baskets.length
+ )
) +
""
: escape_str(__("No baskets"));
@@ -260,11 +262,13 @@ export default {
render(data, type, row, meta) {
return row.subscriptions_count
? '
' +
escape_str(
- `${row.subscriptions_count} subscription(s)`
+ __("%s subscription(s)").format(
+ row.subscriptions_count
+ )
) +
""
: escape_str(__("No subscriptions"));
diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts
index e96f72ac38..2cc12a9165 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts
+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts
@@ -55,7 +55,7 @@ app.provide("mainStore", mainStore);
app.provide("navigationStore", navigationStore);
app.provide("permissionsStore", permissionsStore);
-app.mount("#__vendors");
+app.mount("#vendors");
const { removeMessages } = mainStore;
router.beforeEach((to, from) => {