SHARE
TWEET

Untitled

a guest Aug 13th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div *ngFor="let feeModel of feesModel; let i = index">
  2.                             <mat-form-field>
  3.                                 <input matInput [name]="'feeName' + (i + 1)" type="text" placeholder="Fee Name" [formControl]="redTuitionFormGroup.controls['feeName' + (i + 1)]">
  4.                             </mat-form-field>
  5.                             <mat-form-field>
  6.                                 <input matInput [name]="'feeAmount' + (i + 1)" type="number" placeholder="Fee Amount ($)" [formControl]="redTuitionFormGroup.controls['feeAmount' + (i + 1)]">
  7.                             </mat-form-field>
  8.                             <mat-form-field>
  9.                                 <mat-select [formControl]="redTuitionFormGroup.controls['feePerStudentOrFamily' + (i + 1)]" placeholder="Per student/family">
  10.                                     <mat-option *ngFor="let type of perStudFamily" [value]="type.val">
  11.                                         {{type.typeName}}
  12.                                     </mat-option>
  13.                                 </mat-select>
  14.                             </mat-form-field>
  15.                             <div class="grades-checkbox-container" style="max-width: 1000px;">
  16.                                 <h4>Apply to grades:
  17.                                     <mat-checkbox [ngModelOptions]="{standalone: true}" [name]="'allGrades' + (i + 1)" (change)="setAllMonths();" [(ngModel)]="feeModel.isAll" style="margin-right: 10px;">All</mat-checkbox>
  18.                                 </h4>
  19.  
  20.                                 <mat-checkbox [ngModelOptions]="{standalone: true}" (change)="checkIfAllMonths();" [name]="grade.gradeID + 'g1'" *ngFor="let grade of feeModel.gradesModel" [(ngModel)]="grade.isApplied" style="margin-right: 10px;">{{grade.gradeName}}
  21.                                 </mat-checkbox>
  22.                             </div>
  23.                         </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top