This commit is contained in:
@@ -131,7 +131,7 @@ export class PdfService {
|
||||
private buildHtml(dto: KeyHandoverDto): string {
|
||||
return `
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Übergabeprotokoll</title>
|
||||
@@ -193,10 +193,9 @@ export class PdfService {
|
||||
}
|
||||
|
||||
.signature-wrapper {
|
||||
margin-top: 60px;
|
||||
margin-top: 40px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 40px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.signature-block {
|
||||
@@ -209,6 +208,12 @@ export class PdfService {
|
||||
padding-top: 6px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.return-section {
|
||||
margin-top: 50px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px dashed #999;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -234,7 +239,7 @@ export class PdfService {
|
||||
</div>
|
||||
<div class="row">
|
||||
<span class="label">Adresse:</span>
|
||||
<span class="value">${this.escapeHtml(dto.giverAddress ?? '-')}</span>
|
||||
<span class="value">${this.escapeHtml(dto.giverAddress ?? "-")}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -246,7 +251,7 @@ export class PdfService {
|
||||
</div>
|
||||
<div class="row">
|
||||
<span class="label">Adresse:</span>
|
||||
<span class="value">${this.escapeHtml(dto.receiverAddress ?? '-')}</span>
|
||||
<span class="value">${this.escapeHtml(dto.receiverAddress ?? "-")}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -258,7 +263,7 @@ export class PdfService {
|
||||
</div>
|
||||
<div class="row">
|
||||
<span class="label">Schlüsselnummer:</span>
|
||||
<span class="value">${this.escapeHtml(dto.keyNumber ?? '-')}</span>
|
||||
<span class="value">${this.escapeHtml(dto.keyNumber ?? "-")}</span>
|
||||
</div>
|
||||
<div class="row" style="display: none;">
|
||||
<span class="label">Anzahl:</span>
|
||||
@@ -266,31 +271,40 @@ export class PdfService {
|
||||
</div>
|
||||
<div class="row">
|
||||
<span class="label">Objekt / Raum:</span>
|
||||
<span class="value">${this.escapeHtml(dto.objectDescription ?? '-')}</span>
|
||||
<span class="value">${this.escapeHtml(dto.objectDescription ?? "-")}</span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<span class="label">Bemerkungen:</span>
|
||||
</div>
|
||||
<div class="note-box">${this.escapeHtml(dto.notes ?? '-')}</div>
|
||||
|
||||
<div class="note-box">${this.escapeHtml(dto.notes ?? "-")}</div>
|
||||
</div>
|
||||
|
||||
<div class="declaration">
|
||||
Hiermit bestätigt der Empfänger den Erhalt der oben aufgeführten Schlüssel.
|
||||
<br />
|
||||
Mit ihrer Unterschrift bestätigen beide Parteien die ordnungsgemäße Übergabe.
|
||||
</div>
|
||||
|
||||
<div class="signature-wrapper">
|
||||
<div class="signature-block">
|
||||
<div class="signature-line">Unterschrift Übergeber</div>
|
||||
</div>
|
||||
<div class="signature-block">
|
||||
<div class="signature-line">Unterschrift Empfänger</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="return-section">
|
||||
<div class="section-title">Rückgabe des Schlüssels</div>
|
||||
|
||||
<div class="declaration">
|
||||
Hiermit wird bestätigt, dass der oben aufgeführte Schlüssel zurückgegeben wurde.
|
||||
</div>
|
||||
|
||||
<div class="signature-wrapper">
|
||||
<div class="signature-block">
|
||||
<div class="signature-line">Unterschrift Rücknahme</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user