|
Lines 135-141
Link Here
|
| 135 |
<fieldset class="action"> |
135 |
<fieldset class="action"> |
| 136 |
<input type="submit" :value="$__('Submit')" /> |
136 |
<input type="submit" :value="$__('Submit')" /> |
| 137 |
<router-link |
137 |
<router-link |
| 138 |
to="/cgi-bin/koha/erm/licenses" |
138 |
:to="{ name: 'LicensesList' }" |
| 139 |
role="button" |
139 |
role="button" |
| 140 |
class="cancel" |
140 |
class="cancel" |
| 141 |
>{{ $__("Cancel") }}</router-link |
141 |
>{{ $__("Cancel") }}</router-link |
|
Lines 266-272
export default {
Link Here
|
| 266 |
client.licenses.update(license, license_id).then( |
266 |
client.licenses.update(license, license_id).then( |
| 267 |
success => { |
267 |
success => { |
| 268 |
setMessage(this.$__("License updated")) |
268 |
setMessage(this.$__("License updated")) |
| 269 |
this.$router.push("/cgi-bin/koha/erm/licenses") |
269 |
this.$router.push({ name: "LicensesList" }) |
| 270 |
}, |
270 |
}, |
| 271 |
error => {} |
271 |
error => {} |
| 272 |
) |
272 |
) |
|
Lines 274-280
export default {
Link Here
|
| 274 |
client.licenses.create(license).then( |
274 |
client.licenses.create(license).then( |
| 275 |
success => { |
275 |
success => { |
| 276 |
setMessage(this.$__("License created")) |
276 |
setMessage(this.$__("License created")) |
| 277 |
this.$router.push("/cgi-bin/koha/erm/licenses") |
277 |
this.$router.push({ name: "LicensesList" }) |
| 278 |
}, |
278 |
}, |
| 279 |
error => {} |
279 |
error => {} |
| 280 |
) |
280 |
) |