.
This commit is contained in:
@@ -318,7 +318,37 @@
|
||||
{/await}
|
||||
|
||||
<div class="flex flex-row justify-end items-center gap-4 mt-4">
|
||||
{#if !ausweis.storniert && !ausweis.ausgestellt}
|
||||
|
||||
|
||||
<div>
|
||||
<a
|
||||
class="p-2 rounded-lg hover:bg-gray-200"
|
||||
title="PDF Herunterladen"
|
||||
target="_blank"
|
||||
href="/pdf/ansichtsausweis?id={ausweis.id}"
|
||||
>
|
||||
{#if ausweis.ausgestellt}
|
||||
<img src="../../images/dashboard/AusweisHaken.svg" width="50" alt="Energieausweis">
|
||||
{:else}
|
||||
<img src="../../images/dashboard/AusweisKreuz.svg" width="50" alt="Energieausweis">
|
||||
{/if}
|
||||
</a>
|
||||
<a
|
||||
class="p-2 rounded-lg hover:bg-gray-200"
|
||||
title="PDF Herunterladen"
|
||||
target="_blank"
|
||||
href="/pdf/datenblatt?id={ausweis.id}"
|
||||
>
|
||||
{#if ausweis.ausgestellt}
|
||||
<img src="../../images/dashboard/DatenblattHaken.svg" width="50" alt="Energieausweis">
|
||||
{:else}
|
||||
<img src="../../images/dashboard/DatenblattKreuz.svg" width="50" alt="Energieausweis">
|
||||
{/if}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{#if !ausweis.storniert && !ausweis.ausgestellt}
|
||||
<!--
|
||||
<a
|
||||
class="button text-sm"
|
||||
@@ -390,23 +420,8 @@
|
||||
<button class="button text-sm" on:click={stornieren}>S</button>
|
||||
<button class="button text-sm" on:click={registriernummer}>R</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<a
|
||||
class="p-2 rounded-lg hover:bg-gray-200"
|
||||
title="PDF Herunterladen"
|
||||
target="_blank"
|
||||
href="/pdf/ansichtsausweis?id={ausweis.id}"
|
||||
>
|
||||
<img src="/images/ausweis.webp" width="32" alt="Energieausweis">
|
||||
</a>
|
||||
<a
|
||||
class="p-2 rounded-lg hover:bg-gray-200"
|
||||
title="PDF Herunterladen"
|
||||
target="_blank"
|
||||
href="/pdf/datenblatt?id={ausweis.id}"
|
||||
>
|
||||
<img src="/images/datenblatt.webp" width="32" alt="Datenblatt">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user