This commit is contained in:
2020-02-05 18:09:48 +00:00
parent b4133576d9
commit 04699a3e19
4 changed files with 20 additions and 4 deletions

View File

@@ -60,12 +60,15 @@
} -->
<template v-if="c.t == 1">
<!-- DATETIME -->
{{ c.v }}
</template>
<template v-else-if="c.t == 2">
<!-- DATE -->
{{ c.v }}
</template>
<template v-else-if="c.t == 3">
<!-- TIME -->
{{ c.v }}
</template>
<template v-else-if="c.t == 4">
<!-- TEXT (also maybe openable)-->
@@ -93,7 +96,7 @@
</template>
<template v-else-if="c.t == 8">
<!-- CURRENCY -->
{{ c.v }}
<div class="text-right">{{ c.v }}</div>
</template>
<template v-else-if="c.t == 9">
<!-- TAGS -->

View File

@@ -185,7 +185,8 @@ Vue.filter("shorttimeonlylocalized", function vueFilterShortTimeOnlyLocalized(
Vue.filter("currency", function vueFilterCurrency(value) {
if (!value) return "";
return locale.format().currencySymbol + value;
return locale.format().currencySymbol + value.toFixed(2);
});
Vue.filter("decimal", function vueFilterDecimal(value) {

View File

@@ -1,5 +1,5 @@
/* xeslint-disable */
import "@fortawesome/fontawesome-free/css/all.css"; // Ensure you are using css-loader
// import "@fortawesome/fontawesome-free/css/all.css"; // Ensure you are using css-loader
import Vue from "vue";
import Vuetify from "vuetify/lib";
//import myLang from "../api/en";