fix
This commit is contained in:
@ -1,11 +1,24 @@
|
|||||||
<section class="mat-typography">
|
<section class="mat-typography">
|
||||||
<mat-card class="defaultCard" *ngIf="messageService.messages.length">
|
<mat-card class="defaultCard">
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>Messages</mat-card-title>
|
<mat-card-title>Messages</mat-card-title>
|
||||||
</mat-card-header>
|
</mat-card-header>
|
||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<button (click)="messageService.clear()">clear</button>
|
<mat-accordion>
|
||||||
|
<mat-expansion-panel (opened)="collapse = true"
|
||||||
|
(closed)="collapse = false">
|
||||||
|
<mat-expansion-panel-header>
|
||||||
|
<mat-panel-title *ngIf="!collapse">
|
||||||
|
Übersicht
|
||||||
|
</mat-panel-title>
|
||||||
|
<mat-panel-description>
|
||||||
|
</mat-panel-description>
|
||||||
|
</mat-expansion-panel-header>
|
||||||
|
<button (click)="messageService.clear()">clear</button>
|
||||||
<div *ngFor='let message of messageService.messages'> {{message}} </div>
|
<div *ngFor='let message of messageService.messages'> {{message}} </div>
|
||||||
|
</mat-expansion-panel>
|
||||||
|
</mat-accordion>
|
||||||
|
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</section>
|
</section>
|
@ -8,6 +8,8 @@ import { MessageService } from '../message.service';
|
|||||||
})
|
})
|
||||||
export class MessagesComponent implements OnInit {
|
export class MessagesComponent implements OnInit {
|
||||||
|
|
||||||
|
collapse: boolean = false
|
||||||
|
|
||||||
constructor(public messageService: MessageService) { }
|
constructor(public messageService: MessageService) { }
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
@ -67,7 +67,9 @@
|
|||||||
<mat-label>IBAN</mat-label>
|
<mat-label>IBAN</mat-label>
|
||||||
<input matInput name="iban" [(ngModel)]="tenant.iban"/>
|
<input matInput name="iban" [(ngModel)]="tenant.iban"/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div><div>
|
</div>
|
||||||
|
<!--
|
||||||
|
<div>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label>Account ID</mat-label>
|
<mat-label>Account ID</mat-label>
|
||||||
<input matInput name="account_id" [readonly]="true" [ngModel]="account.id"/>
|
<input matInput name="account_id" [readonly]="true" [ngModel]="account.id"/>
|
||||||
@ -77,6 +79,7 @@
|
|||||||
<input matInput name="account_desc" [readonly]="true" [ngModel]="account.description"/>
|
<input matInput name="account_desc" [readonly]="true" [ngModel]="account.description"/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
<button #submitButton type="submit" mat-raised-button color="primary">Speichern</button>
|
<button #submitButton type="submit" mat-raised-button color="primary">Speichern</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@ -85,6 +88,8 @@
|
|||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
||||||
|
<app-note [selectedTenantId]="tenantId"></app-note>
|
||||||
|
|
||||||
<mat-card class="defaultCard">
|
<mat-card class="defaultCard">
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>
|
<mat-card-title>
|
||||||
@ -203,8 +208,6 @@
|
|||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
||||||
<app-note [selectedTenantId]="tenantId"></app-note>
|
|
||||||
|
|
||||||
<app-account [selectedAccountId]="tenant.account"></app-account>
|
<app-account [selectedAccountId]="tenant.account"></app-account>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user