feat: add tipo_locatore to PostUnlock display and getProprietarioDataHandler for enhanced locatore information
This commit is contained in:
parent
57cd55d2d8
commit
083a97e74f
2 changed files with 2 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ const PostUnlock = () => {
|
||||||
<h3 className="mb-2 font-semibold">{t.contatto.propietario}:</h3>
|
<h3 className="mb-2 font-semibold">{t.contatto.propietario}:</h3>
|
||||||
<p className="mb-2">
|
<p className="mb-2">
|
||||||
{t.contatto.nome}: {propData.locatore}
|
{t.contatto.nome}: {propData.locatore}
|
||||||
|
{propData.tipo_locatore ? ` (${propData.tipo_locatore})` : ""}
|
||||||
</p>
|
</p>
|
||||||
<div className="flex flex-wrap items-center gap-5">
|
<div className="flex flex-wrap items-center gap-5">
|
||||||
<a
|
<a
|
||||||
|
|
|
||||||
|
|
@ -493,6 +493,7 @@ export const getProprietarioDataHandler = async ({
|
||||||
"lon",
|
"lon",
|
||||||
"numero",
|
"numero",
|
||||||
"locatore",
|
"locatore",
|
||||||
|
"tipo_locatore"
|
||||||
])
|
])
|
||||||
.where("id", "=", annuncioId)
|
.where("id", "=", annuncioId)
|
||||||
.executeTakeFirstOrThrow(() => {
|
.executeTakeFirstOrThrow(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue