Lines 7-12
import VendorFormAdd from "../components/Vendors/VendorFormAdd.vue";
Link Here
|
7 |
|
7 |
|
8 |
import { $__ } from "../i18n"; |
8 |
import { $__ } from "../i18n"; |
9 |
|
9 |
|
|
|
10 |
const vendorSearchBreadcrumb = ({ match, query }) => { |
11 |
if (!query || !query.supplier) return match.meta.self; |
12 |
match.meta.self.title = $__("Search for vendor: %s").format(query.supplier); |
13 |
match.meta.self.disabled = true; |
14 |
return match.meta.self; |
15 |
}; |
16 |
|
10 |
export const routes = [ |
17 |
export const routes = [ |
11 |
{ |
18 |
{ |
12 |
path: "/cgi-bin/koha/acqui/acqui-home.pl", |
19 |
path: "/cgi-bin/koha/acqui/acqui-home.pl", |
Lines 25-30
export const routes = [
Link Here
|
25 |
title: $__("Vendors"), |
32 |
title: $__("Vendors"), |
26 |
icon: "fa fa-shopping-cart", |
33 |
icon: "fa fa-shopping-cart", |
27 |
is_end_node: true, |
34 |
is_end_node: true, |
|
|
35 |
breadcrumbFormat: vendorSearchBreadcrumb, |
28 |
children: [ |
36 |
children: [ |
29 |
{ |
37 |
{ |
30 |
path: "", |
38 |
path: "", |