Merge pull request 'Sacado total de bonos de chismosa' (#26) from funcion/sacar-total-bonos-de-chismosa into funcion/devoluciones

Reviewed-on: nathalie/pedi2#26
This commit is contained in:
Rodrigo 2023-11-25 13:40:28 -03:00
commit 1ccfbe11a7
1 changed files with 0 additions and 13 deletions

View File

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