Lines 2-13
Link Here
|
2 |
<div v-if="!initialized">{{ $__("Loading") }}</div> |
2 |
<div v-if="!initialized">{{ $__("Loading") }}</div> |
3 |
<div v-else id="vendors_show"> |
3 |
<div v-else id="vendors_show"> |
4 |
<Toolbar> |
4 |
<Toolbar> |
5 |
<ToolbarButton |
5 |
<ButtonLink |
6 |
:to="{ name: 'VendorFormAdd' }" |
6 |
:to="{ name: 'VendorFormAdd' }" |
7 |
icon="plus" |
7 |
icon="plus" |
8 |
:title="$__('New vendor')" |
8 |
:title="$__('New vendor')" |
9 |
/> |
9 |
/> |
10 |
<ToolbarButton |
10 |
<ButtonLink |
11 |
:to="{ |
11 |
:to="{ |
12 |
name: 'VendorFormAddEdit', |
12 |
name: 'VendorFormAddEdit', |
13 |
params: { vendor_id: vendor.id }, |
13 |
params: { vendor_id: vendor.id }, |
Lines 15-27
Link Here
|
15 |
icon="pencil" |
15 |
icon="pencil" |
16 |
:title="$__('Edit vendor')" |
16 |
:title="$__('Edit vendor')" |
17 |
/> |
17 |
/> |
18 |
<ExternalLinkButton |
18 |
<ButtonLink |
19 |
:to="{ |
19 |
:to="{ |
20 |
path: '/cgi-bin/koha/acqui/parcels.pl', |
20 |
path: '/cgi-bin/koha/acqui/parcels.pl', |
21 |
query: { booksellerid: vendor.id }, |
21 |
query: { booksellerid: vendor.id }, |
22 |
}" |
22 |
}" |
23 |
icon="plus" |
23 |
icon="plus" |
24 |
:title="$__('Receive shipments')" |
24 |
:title="$__('Receive shipments')" |
|
|
25 |
callback="redirect" |
25 |
/> |
26 |
/> |
26 |
</Toolbar> |
27 |
</Toolbar> |
27 |
<h1> |
28 |
<h1> |
Lines 53-62
Link Here
|
53 |
|
54 |
|
54 |
<script> |
55 |
<script> |
55 |
import Toolbar from "../Toolbar.vue" |
56 |
import Toolbar from "../Toolbar.vue" |
56 |
import ToolbarButton from "../ToolbarButton.vue" |
57 |
import Button from "../Button.vue" |
57 |
import { inject } from "vue" |
58 |
import { inject } from "vue" |
58 |
import { APIClient } from "../../fetch/api-client.js" |
59 |
import { APIClient } from "../../fetch/api-client.js" |
59 |
import ExternalLinkButton from "../ExternalLinkButton.vue" |
60 |
import ButtonLink from "../ButtonLink.vue" |
60 |
import VendorDetails from "./VendorDetails.vue" |
61 |
import VendorDetails from "./VendorDetails.vue" |
61 |
import VendorOrderingInformation from "./VendorOrderingInformation.vue" |
62 |
import VendorOrderingInformation from "./VendorOrderingInformation.vue" |
62 |
import VendorInterfaces from "./VendorInterfaces.vue" |
63 |
import VendorInterfaces from "./VendorInterfaces.vue" |
Lines 103-110
export default {
Link Here
|
103 |
}, |
104 |
}, |
104 |
components: { |
105 |
components: { |
105 |
Toolbar, |
106 |
Toolbar, |
106 |
ToolbarButton, |
107 |
ButtonLink, |
107 |
ExternalLinkButton, |
|
|
108 |
VendorDetails, |
108 |
VendorDetails, |
109 |
VendorOrderingInformation, |
109 |
VendorOrderingInformation, |
110 |
VendorInterfaces, |
110 |
VendorInterfaces, |
111 |
- |
|
|