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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsList.vue (-4 / +2 lines)
Lines 140-146 export default { Link Here
140
            await client.agreements.getAll().then(
140
            await client.agreements.getAll().then(
141
                agreements => {
141
                agreements => {
142
                    this.agreements = agreements
142
                    this.agreements = agreements
143
                    this.initialized = true
144
                },
143
                },
145
                error => {}
144
                error => {}
146
            )
145
            )
Lines 162-168 export default { Link Here
162
                    title: this.$__(
161
                    title: this.$__(
163
                        "Are you sure you want to delete this agreement?"
162
                        "Are you sure you want to delete this agreement?"
164
                    ),
163
                    ),
165
                    message: agreement_name,
164
                    message: agreement.name,
166
                    accept_label: this.$__("Yes, delete"),
165
                    accept_label: this.$__("Yes, delete"),
167
                    cancel_label: this.$__("No, do not delete"),
166
                    cancel_label: this.$__("No, do not delete"),
168
                },
167
                },
Lines 172-178 export default { Link Here
172
                        success => {
171
                        success => {
173
                            this.setMessage(
172
                            this.setMessage(
174
                                this.$__("Agreement %s deleted").format(
173
                                this.$__("Agreement %s deleted").format(
175
                                    agreement_name
174
                                    agreement.name
176
                                ),
175
                                ),
177
                                true
176
                                true
178
                            )
177
                            )
179
- 

Return to bug 33066