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 130-136 export default { Link Here
130
            await client.agreements.getAll().then(
130
            await client.agreements.getAll().then(
131
                agreements => {
131
                agreements => {
132
                    this.agreements = agreements
132
                    this.agreements = agreements
133
                    this.initialized = true
134
                },
133
                },
135
                error => {}
134
                error => {}
136
            )
135
            )
Lines 152-158 export default { Link Here
152
                    title: this.$__(
151
                    title: this.$__(
153
                        "Are you sure you want to delete this agreement?"
152
                        "Are you sure you want to delete this agreement?"
154
                    ),
153
                    ),
155
                    message: agreement_name,
154
                    message: agreement.name,
156
                    accept_label: this.$__("Yes, delete"),
155
                    accept_label: this.$__("Yes, delete"),
157
                    cancel_label: this.$__("No, do not delete"),
156
                    cancel_label: this.$__("No, do not delete"),
158
                },
157
                },
Lines 162-168 export default { Link Here
162
                        success => {
161
                        success => {
163
                            this.setMessage(
162
                            this.setMessage(
164
                                this.$__("Agreement %s deleted").format(
163
                                this.$__("Agreement %s deleted").format(
165
                                    agreement_name
164
                                    agreement.name
166
                                ),
165
                                ),
167
                                true
166
                                true
168
                            )
167
                            )
169
- 

Return to bug 33066