Guest User

Untitled

a guest
Jan 16th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <div class="values">
  2. <ng-container *ngFor="let product of bodyMonthRowDifference">
  3. <ng-container *ngFor="let manth of product">
  4. <div class="val">
  5. <span class="current-val">{{manth.total}}</span>
  6. <span class="difference-val" [ngClass]="manth.total_d > 0 ? 'green' : 'red' ">
  7. <span *ngIf="manth.total_d > 0">+</span>{{manth.total_d}}
  8. </span>
  9. </div>
  10. <ng-container *ngFor="let v of manth.values">
  11. <div class="val">
  12. <span class="current-val">{{v.current}}</span>
  13. <span class="difference-val" [ngClass]="v.difference > 0 ? 'green' : 'red' ">
  14. <span *ngIf="v.difference > 0">+</span>{{v.difference}}
  15. </span>
  16. </div>
  17. </ng-container>
  18. </ng-container>
  19. </ng-container>
  20. </div>
Add Comment
Please, Sign In to add comment