diff --git a/src/components/ui/ItemPicture.vue b/src/components/ui/ItemPicture.vue new file mode 100644 index 000000000..e76414618 --- /dev/null +++ b/src/components/ui/ItemPicture.vue @@ -0,0 +1,34 @@ + + + + diff --git a/src/filters/toPercentage.js b/src/filters/toPercentage.js index d701cb9e7..e2b49ce22 100644 --- a/src/filters/toPercentage.js +++ b/src/filters/toPercentage.js @@ -1,6 +1,7 @@ import { useI18n } from 'vue-i18n'; export default function (value, fractionSize = 2) { + console.log('toPercentage value: ', value); if (value == null || value === '') return; const { locale } = useI18n(); @@ -8,11 +9,8 @@ export default function (value, fractionSize = 2) { const options = { style: 'percent', minimumFractionDigits: fractionSize, - maximumFractionDigits: fractionSize + maximumFractionDigits: fractionSize, }; - return new Intl.NumberFormat(locale, options) - .format(parseFloat(value)); - - -} \ No newline at end of file + return new Intl.NumberFormat(locale, options).format(parseFloat(value)); +} diff --git a/src/pages/Ticket/Card/TicketEditMana.vue b/src/pages/Ticket/Card/TicketEditMana.vue index d563e49f7..dc082d660 100644 --- a/src/pages/Ticket/Card/TicketEditMana.vue +++ b/src/pages/Ticket/Card/TicketEditMana.vue @@ -1,121 +1,73 @@