Fix populating water report from ID, make ContactSimple

ContactSimple is the replacement for ContactReporter, which was the
simplified form of a contact from a report. I made the name more generic
and use it in the general report structures for consistency.
This commit is contained in:
Eli Ribble 2026-05-21 03:23:10 +00:00
parent 75d0283453
commit 5e103f46a0
No known key found for this signature in database
14 changed files with 103 additions and 108 deletions

View file

@ -70,12 +70,12 @@
}}</a>
</label>
<label
v-if="report.reporter.phone.e164 != ''"
v-if="report.reporter.phone.number != ''"
class="form-label text-muted small mb-0"
>
<i class="bi bi-phone"></i>
<a :href="'tel:+' + report.reporter.phone.e164">{{
report.reporter.phone.e164
<a :href="'tel:+' + report.reporter.phone.number">{{
report.reporter.phone.number
}}</a>
</label>
</div>