feat: migrate to new tsclass schema
This commit is contained in:
@@ -27,7 +27,7 @@ export class DePageFooter extends DeesElement {
|
||||
@property({
|
||||
type: Object,
|
||||
})
|
||||
letterData: plugins.tsclass.business.ILetter;
|
||||
letterData: plugins.tsclass.business.TLetter;
|
||||
|
||||
@property({
|
||||
type: Object,
|
||||
@@ -119,17 +119,20 @@ export class DePageFooter extends DeesElement {
|
||||
${this.letterData.from.address.city}<br />
|
||||
${this.letterData.from.address.country}
|
||||
</div>
|
||||
<div>
|
||||
<strong
|
||||
>${plugins.shared.translation.translate(
|
||||
this.documentSettings.languageCode,
|
||||
"footer@@registration.label"
|
||||
)}:</strong
|
||||
><br />
|
||||
Amtsgericht Bremen<br />
|
||||
<i>reg-#:</i> HRB 35230 HB<br />
|
||||
<i>vat-id:</i> ${this.letterData.from.vatId}
|
||||
</div>
|
||||
${this.letterData.from.registrationDetails
|
||||
? html` <div>
|
||||
<strong
|
||||
>${plugins.shared.translation.translate(
|
||||
this.documentSettings.languageCode,
|
||||
"footer@@registration.label"
|
||||
)}:</strong
|
||||
><br />
|
||||
${this.letterData.from.registrationDetails.registrationName}<br />
|
||||
<i>reg-#:</i> ${this.letterData.from.registrationDetails
|
||||
.registrationId}<br />
|
||||
<i>vat-id:</i> ${this.letterData.from.registrationDetails.vatId}
|
||||
</div>`
|
||||
: null}
|
||||
<div>
|
||||
<strong
|
||||
>${plugins.shared.translation.translate(
|
||||
|
Reference in New Issue
Block a user