Lines 195-202
export default {
Link Here
|
195 |
message: agreement.name, |
195 |
message: agreement.name, |
196 |
accept_label: this.$__("Yes, delete"), |
196 |
accept_label: this.$__("Yes, delete"), |
197 |
cancel_label: this.$__("No, do not delete"), |
197 |
cancel_label: this.$__("No, do not delete"), |
|
|
198 |
inputs: [ |
199 |
{ |
200 |
id: 'text_input', |
201 |
type: 'Text', |
202 |
value: 'this is dummy text', |
203 |
required: true, |
204 |
label: this.$__('Text input'), |
205 |
}, |
206 |
{ |
207 |
id: 'date_input', |
208 |
type: 'Date', |
209 |
value: '2023-08-09', |
210 |
required: true, |
211 |
label: this.$__('Date input'), |
212 |
}, |
213 |
] |
198 |
}, |
214 |
}, |
199 |
() => { |
215 |
(callback_result) => { |
|
|
216 |
console.log(callback_result); |
200 |
const client = APIClient.erm |
217 |
const client = APIClient.erm |
201 |
client.agreements.delete(agreement.agreement_id).then( |
218 |
client.agreements.delete(agreement.agreement_id).then( |
202 |
success => { |
219 |
success => { |
203 |
- |
|
|