Add additional source information and property areas

This commit is contained in:
Eli Ribble 2026-03-07 02:18:40 +00:00
parent 1970ccb13e
commit beb4b914a0
No known key found for this signature in database
2 changed files with 127 additions and 18 deletions

View file

@ -508,6 +508,28 @@
<label class="form-label text-muted small mb-0">
<i class="bi bi-clock"></i> Time of Day Encountered
</label>
<ul>
<template
x-if="selectedCommunication.public_report.time_of_day_early"
>
<li>Early</li>
</template>
<template
x-if="selectedCommunication.public_report.time_of_day_day"
>
<li>Daytime</li>
</template>
<template
x-if="selectedCommunication.public_report.time_of_day_evening"
>
<li>Evening</li>
</template>
<template
x-if="selectedCommunication.public_report.time_of_day_night"
>
<li>Night</li>
</template>
</ul>
<div
class="fw-medium"
x-text="selectedCommunication.timeOfDay"
@ -518,6 +540,33 @@
<i class="bi bi-house"></i> Property Area
</label>
<div>
<ul>
<template
x-if="selectedCommunication.public_report.is_location_backyard"
>
<li>Backyard</li>
</template>
<template
x-if="selectedCommunication.public_report.is_location_frontyard"
>
<li>Frontyard</li>
</template>
<template
x-if="selectedCommunication.public_report.is_location_garden"
>
<li>Garden</li>
</template>
<template
x-if="selectedCommunication.public_report.is_location_other"
>
<li>Other</li>
</template>
<template
x-if="selectedCommunication.public_report.is_location_pool"
>
<li>Pool</li>
</template>
</ul>
<template
x-for="area in selectedCommunication.propertyAreas"
:key="area"
@ -535,7 +584,7 @@
</label>
<div
class="p-2 bg-light rounded"
x-text="selectedCommunication.notes || 'No additional notes'"
x-text="selectedCommunication.public_report.additional_info || 'No additional notes'"
></div>
</div>
</div>