Fix translation and cs-fixes

This commit is contained in:
Julie Lenaerts 2025-03-05 19:43:16 +01:00
parent 09b7558e92
commit 4302506471
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<span v-else-if="props.entity.kind === 'company'">{{ <span v-else-if="props.entity.kind === 'company'">{{
trans(THIRDPARTY_A_CONTACT) trans(THIRDPARTY_A_CONTACT)
}}</span> }}</span>
<span v-else>{{ $t("thirdparty.contact") }}</span> <span v-else>{{ trans(THIRDPARTY_CONTACT) }}</span>
</template> </template>
</span> </span>
@ -56,6 +56,7 @@ import {
THIRDPARTY_CONTACT_OF, THIRDPARTY_CONTACT_OF,
PERSON, PERSON,
THIRDPARTY, THIRDPARTY,
THIRDPARTY_CONTACT,
} from "translator"; } from "translator";
const props = defineProps({ const props = defineProps({

View File

@ -12,7 +12,6 @@ declare(strict_types=1);
namespace Chill\ThirdPartyBundle\Service; namespace Chill\ThirdPartyBundle\Service;
use Chill\ThirdPartyBundle\Entity\ThirdParty; use Chill\ThirdPartyBundle\Entity\ThirdParty;
use Doctrine\DBAL\Exception;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Mapping\ClassMetadata;