more fix premise account stuff
This commit is contained in:
parent
3c97fb3582
commit
6f3248f03c
@ -11,7 +11,8 @@
|
||||
<mat-card-content>
|
||||
<mat-accordion>
|
||||
<mat-expansion-panel (opened)="collapseDetails = true"
|
||||
(closed)="collapseDetails = false">
|
||||
(closed)="collapseDetails = false"
|
||||
[expanded]="premise.id == 0">
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title>
|
||||
Details
|
||||
@ -42,7 +43,7 @@
|
||||
</div><div>
|
||||
<mat-form-field appearance="outline" *ngIf="premise.account">
|
||||
<mat-label>Betriebskostenkonto</mat-label>
|
||||
<input matInput name="street" [(ngModel)]="premise.account"/>
|
||||
<input matInput name="account" [readonly]="true" [(ngModel)]="premise.account"/>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<button #submitButton type="submit" mat-raised-button color="primary">Speichern</button>
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatButton } from '@angular/material/button';
|
||||
import { MatExpansionPanel } from '@angular/material/expansion';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { AccountService, PremiseService } from '../data-object-service';
|
||||
import { Account, NULL_Premise, Premise } from '../data-objects';
|
||||
|
@ -8,7 +8,8 @@
|
||||
<mat-card-content>
|
||||
<mat-accordion>
|
||||
<mat-expansion-panel (opened)="collapseTenantDetails = true"
|
||||
(closed)="collapseTenantDetails = false">
|
||||
(closed)="collapseTenantDetails = false"
|
||||
[expanded]="tenant.id == 0">
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title *ngIf="!collapseTenantDetails">
|
||||
Details
|
||||
|
Loading…
x
Reference in New Issue
Block a user