changeable frontend invoicing currency

This commit is contained in:
Peter Papp
2021-05-21 10:04:37 +02:00
parent c760116cbf
commit 31954767b7
4 changed files with 126 additions and 93 deletions
@@ -587,7 +587,7 @@
return new Intl
.NumberFormat('cs-CS', {
style: 'currency',
currency: 'CZK'
currency: this.config.invoicingCurrency
})
.format(value)
},
@@ -735,6 +735,10 @@
max-width: 1100px;
}
.total-wrapper {
display: none;
}
.content-page {
display: grid;
grid-template-columns: 2fr 1fr;
@@ -462,7 +462,7 @@
return new Intl
.NumberFormat('cs-CS', {
style: 'currency',
currency: 'CZK'
currency: this.config.invoicingCurrency
})
.format(value)
},
+3
View File
@@ -72,6 +72,9 @@
legal: {!! $legal ?? 'undefined' !!},
installation: '{{ $installation ?? 'initial' }}',
// oasis
invoicingCurrency: '{{ config('vuefilemanager-invoicing.currency') ?? 'EUR' }}',
}
</script>