Compare commits

..

No commits in common. "c58824ff5227f97a5e3ff3e470e851fcacee1a89" and "686fcf3bd5bdfec32712cc7937c8fa0c452a942d" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View file

@ -22,7 +22,7 @@ export default {
return this.getPedido(this.pedido_id).aprobado;
},
mensaje() {
return this.aprobado ? "Aprobado" : "No aprobado";
return this.aprobado ? "Pagado" : "No pagado";
}
},
methods: {

View file

@ -7,7 +7,7 @@
<th v-if="devoluciones_habilitadas"><abbr title="Total sin tomar en cuenta las devoluciones">Total parcial $</abbr></th>
<th v-if="devoluciones_habilitadas"><abbr title="Devoluciones correspondientes al núcleo">Devoluciones $</abbr></th>
<th><abbr title="Total a Pagar por el núleo">{{ devoluciones_habilitadas ? 'Total real' : 'Total' }} $</abbr></th>
<th class="is-1"><abbr title="Aprobado">Aprobado</abbr></th>
<th class="is-1"><abbr title="Pagado">Pagado</abbr></th>
</tr>
</thead>
<tbody>

View file

@ -14,7 +14,7 @@
<th class="has-text-right">{{ cantidad_transporte }}</th>
<th class="has-text-right">{{ total_transporte }}</th>
</tr>
<tr v-if="grupo_de_compra.devoluciones_habilitadas && !aprobado">
<tr v-if="grupo_de_compra.devoluciones_habilitadas">
<th><p>Devoluciones</p></th>
<td>
<abbr :title="devoluciones_notas">{{ notas_abreviadas }}</abbr>
@ -57,7 +57,6 @@ export default {
"cantidad_transporte",
"devoluciones_total",
"devoluciones_notas",
"aprobado"
]),
notas_abreviadas() {
return this.devoluciones_notas.substring(0, 15) + (this.devoluciones_notas.length > 15 ? "..." : "");