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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js (-8 / +8 lines)
Lines 1-9 Link Here
1
import { markRaw } from "vue";
1
import { markRaw } from "vue";
2
2
3
import Home from "../components/ERM/Home.vue";
3
import Home from "../components/ERM/Home.vue";
4
import AgreementsList from "../components/ERM/AgreementsList.vue";
4
const AgreementsList = () => import("../components/ERM/AgreementsList.vue");
5
import AgreementsShow from "../components/ERM/AgreementsShow.vue";
5
const AgreementsShow = () => import("../components/ERM/AgreementsShow.vue");
6
import AgreementsFormAdd from "../components/ERM/AgreementsFormAdd.vue";
6
const AgreementsFormAdd = () =>
7
    import("../components/ERM/AgreementsFormAdd.vue");
7
import EHoldingsLocalPackagesFormAdd from "../components/ERM/EHoldingsLocalPackagesFormAdd.vue";
8
import EHoldingsLocalPackagesFormAdd from "../components/ERM/EHoldingsLocalPackagesFormAdd.vue";
8
import EHoldingsLocalTitlesFormAdd from "../components/ERM/EHoldingsLocalTitlesFormAdd.vue";
9
import EHoldingsLocalTitlesFormAdd from "../components/ERM/EHoldingsLocalTitlesFormAdd.vue";
9
import EHoldingsLocalTitlesFormImport from "../components/ERM/EHoldingsLocalTitlesFormImport.vue";
10
import EHoldingsLocalTitlesFormImport from "../components/ERM/EHoldingsLocalTitlesFormImport.vue";
Lines 51-74 export const routes = [ Link Here
51
                    {
52
                    {
52
                        path: "",
53
                        path: "",
53
                        name: "AgreementsList",
54
                        name: "AgreementsList",
54
                        component: markRaw(AgreementsList),
55
                        component: AgreementsList,
55
                    },
56
                    },
56
                    {
57
                    {
57
                        path: ":agreement_id",
58
                        path: ":agreement_id",
58
                        name: "AgreementsShow",
59
                        name: "AgreementsShow",
59
                        component: markRaw(AgreementsShow),
60
                        component: AgreementsShow,
60
                        title: $__("Show agreement"),
61
                        title: $__("Show agreement"),
61
                    },
62
                    },
62
                    {
63
                    {
63
                        path: "add",
64
                        path: "add",
64
                        name: "AgreementsFormAdd",
65
                        name: "AgreementsFormAdd",
65
                        component: markRaw(AgreementsFormAdd),
66
                        component: AgreementsFormAdd,
66
                        title: $__("Add agreement"),
67
                        title: $__("Add agreement"),
67
                    },
68
                    },
68
                    {
69
                    {
69
                        path: "edit/:agreement_id",
70
                        path: "edit/:agreement_id",
70
                        name: "AgreementsFormAddEdit",
71
                        name: "AgreementsFormAddEdit",
71
                        component: markRaw(AgreementsFormAdd),
72
                        component: AgreementsFormAdd,
72
                        title: $__("Edit agreement"),
73
                        title: $__("Edit agreement"),
73
                    },
74
                    },
74
                ],
75
                ],
75
- 

Return to bug 33024