Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="values">
- <ng-container *ngFor="let product of bodyMonthRowDifference">
- <ng-container *ngFor="let manth of product">
- <div class="val">
- <span class="current-val">{{manth.total}}</span>
- <span class="difference-val" [ngClass]="manth.total_d > 0 ? 'green' : 'red' ">
- <span *ngIf="manth.total_d > 0">+</span>{{manth.total_d}}
- </span>
- </div>
- <ng-container *ngFor="let v of manth.values">
- <div class="val">
- <span class="current-val">{{v.current}}</span>
- <span class="difference-val" [ngClass]="v.difference > 0 ? 'green' : 'red' ">
- <span *ngIf="v.difference > 0">+</span>{{v.difference}}
- </span>
- </div>
- </ng-container>
- </ng-container>
- </ng-container>
- </div>
Add Comment
Please, Sign In to add comment