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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorDetails.vue (-4 / +2 lines)
Lines 132-143 Link Here
132
            <li>
132
            <li>
133
                <label for="vendor_type">{{ $__("Vendor type") }}:</label>
133
                <label for="vendor_type">{{ $__("Vendor type") }}:</label>
134
                <v-select
134
                <v-select
135
                    v-if="authorisedValues.vendor_types.length"
135
                    v-if="av_vendor_types.length"
136
                    id="vendor_type"
136
                    id="vendor_type"
137
                    v-model="vendor.type"
137
                    v-model="vendor.type"
138
                    label="description"
138
                    label="description"
139
                    :reduce="av => av.value"
139
                    :reduce="av => av.value"
140
                    :options="authorisedValues.vendor_types"
140
                    :options="av_vendor_types"
141
                />
141
                />
142
                <input v-else id="vendor_type" v-model="vendor.type" />
142
                <input v-else id="vendor_type" v-model="vendor.type" />
143
            </li>
143
            </li>
Lines 170-176 Link Here
170
170
171
<script>
171
<script>
172
import { inject } from "vue"
172
import { inject } from "vue"
173
import { storeToRefs } from "pinia"
174
import ButtonLink from "../ButtonLink.vue"
173
import ButtonLink from "../ButtonLink.vue"
175
174
176
export default {
175
export default {
Lines 179-185 export default { Link Here
179
        display: Boolean,
178
        display: Boolean,
180
    },
179
    },
181
    setup() {
180
    setup() {
182
183
        const AVStore = inject("AVStore")
181
        const AVStore = inject("AVStore")
184
        const { get_lib_from_av, av_vendor_types } = AVStore
182
        const { get_lib_from_av, av_vendor_types } = AVStore
185
        return {
183
        return {
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorOrderingInformation.vue (-3 / +2 lines)
Lines 188-194 Link Here
188
            <li>
188
            <li>
189
                <label for="discount">{{ $__("Discount") }}: </label>
189
                <label for="discount">{{ $__("Discount") }}: </label>
190
                <input
190
                <input
191
                    type="text"
191
                    type="number"
192
                    size="6"
192
                    size="6"
193
                    id="discount"
193
                    id="discount"
194
                    name="discount"
194
                    name="discount"
Lines 199-205 Link Here
199
            <li>
199
            <li>
200
                <label for="deliverytime">{{ $__("Delivery time") }}: </label>
200
                <label for="deliverytime">{{ $__("Delivery time") }}: </label>
201
                <input
201
                <input
202
                    type="text"
202
                    type="number"
203
                    size="6"
203
                    size="6"
204
                    id="deliverytime"
204
                    id="deliverytime"
205
                    name="deliverytime"
205
                    name="deliverytime"
206
- 

Return to bug 38010