fix: add customer btn
This commit is contained in:
parent
805603e9c2
commit
63aca38e83
1 changed files with 4 additions and 4 deletions
|
|
@ -1255,8 +1255,9 @@ watch([inputSearch, currentStatus], async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ButtonAddComponent style="z-index: 999" v-if="selectorLabel === 'EMPLOYER'">
|
<ButtonAddComponent style="z-index: 999">
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
|
v-if="selectorLabel === 'EMPLOYER' || !selectorLabel"
|
||||||
id="add-customer-legal-entity"
|
id="add-customer-legal-entity"
|
||||||
style="color: white; background-color: hsla(var(--purple-11-hsl))"
|
style="color: white; background-color: hsla(var(--purple-11-hsl))"
|
||||||
@click="triggerCreate('CORP')"
|
@click="triggerCreate('CORP')"
|
||||||
|
|
@ -1267,6 +1268,7 @@ watch([inputSearch, currentStatus], async () => {
|
||||||
label-position="left"
|
label-position="left"
|
||||||
/>
|
/>
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
|
v-if="selectorLabel === 'EMPLOYER' || !selectorLabel"
|
||||||
id="add-customer-natural-person"
|
id="add-customer-natural-person"
|
||||||
:label="$t('add') + ' ' + $t('customerNaturalPerson')"
|
:label="$t('add') + ' ' + $t('customerNaturalPerson')"
|
||||||
external-label
|
external-label
|
||||||
|
|
@ -1276,10 +1278,8 @@ watch([inputSearch, currentStatus], async () => {
|
||||||
padding="xs"
|
padding="xs"
|
||||||
icon="mdi-account-plus"
|
icon="mdi-account-plus"
|
||||||
></q-fab-action>
|
></q-fab-action>
|
||||||
</ButtonAddComponent>
|
|
||||||
|
|
||||||
<ButtonAddComponent style="z-index: 999" v-if="selectorLabel === 'EMPLOYEE'">
|
|
||||||
<q-fab-action
|
<q-fab-action
|
||||||
|
v-if="selectorLabel === 'EMPLOYEE' || !selectorLabel"
|
||||||
:label="$t('add') + ' ' + $t('EMPLOYEE')"
|
:label="$t('add') + ' ' + $t('EMPLOYEE')"
|
||||||
external-label
|
external-label
|
||||||
label-position="left"
|
label-position="left"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue