Balance and daily stats - refresh button

This commit is contained in:
Matthias 2020-05-17 20:52:14 +02:00
parent 1fcd5117c9
commit 3d9ad3c9a8
2 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,9 @@
<template>
<div class="card">
<div class="card-header">Balance</div>
<div class="card-header">
<label class="mr-auto">Balance</label>
<b-button class="float-right" size="sm" @click="getBalance">R</b-button>
</div>
<div class="card-body">
<p v-if="balance.note">
<strong>{{ balance.note }}</strong>

View File

@ -1,7 +1,13 @@
<template>
<div>
<div class="card">
<div class="card-header">
<label class="mr-auto">Daily Stats</label>
<b-button class="float-right" size="sm" @click="getDaily">R</b-button>
</div>
<div class="card-body">
<b-table class="table-sm" :items="dailyStats.data" :fields="daily_fields"> </b-table>
</div>
</div>
</template>
<script>