fix display of nuisance properties
This commit is contained in:
parent
edfd8e285f
commit
76bfc09aa5
1 changed files with 12 additions and 25 deletions
|
|
@ -556,30 +556,26 @@
|
|||
</label>
|
||||
<ul>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.time_of_day_early"
|
||||
x-if="selectedCommunication.public_report.nuisance.time_of_day_early"
|
||||
>
|
||||
<li>Early</li>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.time_of_day_day"
|
||||
x-if="selectedCommunication.public_report.nuisance.time_of_day_day"
|
||||
>
|
||||
<li>Daytime</li>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.time_of_day_evening"
|
||||
x-if="selectedCommunication.public_report.nuisance.time_of_day_evening"
|
||||
>
|
||||
<li>Evening</li>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.time_of_day_night"
|
||||
x-if="selectedCommunication.public_report.nuisance.time_of_day_night"
|
||||
>
|
||||
<li>Night</li>
|
||||
</template>
|
||||
</ul>
|
||||
<div
|
||||
class="fw-medium"
|
||||
x-text="selectedCommunication.timeOfDay"
|
||||
></div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label text-muted small mb-0">
|
||||
|
|
@ -588,44 +584,35 @@
|
|||
<div>
|
||||
<ul>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.is_location_backyard"
|
||||
x-if="selectedCommunication.public_report.nuisance.is_location_backyard"
|
||||
>
|
||||
<li>Backyard</li>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.is_location_frontyard"
|
||||
x-if="selectedCommunication.public_report.nuisance.is_location_frontyard"
|
||||
>
|
||||
<li>Frontyard</li>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.is_location_garden"
|
||||
x-if="selectedCommunication.public_report.nuisance.is_location_garden"
|
||||
>
|
||||
<li>Garden</li>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.is_location_other"
|
||||
x-if="selectedCommunication.public_report.nuisance.is_location_other"
|
||||
>
|
||||
<li>Other</li>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.is_location_pool"
|
||||
x-if="selectedCommunication.public_report.nuisance.is_location_pool"
|
||||
>
|
||||
<li>Pool</li>
|
||||
</template>
|
||||
</ul>
|
||||
<template
|
||||
x-for="area in selectedCommunication.propertyAreas"
|
||||
:key="area"
|
||||
>
|
||||
<span
|
||||
class="badge bg-secondary me-1"
|
||||
x-text="area"
|
||||
></span>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.source_description != ''"
|
||||
x-if="selectedCommunication.public_report.nuisance.source_description != ''"
|
||||
>
|
||||
<div class="col-12">
|
||||
<label class="form-label text-muted small mb-0">
|
||||
|
|
@ -633,7 +620,7 @@
|
|||
</label>
|
||||
<div
|
||||
class="p-2 bg-light rounded"
|
||||
x-text="selectedCommunication.public_report.source_description || 'none'"
|
||||
x-text="selectedCommunication.public_report.nuisance.source_description || 'none'"
|
||||
></div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -643,7 +630,7 @@
|
|||
</label>
|
||||
<div
|
||||
class="p-2 bg-light rounded"
|
||||
x-text="selectedCommunication.public_report.additional_info || 'No additional notes'"
|
||||
x-text="selectedCommunication.public_report.nuisance.additional_info || 'No additional notes'"
|
||||
></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue