|
|
|
@ -348,6 +348,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
|
callback(data) { |
|
|
|
|
console.log(JSON.parse(JSON.stringify(data))) |
|
|
|
|
form.model.coupon_rules.programme_1 = JSON.parse(JSON.stringify(data)); |
|
|
|
|
console.log(form.model.coupon_rules.programme_1) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
@ -361,6 +362,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
|
callback(data) { |
|
|
|
|
console.log(JSON.parse(JSON.stringify(data))) |
|
|
|
|
form.model.coupon_rules.programme_2 = JSON.parse(JSON.stringify(data)); |
|
|
|
|
console.log(form.model.coupon_rules.programme_2) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|