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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/AdditionalFieldsDisplay.vue (-4 / +4 lines)
Lines 6-12 Link Here
6
    >
6
    >
7
        <legend>{{ $__("Additional fields") }}</legend>
7
        <legend>{{ $__("Additional fields") }}</legend>
8
        <ol>
8
        <ol>
9
            <li v-for="additional_field_value in additional_field_values">
9
            <li
10
                v-for="additional_field_value in additional_field_values"
11
                v-bind:key="additional_field_value.id"
12
            >
10
                <label
13
                <label
11
                    :for="`additional_field_` + additional_field_value.field_id"
14
                    :for="`additional_field_` + additional_field_value.field_id"
12
                >
15
                >
Lines 19-27 Link Here
19
</template>
22
</template>
20
23
21
<script>
24
<script>
22
import { inject } from "vue"
23
import { APIClient } from "../fetch/api-client.js"
24
25
export default {
25
export default {
26
    data() {
26
    data() {
27
        return {
27
        return {
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/AdditionalFieldsEntry.vue (-3 / +5 lines)
Lines 6-12 Link Here
6
    >
6
    >
7
        <legend>{{ $__("Additional fields") }}</legend>
7
        <legend>{{ $__("Additional fields") }}</legend>
8
        <ol>
8
        <ol>
9
            <template v-for="available_field in available_fields">
9
            <template
10
                v-for="available_field in available_fields"
11
                v-bind:key="available_field.extended_attribute_type_id"
12
            >
10
                <template
13
                <template
11
                    v-if="
14
                    v-if="
12
                        available_field.authorised_value_category_name &&
15
                        available_field.authorised_value_category_name &&
Lines 84-89 Link Here
84
                        v-for="current in current_additional_fields_values[
87
                        v-for="current in current_additional_fields_values[
85
                            available_field.extended_attribute_type_id
88
                            available_field.extended_attribute_type_id
86
                        ]"
89
                        ]"
90
                        v-bind:key="current.id"
87
                    >
91
                    >
88
                        <label
92
                        <label
89
                            :for="
93
                            :for="
Lines 121-127 Link Here
121
</template>
125
</template>
122
126
123
<script>
127
<script>
124
import { inject } from "vue"
125
import { APIClient } from "../fetch/api-client.js"
128
import { APIClient } from "../fetch/api-client.js"
126
129
127
export default {
130
export default {
128
- 

Return to bug 35287