Compare commits

..

No commits in common. "1ccfbe11a7b9de0d4d3056ba921fed59357d807b" and "4376586a231aa245b14ae209d77f34f61c25d761" have entirely different histories.

View file

@ -11,6 +11,13 @@
</tr>
</thead>
<tfoot>
<tr>
<th><abbr title="Bonos Solidarios">B. Solidarios</abbr></th>
<th>{{ cantidadBonos }}</th>
<th>{{ totalBonos }}</th>
<th></th>
<th></th>
</tr>
<tr>
<th><abbr title="Bonos de Transporte">B. Transporte</abbr></th>
<th class="has-text-right">{{ cantidadBonosDeTransporte }}</th>
@ -61,6 +68,12 @@
totalBonosDeTransporte: function() {
return this.$limpiarInt(this.$root.pedido.subtotal_bonos_de_transporte)
},
cantidadBonos: function() {
return this.$limpiarInt(this.$root.pedido.subtotal_bonos) / 20
},
totalBonos: function() {
return this.$limpiarInt(this.$root.pedido.subtotal_bonos)
},
total: function() {
return this.$limpiarInt(this.$root.pedido.total_menos_devoluciones)
}