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