2 <div v-if="!initialized">{{ $t("Loading") }}</div>
3 <div v-else id="eholdings_show">
5 {{ $t("EHolding.id", { id: eholding.eholding_id }) }}
6 <span class="action_links">
8 :to="`/cgi-bin/koha/erm/eholdings/edit/${eholding.eholding_id}`"
10 ><i class="fa fa-pencil"></i
14 :to="`/cgi-bin/koha/erm/eholdings/delete/${eholding.eholding_id}`"
16 ><i class="fa fa-trash"></i
21 <fieldset class="rows">
24 <label>{{ $t("Publication title:") }}</label>
26 {{ eholding.publication_title }}
30 <label>{{ $t("Print-format identifier:") }}</label>
32 {{ eholding.print_identifier }}
36 <label>{{ $t("Online-format identifier:") }}</label>
38 {{ eholding.online_identifier }}
42 <label>{{ $t("Date of first serial issue available online:") }}</label>
44 {{ eholding.date_first_issue_online }}
48 <label>{{ $t("Number of first volume available online:") }}</label>
50 {{ eholding.num_first_vol_online }}
54 <label>{{ $t("Number of first issue available online:") }}</label>
56 {{ eholding.num_first_issue_online }}
60 <label>{{ $t("Date of last issue available online:") }}</label>
62 {{ eholding.date_last_issue_online }}
66 <label>{{ $t("Number of last volume available online:") }}</label>
68 {{ eholding.num_last_vol_online }}
72 <label>{{ $t("Number of last issue available online:") }}</label>
74 {{ eholding.num_last_issue_online }}
78 <label>{{ $t("Title-level URL:") }}</label>
80 {{ eholding.title_url }}
84 <label>{{ $t("First author:") }}</label>
86 {{ eholding.first_author }}
90 <label>{{ $t("Title identifier:") }}</label>
92 {{ eholding.title_id }}
96 <label>{{ $t("Embargo information:") }}</label>
98 {{ eholding.embargo_info }}
102 <label>{{ $t("Coverage depth:") }}</label>
104 {{ eholding.coverage_depth }}
108 <label>{{ $t("Notes:") }}</label>
114 <label>{{ $t("Publisher name:") }}</label>
116 {{ eholding.publisher_name }}
120 <label>{{ $t("Publication type:") }}</label>
122 {{ eholding.publication_type }}
126 <label>{{ $t("Date the monograph is first published in print:") }}</label>
128 {{ eholding.date_monograph_published_print }}
132 <label>{{ $t("Date the monograph is first published online:") }}</label>
134 {{ eholding.date_monograph_published_online }}
138 <label>{{ $t("Number of volume for monograph:") }}</label>
140 {{ eholding.monograph_volume }}
144 <label>{{ $t("Edition of the monograph:") }}</label>
146 {{ eholding.monograph_edition }}
150 <label>{{ $t("First editor:") }}</label>
152 {{ eholding.first_editor }}
156 <label>{{ $t("Title identifier of the parent publication:") }}</label>
158 {{ eholding.parent_publication_title_id }}
162 <label>{{ $t("Title identifier of any preceding publication title:") }}</label>
164 {{ eholding.preceeding_publication_title_id }}
168 <label>{{ $t("Acces type:") }}</label>
170 {{ eholding.access_type }}
175 <fieldset class="action">
177 to="/cgi-bin/koha/erm/eholdings"
180 >{{ $t("Close") }}</router-link
188 import { fetchEHolding } from "../../fetch"
197 publication_title: '',
198 print_identifier: '',
199 online_identifier: '',
200 date_first_issue_online: '',
201 num_first_vol_online: '',
202 num_first_issue_online: '',
203 date_last_issue_online: '',
204 num_last_vol_online: '',
205 num_last_issue_online: '',
213 publication_type: '',
214 date_monograph_published_print: '',
215 date_monograph_published_online: '',
216 monograph_volume: '',
217 monograph_edition: '',
219 parent_publication_title_id: '',
220 preceeding_publication_title_id: '',
227 beforeRouteEnter(to, from, next) {
229 vm.getEHolding(to.params.eholding_id)
230 vm.initialized = true
233 beforeRouteUpdate(to, from) {
234 this.eholding = this.getEHolding(to.params.eholding_id)
237 async getEHolding(eholding_id) {
238 const eholding = await fetchEHolding(eholding_id)
239 this.eholding = eholding
242 name: "EHoldingsShow",
250 fieldset.rows label {