release v2.0.0 #4
|
@ -90,9 +90,8 @@
|
||||||
<v-list-item-content class="text-center">
|
<v-list-item-content class="text-center">
|
||||||
<v-list-item-action-text class="title">
|
<v-list-item-action-text class="title">
|
||||||
{{
|
{{
|
||||||
free_drink_list_history_band_without_canceled.length
|
(free_drink_list_history_band_without_canceled_price/100).toFixed(2)
|
||||||
}}
|
}} €
|
||||||
Getränke
|
|
||||||
</v-list-item-action-text>
|
</v-list-item-action-text>
|
||||||
</v-list-item-content>
|
</v-list-item-content>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
@ -398,6 +397,13 @@ export default {
|
||||||
this.free_drink_list_config_band.length == 0 &&
|
this.free_drink_list_config_band.length == 0 &&
|
||||||
this.free_drink_list_config_job.length == 0
|
this.free_drink_list_config_job.length == 0
|
||||||
)
|
)
|
||||||
|
},
|
||||||
|
free_drink_list_history_band_without_canceled_price() {
|
||||||
|
let sum = 0
|
||||||
|
this.free_drink_list_history_band_without_canceled.forEach(item => {
|
||||||
|
sum += item.free_drink_config.price
|
||||||
|
})
|
||||||
|
return sum
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
|
|
Loading…
Reference in New Issue