This commit is contained in:
@@ -47,7 +47,19 @@ CURRENT TODOs
|
|||||||
|
|
||||||
SHELL / NAV / MENUS / LAYOUT
|
SHELL / NAV / MENUS / LAYOUT
|
||||||
|
|
||||||
|
TODO: LOCALIZATION
|
||||||
|
- IDENTIFY: what needs to be localized besides display titles?
|
||||||
|
- Currency input, display
|
||||||
|
- decimal number input, display
|
||||||
|
- Date and times MONTH names in input (and some ancillary text maybe like "year")
|
||||||
|
- Date and time display
|
||||||
|
|
||||||
|
- INPUT currency / decimal can a german user input a currency as 1.234,56 ? (comma is the decimal separator and decimal is the thousands separator)
|
||||||
|
- vuetify currency field: https://gist.github.com/Christilut/1143d453ea070f7e8fa345f7ada1b999
|
||||||
|
- Not vuetify specifically but may have stealable code: https://dm4t2.github.io/vue-currency-input/
|
||||||
|
- Grid display currency
|
||||||
|
- INPUT Date Months localized
|
||||||
|
- Display Date time in localized format?
|
||||||
|
|
||||||
TODO: toolbar above grid for filters, refresh etc (make it a standard component?)
|
TODO: toolbar above grid for filters, refresh etc (make it a standard component?)
|
||||||
TODO: main.js filters need to be finished
|
TODO: main.js filters need to be finished
|
||||||
|
|||||||
@@ -60,12 +60,15 @@
|
|||||||
} -->
|
} -->
|
||||||
<template v-if="c.t == 1">
|
<template v-if="c.t == 1">
|
||||||
<!-- DATETIME -->
|
<!-- DATETIME -->
|
||||||
|
{{ c.v }}
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="c.t == 2">
|
<template v-else-if="c.t == 2">
|
||||||
<!-- DATE -->
|
<!-- DATE -->
|
||||||
|
{{ c.v }}
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="c.t == 3">
|
<template v-else-if="c.t == 3">
|
||||||
<!-- TIME -->
|
<!-- TIME -->
|
||||||
|
{{ c.v }}
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="c.t == 4">
|
<template v-else-if="c.t == 4">
|
||||||
<!-- TEXT (also maybe openable)-->
|
<!-- TEXT (also maybe openable)-->
|
||||||
@@ -93,7 +96,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else-if="c.t == 8">
|
<template v-else-if="c.t == 8">
|
||||||
<!-- CURRENCY -->
|
<!-- CURRENCY -->
|
||||||
{{ c.v }}
|
<div class="text-right">{{ c.v }}</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="c.t == 9">
|
<template v-else-if="c.t == 9">
|
||||||
<!-- TAGS -->
|
<!-- TAGS -->
|
||||||
|
|||||||
@@ -185,7 +185,8 @@ Vue.filter("shorttimeonlylocalized", function vueFilterShortTimeOnlyLocalized(
|
|||||||
|
|
||||||
Vue.filter("currency", function vueFilterCurrency(value) {
|
Vue.filter("currency", function vueFilterCurrency(value) {
|
||||||
if (!value) return "";
|
if (!value) return "";
|
||||||
return locale.format().currencySymbol + value;
|
|
||||||
|
return locale.format().currencySymbol + value.toFixed(2);
|
||||||
});
|
});
|
||||||
|
|
||||||
Vue.filter("decimal", function vueFilterDecimal(value) {
|
Vue.filter("decimal", function vueFilterDecimal(value) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* xeslint-disable */
|
/* 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 Vue from "vue";
|
||||||
import Vuetify from "vuetify/lib";
|
import Vuetify from "vuetify/lib";
|
||||||
//import myLang from "../api/en";
|
//import myLang from "../api/en";
|
||||||
|
|||||||
Reference in New Issue
Block a user