change of models

This commit is contained in:
Julian Krauser 2025-05-14 14:42:00 +02:00
parent a49babe48d
commit ee700d9e02
28 changed files with 257 additions and 39 deletions

View file

@ -2,11 +2,11 @@
<div class="flex flex-col h-fit w-full border border-primary rounded-md">
<div class="bg-primary p-2 text-white flex flex-row justify-between items-center">
<p>
{{ damageReport.affected.name }}
{{ damageReport.related.name }}
</p>
</div>
<div class="p-2">
<p v-if="damageReport.affected">Code: {{ damageReport.affected.code }}</p>
<p v-if="damageReport.related">Code: {{ damageReport.related.code }}</p>
<p v-if="damageReport.description">Beschreibung: {{ damageReport.description }}</p>
</div>
</div>

View file

@ -4,7 +4,7 @@
class="flex flex-col h-fit w-full border border-primary rounded-md"
>
<div class="bg-primary p-2 text-white flex flex-row justify-between items-center">
<p>{{ inspectionPlan.title }} - {{ inspectionPlan.equipmentType.type }}</p>
<p>{{ inspectionPlan.title }} - {{ inspectionPlan.related.type }}</p>
</div>
<div class="p-2">
<p>Interval: {{ inspectionPlan.inspectionInterval }}</p>