Przeglądaj źródła

Correct displayed percentages for fees

master
Immanuel Onyeka 1 rok temu
rodzic
commit
38408390cc
4 zmienionych plików z 5 dodań i 3 usunięć
  1. +0
    -1
      components/app.vue
  2. +1
    -1
      components/estimates.vue
  3. +3
    -0
      components/home.vue
  4. +1
    -1
      components/new.vue

+ 0
- 1
components/app.vue Wyświetl plik

@@ -97,7 +97,6 @@ function getFees() {
}).then (result => {
if (!result || !result.length) return // Exit if token is invalid or no fees are saved
this.fees = result
console.log("the result %O", result)
})

}


+ 1
- 1
components/estimates.vue Wyświetl plik

@@ -10,7 +10,7 @@
:key="fee.name + indx" class="fee"
>
<label @click="() => edit = fee">
${{fee.amount}}{{fee.perc && ` (${fee.perc}%)`}} - {{fee.name}}<br>
${{fee.amount}}{{ fee.perc ? ` ${fee.perc}%` : ''}} - {{fee.name}}<br>
{{fee.type}}
</label>
<img width="21" height="21" src="/assets/image/icon/x-red.svg"


+ 3
- 0
components/home.vue Wyświetl plik

@@ -7,6 +7,9 @@
<h3>Announcements</h3>
</section>

<section>
<div><span>Subscription : {{user.status}}</span> <button>UPGRADE</button></div>
</section>
</div>
</template>



+ 1
- 1
components/new.vue Wyświetl plik

@@ -139,7 +139,7 @@ v-model="estimate.transaction">
:key="fee.name + indx" class="fee"
>
<label>
${{fee.amount}}{{fee.perc && ` (${fee.perc}%)`}} - {{fee.name}}<br>
${{fee.amount}}{{ fee.perc ? ` ${fee.perc}%` : ''}} - {{fee.name}}<br>
{{fee.type}}
</label>
<img width="21" height="21" src="/assets/image/icon/x-red.svg"


Ładowanie…
Anuluj
Zapisz