UNPKG

apt-maintenance-account

Version:

Apartment Maintenance Account Tracking Application - Client Side in Angular

31 lines (27 loc) 803 B
<h2>Account Summary</h2> <table class="table table-responsive"> <thead> <tr> <th title="Transaction Year" [class]="yrMoClass" (click)="changeSorting()">Year-Month</th> <th title="Collected Amount">Collections</th> <th title="Expenditure Amount">Expenses</th> <th title="Difference between Collections and Expenditure">Difference</th> <th title="Cumulative Difference">Cumulative Difference</th> </tr> </thead> <tbody *ngIf="viewAllowed"> <tr *ngFor="let model of models"> <td>{{ model.yr_mo }}</td> <td>{{ model.cr }}</td> <td>{{ model.dr }}</td> <td>{{ model.diff }}</td> <td>{{ model.cumulativeDiff }}</td> </tr> </tbody> <tfoot> <tr> <th scope="row" colspan="4">Total Records</th> <td colspan="1">{{totalRecords}}</td> </tr> </tfoot> </table>