Complete dashboard translations & small UI improvements (#69)

* fix dropdown action Estimate Dashboard and fix translating full Dasboard page

* Update app.php

* fix locale in app.php config

* Wizard install with translation, customer portal with translation, and fixing hardcoding strings to get translation

* fixes asked to review

* fixes pint

---------

Co-authored-by: Max <contact@agencetwogether.fr>
Co-authored-by: Darko Gjorgjijoski <5760249+gdarko@users.noreply.github.com>
This commit is contained in:
agencetwogether
2024-06-05 12:07:46 +02:00
committed by GitHub
parent 3259173066
commit 3b61440e1f
89 changed files with 925 additions and 213 deletions

View File

@@ -41,7 +41,7 @@
<BaseMultiselect
v-model="noteStore.currentNote.type"
:options="types"
value-prop="type"
value-prop="value"
class="mt-2"
/>
</BaseInputGroup>
@@ -122,7 +122,11 @@ const route = useRoute()
const { t } = useI18n()
let isSaving = ref(false)
const types = reactive(['Invoice', 'Estimate', 'Payment'])
const types = reactive([
{label: t('settings.customization.notes.types.invoice'), value: 'Invoice'},
{label: t('settings.customization.notes.types.estimate'), value: 'Estimate'},
{label: t('settings.customization.notes.types.payment'), value: 'Payment'}
])
let fields = ref(['customer', 'customerCustom'])
const modalActive = computed(() => {
@@ -164,7 +168,7 @@ watch(
onMounted(() => {
if (route.name === 'estimates.create') {
noteStore.currentNote.type = 'Estimate'
} else if (route.name === 'invoices.create') {
} else if (route.name === 'invoices.create' || route.name === 'recurring-invoices.create') {
noteStore.currentNote.type = 'Invoice'
} else {
noteStore.currentNote.type = 'Payment'