feat: add tipo_locatore to PostUnlock display and getProprietarioDataHandler for enhanced locatore information

This commit is contained in:
Marco Pedone 2026-03-17 19:10:04 +01:00
parent 57cd55d2d8
commit 083a97e74f
2 changed files with 2 additions and 0 deletions

View file

@ -316,6 +316,7 @@ const PostUnlock = () => {
<h3 className="mb-2 font-semibold">{t.contatto.propietario}:</h3>
<p className="mb-2">
{t.contatto.nome}: {propData.locatore}
{propData.tipo_locatore ? ` (${propData.tipo_locatore})` : ""}
</p>
<div className="flex flex-wrap items-center gap-5">
<a

View file

@ -493,6 +493,7 @@ export const getProprietarioDataHandler = async ({
"lon",
"numero",
"locatore",
"tipo_locatore"
])
.where("id", "=", annuncioId)
.executeTakeFirstOrThrow(() => {