funcion/devoluciones #28

Merged
rho merged 31 commits from funcion/devoluciones into master 2024-08-27 21:18:17 -03:00
Showing only changes of commit 475d2a6cd9 - Show all commits

View file

@ -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: {