2021-09-01 17:58:49 +02:00
|
|
|
<section class="mat-typography">
|
|
|
|
<mat-card class="defaultCard">
|
|
|
|
<mat-card-header>
|
|
|
|
<mat-card-title>
|
|
|
|
{{premise?.description}}
|
|
|
|
</mat-card-title>
|
|
|
|
<mat-card-subtitle>
|
|
|
|
ID: {{premise?.id}}
|
|
|
|
</mat-card-subtitle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
2021-11-08 21:04:21 +01:00
|
|
|
<mat-accordion>
|
|
|
|
<mat-expansion-panel (opened)="collapseDetails = true"
|
|
|
|
(closed)="collapseDetails = false">
|
|
|
|
<mat-expansion-panel-header>
|
|
|
|
<mat-panel-title>
|
|
|
|
Details
|
|
|
|
</mat-panel-title>
|
|
|
|
<mat-panel-description>
|
|
|
|
</mat-panel-description>
|
|
|
|
</mat-expansion-panel-header>
|
|
|
|
<form (ngSubmit)="savePremise()">
|
|
|
|
<div>
|
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Beschreibung</mat-label>
|
|
|
|
<input matInput name="description" [(ngModel)]="premise.description"/>
|
|
|
|
</mat-form-field>
|
|
|
|
</div><div>
|
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Strasse</mat-label>
|
|
|
|
<input matInput name="street" [(ngModel)]="premise.street"/>
|
|
|
|
</mat-form-field>
|
|
|
|
</div><div>
|
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>PLZ</mat-label>
|
|
|
|
<input matInput name="zip" [(ngModel)]="premise.zip"/>
|
|
|
|
</mat-form-field>
|
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Ort</mat-label>
|
|
|
|
<input matInput name="city" [(ngModel)]="premise.city"/>
|
|
|
|
</mat-form-field>
|
|
|
|
</div><div>
|
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Betriebskostenkonto</mat-label>
|
|
|
|
<input matInput name="street" [(ngModel)]="premise.account"/>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
<button #submitButton type="submit" mat-raised-button color="primary">Speichern</button>
|
|
|
|
</form>
|
|
|
|
</mat-expansion-panel>
|
|
|
|
<mat-expansion-panel (opened)="collapseOverheadAccount = true"
|
|
|
|
(closed)="collapseOverheadAccount = false">
|
|
|
|
<mat-expansion-panel-header>
|
|
|
|
<mat-panel-title>
|
|
|
|
Betriebskostenkonto
|
|
|
|
</mat-panel-title>
|
|
|
|
<mat-panel-description>
|
|
|
|
</mat-panel-description>
|
|
|
|
</mat-expansion-panel-header>
|
|
|
|
<app-account #incomeAccountComponent [selectedAccountId]="overheadAccountId" [shallBeRentPayment]="false"></app-account>
|
|
|
|
</mat-expansion-panel>
|
|
|
|
</mat-accordion>
|
|
|
|
|
2021-09-01 17:58:49 +02:00
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</section>
|