View | Details | Raw Unified | Return to bug 38010
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc (-1 / +1 lines)
Lines 30-36 Link Here
30
                <div class="btn-group"><a class="btn btn-default" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | html %]"><i class="fa fa-inbox"></i> Receive shipments</a></div>
30
                <div class="btn-group"><a class="btn btn-default" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | html %]"><i class="fa fa-inbox"></i> Receive shipments</a></div>
31
            [% END %]
31
            [% END %]
32
        [% ELSE %]
32
        [% ELSE %]
33
            <div class="btn-group"><a class="btn btn-default" href="/cgi-bin/koha/vendors"><i class="fa fa-plus"></i> New vendor</a></div>
33
            <div class="btn-group"><a class="btn btn-default" href="/cgi-bin/koha/vendors/add"><i class="fa fa-plus"></i> New vendor</a></div>
34
        [% END %]
34
        [% END %]
35
</div>
35
</div>
36
<!-- / acquisitions-toolbar.inc -->
36
<!-- / acquisitions-toolbar.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts (+3 lines)
Lines 62-65 const { removeMessages } = mainStore; Link Here
62
router.beforeEach((to, from) => {
62
router.beforeEach((to, from) => {
63
    navigationStore.$patch({ current: to.matched, params: to.params || {} });
63
    navigationStore.$patch({ current: to.matched, params: to.params || {} });
64
    removeMessages(); // This will actually flag the messages as displayed already
64
    removeMessages(); // This will actually flag the messages as displayed already
65
    if (to.external || to.meta.self.parent.external) {
66
        window.location.href = to.path;
67
    }
65
});
68
});
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/acquisitions.js (-2 / +2 lines)
Lines 9-15 import { $__ } from "../i18n"; Link Here
9
9
10
export const routes = [
10
export const routes = [
11
    {
11
    {
12
        path: "/cgi-bin/koha/acqui/booksellers.pl",
12
        path: "/cgi-bin/koha/acqui/acqui-home.pl",
13
        external: true,
13
        is_default: true,
14
        is_default: true,
14
        is_base: true,
15
        is_base: true,
15
        title: $__("Acquisitions"),
16
        title: $__("Acquisitions"),
16
- 

Return to bug 38010