funcion/devoluciones #28
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<input type="checkbox" name="switchRoundedSuccess" class="switch is-rounded is-success"
|
<input type="checkbox" name="switchRoundedSuccess" class="switch is-rounded is-success"
|
||||||
:id="'switch'+this.pedido.id"
|
:id="'switch'+this.pedido.id"
|
||||||
:checked="pedido.aprobado"
|
:checked="pedido.aprobado"
|
||||||
@change="toggleAprobacion">
|
@change="toggleAprobacion">
|
||||||
<label :for="'switch'+this.pedido.id">
|
<label :for="'switch'+this.pedido.id">
|
||||||
<span class="is-hidden-mobile">{{ mensaje }}</span>
|
<span class="is-hidden-mobile">{{ mensaje }}</span>
|
||||||
|
@ -23,7 +23,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
mensaje: function () {
|
mensaje: function () {
|
||||||
return this.aprobado ? "Aprobado" : "No aprobado"
|
return this.aprobado ? "Pagado" : "No pagado"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue