Move base-select into base

This commit is contained in:
Darko Gjorgjijoski
2025-08-28 12:02:39 +02:00
parent 70bfe1b688
commit 697c1af065
72 changed files with 77 additions and 77 deletions

View File

@@ -141,7 +141,7 @@ import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
import BaseButton from '@/scripts/components/base/BaseButton.vue'
import BaseTextarea from '@/scripts/components/base/BaseTextarea.vue'
import BaseInputGroup from '@/scripts/components/base/BaseInputGroup.vue'
import BaseMultiselect from '@/scripts/components/base-select/BaseMultiselect.vue'
import BaseMultiselect from '@/scripts/components/base/base-select/BaseMultiselect.vue'
import BaseMoney from '@/scripts/components/base/BaseMoney.vue'
import BaseInput from '@/scripts/components/base/BaseInput.vue'
import BaseInputGrid from '@/scripts/components/base/BaseInputGrid.vue'
@@ -217,15 +217,15 @@ const v$ = useVuelidate(
const getTaxTypes = computed(() => {
return taxTypeStore.taxTypes.map((tax) => {
const amount = tax.calculation_type === 'fixed'
const amount = tax.calculation_type === 'fixed'
? new Intl.NumberFormat(undefined, {
style: 'currency',
currency: companyStore.selectedCompanyCurrency.code
}).format(tax.fixed_amount / 100)
: `${tax.percent}%`
return {
...tax,
return {
...tax,
tax_name: `${tax.name} (${amount})`
}
})