minus_area in premise, calculation of areas and factors
This commit is contained in:
@ -26,6 +26,10 @@
|
||||
<th mat-header-cell *matHeaderCellDef>Ort</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.city}}</td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="minusArea">
|
||||
<th mat-header-cell *matHeaderCellDef>Minus-Fläche</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.minus_area | number:'1.2-2'}}</td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="account">
|
||||
<th mat-header-cell *matHeaderCellDef>Betriebskostenkonto</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.account}}</td>
|
||||
|
@ -13,7 +13,7 @@ export class MyPremisesComponent implements OnInit {
|
||||
|
||||
premises: Premise[]
|
||||
dataSource: MatTableDataSource<Premise>
|
||||
displayedColumns: string[] = [ "description", "street", "zip", "city", "account" ]
|
||||
displayedColumns: string[] = [ "description", "street", "zip", "city", "minusArea", "account" ]
|
||||
|
||||
|
||||
constructor(private premiseService: PremiseService, private messageService: MessageService) { }
|
||||
|
Reference in New Issue
Block a user