funcion/saldos #49

Merged
atasistro merged 2 commits from funcion/saldos into master 2025-08-03 11:40:16 -03:00
Showing only changes of commit 76239ee7dd - Show all commits

View file

@ -47,8 +47,8 @@
<td class="has-text-right">$ {{ total_de_pedido }}</td>
</tr>
<tr>
<th>Saldo a favor:</th>
<td class="has-text-right">- $ {{ saldo }}</td>
<th>{{ texto_saldo }}</th>
<td class="has-text-right"> $ {{ saldo }}</td>
</tr>
<tr>
<th>Total a transferir:</th>
@ -80,6 +80,9 @@ export default {
"saldo",
]),
...mapGetters('admin', ['pedidosAprobados']),
texto_saldo() {
return this.saldo < 0 ? "Deuda:" : "Saldo a favor:";
}
},
}
</script>