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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsFormAdd.vue (-10 lines)
Lines 292-306 export default { Link Here
292
                );
292
                );
293
            }
293
            }
294
294
295
            if (
296
                agreement_licenses.filter(al => al.status == "controlling")
297
                    .length > 1
298
            ) {
299
                errors.push(
300
                    this.$__("Only one controlling license is allowed")
301
                );
302
            }
303
304
            let documents_with_uploaded_files = agreement.documents.filter(
295
            let documents_with_uploaded_files = agreement.documents.filter(
305
                doc => typeof doc.file_content !== "undefined"
296
                doc => typeof doc.file_content !== "undefined"
306
            );
297
            );
307
- 

Return to bug 39543