2 <div v-if="!initialized">{{ $t("Loading") }}</div>
3 <div v-else-if="title" id="eholdings_title_show">
5 {{ $t("Title .id", { id: title.title_id }) }}
6 <span v-if="erm_provider == 'manual'" class="action_links">
8 :to="`/cgi-bin/koha/erm/eholdings/titles/edit/${title.title_id}`"
10 ><i class="fa fa-pencil"></i
14 :to="`/cgi-bin/koha/erm/eholdings/titles/delete/${title.title_id}`"
16 ><i class="fa fa-trash"></i
21 <fieldset class="rows">
23 <li v-if="title.title_id">
24 <label>{{ $t("Title identifier") }}:</label>
30 <label>{{ $t("Publication title") }}:</label>
32 {{ title.publication_title }}
34 v-if="title.biblio_id"
35 :href="`/cgi-bin/koha/catalogue/detail.pl?biblionumber=${title.biblio_id}`"
37 {{ $t("Local bibliographic record") }}
41 <li v-if="title.print_identifier">
42 <label>{{ $t("Print-format identifier") }}:</label>
44 {{ title.print_identifier }}
47 <li v-if="title.online_identifier">
48 <label>{{ $t("Online-format identifier") }}:</label>
50 {{ title.online_identifier }}
53 <li v-if="title.date_first_issue_online">
57 "Date of first serial issue available online"
62 {{ title.date_first_issue_online }}
65 <li v-if="title.num_first_vol_online">
68 $t("Number of first volume available online")
72 {{ title.num_first_vol_online }}
75 <li v-if="title.num_first_issue_online">
78 $t("Number of first issue available online")
82 {{ title.num_first_issue_online }}
85 <li v-if="title.date_last_issue_online">
88 $t("Date of last issue available online")
92 {{ title.date_last_issue_online }}
95 <li v-if="title.num_last_vol_online">
98 $t("Number of last volume available online")
102 {{ title.num_last_vol_online }}
105 <li v-if="title.num_last_issue_online">
108 $t("Number of last issue available online")
112 {{ title.num_last_issue_online }}
115 <li v-if="title.title_url">
116 <label>{{ $t("Title-level URL") }}:</label>
118 {{ title.title_url }}
121 <li v-if="title.first_author">
122 <label>{{ $t("First author") }}:</label>
124 {{ title.first_author }}
127 <li v-if="title.embargo_info">
128 <label>{{ $t("Embargo information") }}:</label>
130 {{ title.embargo_info }}
133 <li v-if="title.coverage_depth">
134 <label>{{ $t("Coverage depth") }}:</label>
136 {{ title.coverage_depth }}
139 <li v-if="title.notes">
140 <label>{{ $t("Notes") }}:</label>
145 <li v-if="title.publisher_name">
146 <label>{{ $t("Publisher name") }}:</label>
148 {{ title.publisher_name }}
151 <li v-if="title.publication_type">
152 <label>{{ $t("Publication type") }}:</label>
156 "av_title_publication_types",
157 title.publication_type
162 <li v-if="title.date_monograph_published_print">
166 "Date the monograph is first published in print"
171 {{ title.date_monograph_published_print }}
174 <li v-if="title.date_monograph_published_online">
178 "Date the monograph is first published online"
183 {{ title.date_monograph_published_online }}
186 <li v-if="title.monograph_volume">
188 >{{ $t("Number of volume for monograph") }}:</label
191 {{ title.monograph_volume }}
194 <li v-if="title.monograph_edition">
195 <label>{{ $t("Edition of the monograph") }}:</label>
197 {{ title.monograph_edition }}
200 <li v-if="title.first_editor">
201 <label>{{ $t("First editor") }}:</label>
203 {{ title.first_editor }}
206 <li v-if="title.parent_publication_title_id">
210 "Title identifier of the parent publication"
215 {{ title.parent_publication_title_id }}
218 <li v-if="title.preceeding_publication_title_id">
222 "Title identifier of any preceding publication title"
227 {{ title.preceeding_publication_title_id }}
230 <li v-if="title.access_type">
231 <label>{{ $t("Acces type") }}:</label>
233 {{ title.access_type }}
237 <label>Packages ({{ title.resources.length }})</label>
238 <div v-if="title.resources.length">
239 <EHoldingsTitlePackagesList
240 :resources="title.resources"
246 <fieldset class="action">
248 to="/cgi-bin/koha/erm/eholdings/titles"
251 >{{ $t("Close") }}</router-link
259 import EHoldingsTitlePackagesList from "./EHoldingsTitlePackagesList.vue"
260 import { fetchTitle } from "../../fetch"
261 import { useAVStore } from "../../stores/authorised_values"
264 const AVStore = useAVStore()
265 const { get_lib_from_av } = AVStore
275 publication_title: '',
277 print_identifier: '',
278 online_identifier: '',
279 date_first_issue_online: '',
280 num_first_vol_online: '',
281 num_first_issue_online: '',
282 date_last_issue_online: '',
283 num_last_vol_online: '',
284 num_last_issue_online: '',
291 publication_type: '',
292 date_monograph_published_print: '',
293 date_monograph_published_online: '',
294 monograph_volume: '',
295 monograph_edition: '',
297 parent_publication_title_id: '',
298 preceeding_publication_title_id: '',
305 inject: ['erm_provider'],
306 beforeRouteEnter(to, from, next) {
308 vm.getTitle(to.params.title_id)
311 beforeRouteUpdate(to, from) {
312 this.title = this.getTitle(to.params.title_id)
315 async getTitle(title_id) {
316 const title = await fetchTitle(title_id)
318 this.initialized = true
322 EHoldingsTitlePackagesList,
324 name: "EHoldingsTitlesShow",
332 fieldset.rows label {