visa
This commit is contained in:
		
							parent
							
								
									9178e6511b
								
							
						
					
					
						commit
						b898694b14
					
				@ -8,7 +8,8 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
					      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
				
			||||||
        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon>    <clr-icon *ngIf="isCardview" shape="bars"></clr-icon>
 | 
					        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon> <clr-icon *ngIf="isCardview"
 | 
				
			||||||
 | 
					          shape="bars"></clr-icon>
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
      <!-- upload and download template -->
 | 
					      <!-- upload and download template -->
 | 
				
			||||||
      <button class="btn btn-outline" (click)="goToDataM()">
 | 
					      <button class="btn btn-outline" (click)="goToDataM()">
 | 
				
			||||||
@ -21,8 +22,10 @@
 | 
				
			|||||||
      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
					      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
				
			||||||
        <clr-icon shape="plus"></clr-icon>ADD
 | 
					        <clr-icon shape="plus"></clr-icon>ADD
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
    </div></div>
 | 
					    </div>
 | 
				
			||||||
  <ng-container *ngIf="!isCardview">   <!-- GET ALL -->     <clr-datagrid [clrDgLoading]="loading" [(clrDgSelected)]="selected">
 | 
					  </div>
 | 
				
			||||||
 | 
					  <ng-container *ngIf="!isCardview"> <!-- GET ALL --> <clr-datagrid [clrDgLoading]="loading"
 | 
				
			||||||
 | 
					      [(clrDgSelected)]="selected">
 | 
				
			||||||
      <clr-dg-placeholder>
 | 
					      <clr-dg-placeholder>
 | 
				
			||||||
        <ng-template #loadingSpinner>
 | 
					        <ng-template #loadingSpinner>
 | 
				
			||||||
          <clr-spinner>Loading ... </clr-spinner>
 | 
					          <clr-spinner>Loading ... </clr-spinner>
 | 
				
			||||||
@ -53,7 +56,8 @@
 | 
				
			|||||||
        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
					        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<clr-dg-cell (click)="goToReplaceStringdescription (user.description)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
					        <clr-dg-cell (click)="goToReplaceStringdescription (user.description)"
 | 
				
			||||||
 | 
					          style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
				
			||||||
        </clr-dg-cell>
 | 
					        </clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -63,7 +67,8 @@
 | 
				
			|||||||
        <!-- who column -->
 | 
					        <!-- who column -->
 | 
				
			||||||
        <clr-dg-cell>
 | 
					        <clr-dg-cell>
 | 
				
			||||||
          <clr-signpost>
 | 
					          <clr-signpost>
 | 
				
			||||||
   <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success" style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
					            <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success"
 | 
				
			||||||
 | 
					                style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
				
			||||||
            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
					            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
				
			||||||
              <h5 style="margin-top: 0">Who Column</h5>
 | 
					              <h5 style="margin-top: 0">Who Column</h5>
 | 
				
			||||||
              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
					              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
				
			||||||
@ -107,11 +112,13 @@
 | 
				
			|||||||
      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
					      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
				
			||||||
        <div class="clr-row">
 | 
					        <div class="clr-row">
 | 
				
			||||||
          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
					          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
				
			||||||
  <div class="card" style="padding: 10px; "[style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
					            <div class="card" style="padding: 10px; "
 | 
				
			||||||
    <div class="card-body" style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
					              [style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
				
			||||||
 | 
					              <div class="card-body"
 | 
				
			||||||
 | 
					                style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
				
			||||||
                <ng-container *ngFor="let item of dashboardArray">
 | 
					                <ng-container *ngFor="let item of dashboardArray">
 | 
				
			||||||
        <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1" [style.gridColumnEnd]="item.x + item.cols + 1"
 | 
					                  <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1"
 | 
				
			||||||
          [style.gridRowEnd]="item.y + item.rows + 1">
 | 
					                    [style.gridColumnEnd]="item.x + item.cols + 1" [style.gridRowEnd]="item.y + item.rows + 1">
 | 
				
			||||||
                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
					                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
				
			||||||
                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
					                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
				
			||||||
                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
					                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
				
			||||||
@ -121,7 +128,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"     	 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] }}
 | 
					                      {{ app[transform(item.fieldtext) ] }}
 | 
				
			||||||
@ -137,7 +145,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] | date}}
 | 
					                      {{ app[transform(item.fieldtext) ] | date}}
 | 
				
			||||||
@ -152,7 +161,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ]}}
 | 
					                      {{ app[transform(item.fieldtext) ]}}
 | 
				
			||||||
@ -182,8 +192,7 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'">
 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
					                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -198,7 +207,8 @@
 | 
				
			|||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
          [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">			 <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
 | 
					                      <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
				
			||||||
                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
					                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
				
			||||||
                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
					                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -217,7 +227,8 @@
 | 
				
			|||||||
<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
					    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
				
			||||||
						  </div></clr-modal>
 | 
					  </div>
 | 
				
			||||||
 | 
					</clr-modal>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -242,12 +253,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Description</label>
 | 
					          <label> Description</label>
 | 
				
			||||||
	              <textarea cols="10" rows="2"[(ngModel)]="rowSelected.description" name="description " placeholder="Textarea">  </textarea>
 | 
					          <textarea cols="10" rows="2" [(ngModel)]="rowSelected.description" name="description "
 | 
				
			||||||
 | 
					            placeholder="Textarea">  </textarea>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
<input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" /> </div>
 | 
					          <input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -265,22 +278,27 @@
 | 
				
			|||||||
          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
					          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
				
			||||||
            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
					            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
				
			||||||
              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
					              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'text'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
					              <input *ngSwitchCase="'text'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
					              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'date'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-input" />
 | 
					              <input *ngSwitchCase="'date'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
					              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <textarea *ngSwitchCase="'textarea'"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  col="10" row="2"></textarea>
 | 
					              <textarea *ngSwitchCase="'textarea'" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"
 | 
				
			||||||
 | 
					                col="10" row="2"></textarea>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
					              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
				
			||||||
          <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-checkbox" />
 | 
					              <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-checkbox" />
 | 
				
			||||||
            </ng-container>
 | 
					            </ng-container>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- form code end -->  <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -308,13 +326,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- aeroplane icon -->
 | 
					    <!-- aeroplane icon -->
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip" aria-haspopup="true"
 | 
					    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip"
 | 
				
			||||||
      class="tooltip tooltip-sm tooltip-bottom-left">
 | 
					      aria-haspopup="true" class="tooltip tooltip-sm tooltip-bottom-left">
 | 
				
			||||||
      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Agent_formCode' }">
 | 
					      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Agent_formCode' }">
 | 
				
			||||||
        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
					        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <span class="tooltip-content">Form Extension</span>
 | 
					      <span class="tooltip-content">Form Extension</span>
 | 
				
			||||||
    </a> </h3>
 | 
					    </a>
 | 
				
			||||||
 | 
					  </h3>
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <form [formGroup]="entryForm">
 | 
					    <form [formGroup]="entryForm">
 | 
				
			||||||
      <div class="clr-row" style="height: fit-content;">
 | 
					      <div class="clr-row" style="height: fit-content;">
 | 
				
			||||||
@ -331,7 +350,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
  <input type="checkbox" formControlName="active" clrToggle/>            </div>
 | 
					          <input type="checkbox" formControlName="active" clrToggle />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -366,7 +386,8 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <!-- form code end --> <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,14 +1,15 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Cost_Sheet</a></li>
 | 
					  <li><a href="javascript://"> Cost Sheet</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Cost_Sheet </h3>
 | 
					      <h3>Cost Sheet </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
					      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
				
			||||||
        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon>    <clr-icon *ngIf="isCardview" shape="bars"></clr-icon>
 | 
					        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon> <clr-icon *ngIf="isCardview"
 | 
				
			||||||
 | 
					          shape="bars"></clr-icon>
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
      <!-- upload and download template -->
 | 
					      <!-- upload and download template -->
 | 
				
			||||||
      <button class="btn btn-outline" (click)="goToDataM()">
 | 
					      <button class="btn btn-outline" (click)="goToDataM()">
 | 
				
			||||||
@ -21,8 +22,10 @@
 | 
				
			|||||||
      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
					      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
				
			||||||
        <clr-icon shape="plus"></clr-icon>ADD
 | 
					        <clr-icon shape="plus"></clr-icon>ADD
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
    </div></div>
 | 
					    </div>
 | 
				
			||||||
  <ng-container *ngIf="!isCardview">   <!-- GET ALL -->     <clr-datagrid [clrDgLoading]="loading" [(clrDgSelected)]="selected">
 | 
					  </div>
 | 
				
			||||||
 | 
					  <ng-container *ngIf="!isCardview"> <!-- GET ALL --> <clr-datagrid [clrDgLoading]="loading"
 | 
				
			||||||
 | 
					      [(clrDgSelected)]="selected">
 | 
				
			||||||
      <clr-dg-placeholder>
 | 
					      <clr-dg-placeholder>
 | 
				
			||||||
        <ng-template #loadingSpinner>
 | 
					        <ng-template #loadingSpinner>
 | 
				
			||||||
          <clr-spinner>Loading ... </clr-spinner>
 | 
					          <clr-spinner>Loading ... </clr-spinner>
 | 
				
			||||||
@ -55,7 +58,8 @@
 | 
				
			|||||||
        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
					        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<clr-dg-cell (click)="goToReplaceStringdescription (user.description)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
					        <clr-dg-cell (click)="goToReplaceStringdescription (user.description)"
 | 
				
			||||||
 | 
					          style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
				
			||||||
        </clr-dg-cell>
 | 
					        </clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -67,7 +71,8 @@
 | 
				
			|||||||
        <!-- who column -->
 | 
					        <!-- who column -->
 | 
				
			||||||
        <clr-dg-cell>
 | 
					        <clr-dg-cell>
 | 
				
			||||||
          <clr-signpost>
 | 
					          <clr-signpost>
 | 
				
			||||||
   <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success" style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
					            <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success"
 | 
				
			||||||
 | 
					                style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
				
			||||||
            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
					            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
				
			||||||
              <h5 style="margin-top: 0">Who Column</h5>
 | 
					              <h5 style="margin-top: 0">Who Column</h5>
 | 
				
			||||||
              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
					              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
				
			||||||
@ -111,11 +116,13 @@
 | 
				
			|||||||
      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
					      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
				
			||||||
        <div class="clr-row">
 | 
					        <div class="clr-row">
 | 
				
			||||||
          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
					          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
				
			||||||
  <div class="card" style="padding: 10px; "[style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
					            <div class="card" style="padding: 10px; "
 | 
				
			||||||
    <div class="card-body" style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
					              [style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
				
			||||||
 | 
					              <div class="card-body"
 | 
				
			||||||
 | 
					                style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
				
			||||||
                <ng-container *ngFor="let item of dashboardArray">
 | 
					                <ng-container *ngFor="let item of dashboardArray">
 | 
				
			||||||
        <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1" [style.gridColumnEnd]="item.x + item.cols + 1"
 | 
					                  <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1"
 | 
				
			||||||
          [style.gridRowEnd]="item.y + item.rows + 1">
 | 
					                    [style.gridColumnEnd]="item.x + item.cols + 1" [style.gridRowEnd]="item.y + item.rows + 1">
 | 
				
			||||||
                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
					                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
				
			||||||
                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
					                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
				
			||||||
                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
					                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
				
			||||||
@ -125,7 +132,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"     	 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] }}
 | 
					                      {{ app[transform(item.fieldtext) ] }}
 | 
				
			||||||
@ -141,7 +149,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] | date}}
 | 
					                      {{ app[transform(item.fieldtext) ] | date}}
 | 
				
			||||||
@ -156,7 +165,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ]}}
 | 
					                      {{ app[transform(item.fieldtext) ]}}
 | 
				
			||||||
@ -186,8 +196,7 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'">
 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
					                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -202,7 +211,8 @@
 | 
				
			|||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
          [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">			 <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
 | 
					                      <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
				
			||||||
                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
					                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
				
			||||||
                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
					                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -221,7 +231,8 @@
 | 
				
			|||||||
<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
					    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
				
			||||||
						  </div></clr-modal>
 | 
					  </div>
 | 
				
			||||||
 | 
					</clr-modal>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -229,7 +240,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Cost_sheet <!--update button -->
 | 
					  <h3 class="modal-title">Update Cost Sheet <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -250,12 +261,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Description</label>
 | 
					          <label> Description</label>
 | 
				
			||||||
	              <textarea cols="10" rows="2"[(ngModel)]="rowSelected.description" name="description " placeholder="Textarea">  </textarea>
 | 
					          <textarea cols="10" rows="2" [(ngModel)]="rowSelected.description" name="description "
 | 
				
			||||||
 | 
					            placeholder="Textarea">  </textarea>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
<input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" /> </div>
 | 
					          <input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -266,7 +279,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h6> List of cost_sheet</h6>
 | 
					      <h6> List of Cost Sheet</h6>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="clr-row" style="margin-top: 10px;">
 | 
					      <div class="clr-row" style="margin-top: 10px;">
 | 
				
			||||||
        <table class="table">
 | 
					        <table class="table">
 | 
				
			||||||
@ -282,13 +295,16 @@
 | 
				
			|||||||
          <tbody>
 | 
					          <tbody>
 | 
				
			||||||
            <tr *ngFor="let attach of FileDatacost_sheet; let i=index">
 | 
					            <tr *ngFor="let attach of FileDatacost_sheet; let i=index">
 | 
				
			||||||
              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
					              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
				
			||||||
              <td><input type="file" (change)="onFileChangedcost_sheet($event, i)"  accept = "application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"/>
 | 
					              <td><input type="file" (change)="onFileChangedcost_sheet($event, i)"
 | 
				
			||||||
 | 
					                  accept="application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" />
 | 
				
			||||||
              </td>
 | 
					              </td>
 | 
				
			||||||
              <td>{{attach.uploadedfile_name}}</td>
 | 
					              <td>{{attach.uploadedfile_name}}</td>
 | 
				
			||||||
              <td >  <img [src]="attach.filePreview" alt="File Preview"  [ngModelOptions]="{standalone: true}" name="filePreview" width="100px" height="100px"></td>
 | 
					              <td> <img [src]="attach.filePreview" alt="File Preview" [ngModelOptions]="{standalone: true}"
 | 
				
			||||||
 | 
					                  name="filePreview" width="100px" height="100px"></td>
 | 
				
			||||||
              <td>
 | 
					              <td>
 | 
				
			||||||
                <clr-signpost style="padding-right: 10px;">
 | 
					                <clr-signpost style="padding-right: 10px;">
 | 
				
			||||||
                      <clr-icon shape="trash" class="is-error" aria-label="Icon Button Trigger" clrSignpostTrigger></clr-icon>
 | 
					                  <clr-icon shape="trash" class="is-error" aria-label="Icon Button Trigger"
 | 
				
			||||||
 | 
					                    clrSignpostTrigger></clr-icon>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                  <clr-signpost-content [clrPosition]="'bottom-middle'" *clrIfOpen>
 | 
					                  <clr-signpost-content [clrPosition]="'bottom-middle'" *clrIfOpen>
 | 
				
			||||||
                    <div style="text-align: center;"><b>Are you sure?</b></div>
 | 
					                    <div style="text-align: center;"><b>Are you sure?</b></div>
 | 
				
			||||||
@ -302,11 +318,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          </tbody>
 | 
					          </tbody>
 | 
				
			||||||
          <button type="button" class="btn btn-primary button1" style="margin-left: 20px;" (click)="onAddLinescost_sheet()">
 | 
					          <button type="button" class="btn btn-primary button1" style="margin-left: 20px;"
 | 
				
			||||||
 | 
					            (click)="onAddLinescost_sheet()">
 | 
				
			||||||
            <clr-icon shape="plus"></clr-icon>
 | 
					            <clr-icon shape="plus"></clr-icon>
 | 
				
			||||||
          </button>
 | 
					          </button>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        </table> </div>
 | 
					        </table>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <!-- form code start -->
 | 
					      <!-- form code start -->
 | 
				
			||||||
      <div *ngIf="checkFormCode">
 | 
					      <div *ngIf="checkFormCode">
 | 
				
			||||||
@ -317,22 +335,27 @@
 | 
				
			|||||||
          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
					          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
				
			||||||
            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
					            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
				
			||||||
              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
					              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'text'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
					              <input *ngSwitchCase="'text'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
					              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'date'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-input" />
 | 
					              <input *ngSwitchCase="'date'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
					              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <textarea *ngSwitchCase="'textarea'"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  col="10" row="2"></textarea>
 | 
					              <textarea *ngSwitchCase="'textarea'" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"
 | 
				
			||||||
 | 
					                col="10" row="2"></textarea>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
					              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
				
			||||||
          <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-checkbox" />
 | 
					              <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-checkbox" />
 | 
				
			||||||
            </ng-container>
 | 
					            </ng-container>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- form code end -->  <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -351,7 +374,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Cost_Sheet 
 | 
					  <h3 class="modal-title">Add Cost Sheet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -362,13 +385,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- aeroplane icon -->
 | 
					    <!-- aeroplane icon -->
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip" aria-haspopup="true"
 | 
					    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip"
 | 
				
			||||||
      class="tooltip tooltip-sm tooltip-bottom-left">
 | 
					      aria-haspopup="true" class="tooltip tooltip-sm tooltip-bottom-left">
 | 
				
			||||||
      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Cost_sheet_formCode' }">
 | 
					      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Cost_sheet_formCode' }">
 | 
				
			||||||
        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
					        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <span class="tooltip-content">Form Extension</span>
 | 
					      <span class="tooltip-content">Form Extension</span>
 | 
				
			||||||
    </a> </h3>
 | 
					    </a>
 | 
				
			||||||
 | 
					  </h3>
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <form [formGroup]="entryForm">
 | 
					    <form [formGroup]="entryForm">
 | 
				
			||||||
      <div class="clr-row" style="height: fit-content;">
 | 
					      <div class="clr-row" style="height: fit-content;">
 | 
				
			||||||
@ -385,7 +409,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
  <input type="checkbox" formControlName="active" clrToggle/>            </div>
 | 
					          <input type="checkbox" formControlName="active" clrToggle />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -397,7 +422,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h6> List of cost_sheet</h6>
 | 
					      <h6> List of Cost Sheet</h6>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="clr-row" style="margin-top: 10px;">
 | 
					      <div class="clr-row" style="margin-top: 10px;">
 | 
				
			||||||
        <table class="table">
 | 
					        <table class="table">
 | 
				
			||||||
@ -413,10 +438,12 @@
 | 
				
			|||||||
          <tbody>
 | 
					          <tbody>
 | 
				
			||||||
            <tr *ngFor="let attach of FileDatacost_sheet; let i=index">
 | 
					            <tr *ngFor="let attach of FileDatacost_sheet; let i=index">
 | 
				
			||||||
              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
					              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
				
			||||||
             <td><input type="file" (change)="onFileChangedcost_sheet($event, i)"  accept = "application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" /><!--accept=".pdf,.doc,.docx,.jpg,.msg"-->
 | 
					              <td><input type="file" (change)="onFileChangedcost_sheet($event, i)"
 | 
				
			||||||
 | 
					                  accept="application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" /><!--accept=".pdf,.doc,.docx,.jpg,.msg"-->
 | 
				
			||||||
              </td>
 | 
					              </td>
 | 
				
			||||||
              <td>{{attach.uploadedfile_name}}</td>
 | 
					              <td>{{attach.uploadedfile_name}}</td>
 | 
				
			||||||
             <td >  <img [src]="attach.filePreview" alt="File Preview"  [ngModelOptions]="{standalone: true}" name="filePreview" width="100px" height="100px"></td>
 | 
					              <td> <img [src]="attach.filePreview" alt="File Preview" [ngModelOptions]="{standalone: true}"
 | 
				
			||||||
 | 
					                  name="filePreview" width="100px" height="100px"></td>
 | 
				
			||||||
              <td>
 | 
					              <td>
 | 
				
			||||||
                <a (click)="deleteRowcost_sheet(i)">
 | 
					                <a (click)="deleteRowcost_sheet(i)">
 | 
				
			||||||
                  <clr-icon shape="trash" class="is-error"></clr-icon>
 | 
					                  <clr-icon shape="trash" class="is-error"></clr-icon>
 | 
				
			||||||
@ -426,11 +453,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          </tbody>
 | 
					          </tbody>
 | 
				
			||||||
         <button type="button" class="btn btn-primary button1" style="margin-left: 20px;" (click)="onAddLinescost_sheet()">
 | 
					          <button type="button" class="btn btn-primary button1" style="margin-left: 20px;"
 | 
				
			||||||
 | 
					            (click)="onAddLinescost_sheet()">
 | 
				
			||||||
            <clr-icon shape="plus"></clr-icon>
 | 
					            <clr-icon shape="plus"></clr-icon>
 | 
				
			||||||
          </button>
 | 
					          </button>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       </table> </div>
 | 
					        </table>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -457,7 +486,8 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <!-- form code end --> <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,14 +1,15 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_Administration</a></li>
 | 
					  <li><a href="javascript://"> Visa Administration</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_Administration </h3>
 | 
					      <h3>Visa Administration </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
					      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
				
			||||||
        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon>    <clr-icon *ngIf="isCardview" shape="bars"></clr-icon>
 | 
					        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon> <clr-icon *ngIf="isCardview"
 | 
				
			||||||
 | 
					          shape="bars"></clr-icon>
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
      <!-- upload and download template -->
 | 
					      <!-- upload and download template -->
 | 
				
			||||||
      <button class="btn btn-outline" (click)="goToDataM()">
 | 
					      <button class="btn btn-outline" (click)="goToDataM()">
 | 
				
			||||||
@ -21,8 +22,10 @@
 | 
				
			|||||||
      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
					      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
				
			||||||
        <clr-icon shape="plus"></clr-icon>ADD
 | 
					        <clr-icon shape="plus"></clr-icon>ADD
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
    </div></div>
 | 
					    </div>
 | 
				
			||||||
  <ng-container *ngIf="!isCardview">   <!-- GET ALL -->     <clr-datagrid [clrDgLoading]="loading" [(clrDgSelected)]="selected">
 | 
					  </div>
 | 
				
			||||||
 | 
					  <ng-container *ngIf="!isCardview"> <!-- GET ALL --> <clr-datagrid [clrDgLoading]="loading"
 | 
				
			||||||
 | 
					      [(clrDgSelected)]="selected">
 | 
				
			||||||
      <clr-dg-placeholder>
 | 
					      <clr-dg-placeholder>
 | 
				
			||||||
        <ng-template #loadingSpinner>
 | 
					        <ng-template #loadingSpinner>
 | 
				
			||||||
          <clr-spinner>Loading ... </clr-spinner>
 | 
					          <clr-spinner>Loading ... </clr-spinner>
 | 
				
			||||||
@ -65,7 +68,8 @@
 | 
				
			|||||||
        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
					        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<clr-dg-cell (click)="goToReplaceStringdescription (user.description)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
					        <clr-dg-cell (click)="goToReplaceStringdescription (user.description)"
 | 
				
			||||||
 | 
					          style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
				
			||||||
        </clr-dg-cell>
 | 
					        </clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -84,7 +88,8 @@
 | 
				
			|||||||
        <!-- who column -->
 | 
					        <!-- who column -->
 | 
				
			||||||
        <clr-dg-cell>
 | 
					        <clr-dg-cell>
 | 
				
			||||||
          <clr-signpost>
 | 
					          <clr-signpost>
 | 
				
			||||||
   <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success" style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
					            <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success"
 | 
				
			||||||
 | 
					                style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
				
			||||||
            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
					            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
				
			||||||
              <h5 style="margin-top: 0">Who Column</h5>
 | 
					              <h5 style="margin-top: 0">Who Column</h5>
 | 
				
			||||||
              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
					              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
				
			||||||
@ -128,11 +133,13 @@
 | 
				
			|||||||
      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
					      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
				
			||||||
        <div class="clr-row">
 | 
					        <div class="clr-row">
 | 
				
			||||||
          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
					          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
				
			||||||
  <div class="card" style="padding: 10px; "[style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
					            <div class="card" style="padding: 10px; "
 | 
				
			||||||
    <div class="card-body" style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
					              [style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
				
			||||||
 | 
					              <div class="card-body"
 | 
				
			||||||
 | 
					                style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
				
			||||||
                <ng-container *ngFor="let item of dashboardArray">
 | 
					                <ng-container *ngFor="let item of dashboardArray">
 | 
				
			||||||
        <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1" [style.gridColumnEnd]="item.x + item.cols + 1"
 | 
					                  <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1"
 | 
				
			||||||
          [style.gridRowEnd]="item.y + item.rows + 1">
 | 
					                    [style.gridColumnEnd]="item.x + item.cols + 1" [style.gridRowEnd]="item.y + item.rows + 1">
 | 
				
			||||||
                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
					                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
				
			||||||
                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
					                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
				
			||||||
                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
					                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
				
			||||||
@ -142,7 +149,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"     	 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] }}
 | 
					                      {{ app[transform(item.fieldtext) ] }}
 | 
				
			||||||
@ -158,7 +166,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] | date}}
 | 
					                      {{ app[transform(item.fieldtext) ] | date}}
 | 
				
			||||||
@ -173,7 +182,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ]}}
 | 
					                      {{ app[transform(item.fieldtext) ]}}
 | 
				
			||||||
@ -203,8 +213,7 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'">
 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
					                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -219,7 +228,8 @@
 | 
				
			|||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
          [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">			 <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
 | 
					                      <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
				
			||||||
                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
					                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
				
			||||||
                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
					                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -238,7 +248,8 @@
 | 
				
			|||||||
<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
					    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
				
			||||||
						  </div></clr-modal>
 | 
					  </div>
 | 
				
			||||||
 | 
					</clr-modal>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -250,7 +261,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_administration <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Administration <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -275,20 +286,23 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Description</label>
 | 
					          <label> Description</label>
 | 
				
			||||||
	              <textarea cols="10" rows="2"[(ngModel)]="rowSelected.description" name="description " placeholder="Textarea">  </textarea>
 | 
					          <textarea cols="10" rows="2" [(ngModel)]="rowSelected.description" name="description "
 | 
				
			||||||
 | 
					            placeholder="Textarea">  </textarea>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
<input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" /> </div>
 | 
					          <input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Emails</label>
 | 
					          <label> Emails</label>
 | 
				
			||||||
								  <input id="name" class="clr-input" type="email" 
 | 
					          <input id="name" class="clr-input" type="email" [(ngModel)]="rowSelected.emails " name="emails"
 | 
				
			||||||
						 [(ngModel)]="rowSelected.emails " name="emails" pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$">
 | 
					            pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$">
 | 
				
			||||||
          <div *ngIf="rowSelected.emails && !isValidemails(rowSelected.emails )" class="error_mess">
 | 
					          <div *ngIf="rowSelected.emails && !isValidemails(rowSelected.emails )" class="error_mess">
 | 
				
			||||||
            * Email must be a valid email address.
 | 
					            * Email must be a valid email address.
 | 
				
			||||||
  </div> </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -296,7 +310,9 @@
 | 
				
			|||||||
          <label>Visa status</label>
 | 
					          <label>Visa status</label>
 | 
				
			||||||
          <select name="visa_status" [(ngModel)]="rowSelected.visa_status">
 | 
					          <select name="visa_status" [(ngModel)]="rowSelected.visa_status">
 | 
				
			||||||
            <option [value]="null">Choose visa_status</option>
 | 
					            <option [value]="null">Choose visa_status</option>
 | 
				
			||||||
<option *ngFor=" let item of selectvisa_status" [value]="item.id">{{item.name }}</option> </select> </div>
 | 
					            <option *ngFor=" let item of selectvisa_status" [value]="item.id">{{item.name }}</option>
 | 
				
			||||||
 | 
					          </select>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -306,7 +322,9 @@
 | 
				
			|||||||
          <label>Nationality</label>
 | 
					          <label>Nationality</label>
 | 
				
			||||||
          <select name="nationality" [(ngModel)]="rowSelected.nationality">
 | 
					          <select name="nationality" [(ngModel)]="rowSelected.nationality">
 | 
				
			||||||
            <option [value]="null">Choose nationality</option>
 | 
					            <option [value]="null">Choose nationality</option>
 | 
				
			||||||
<option *ngFor=" let item of selectnationality" [value]="item.id">{{item.name }}</option> </select> </div>
 | 
					            <option *ngFor=" let item of selectnationality" [value]="item.id">{{item.name }}</option>
 | 
				
			||||||
 | 
					          </select>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -332,22 +350,27 @@
 | 
				
			|||||||
          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
					          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
				
			||||||
            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
					            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
				
			||||||
              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
					              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'text'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
					              <input *ngSwitchCase="'text'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
					              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'date'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-input" />
 | 
					              <input *ngSwitchCase="'date'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
					              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <textarea *ngSwitchCase="'textarea'"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  col="10" row="2"></textarea>
 | 
					              <textarea *ngSwitchCase="'textarea'" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"
 | 
				
			||||||
 | 
					                col="10" row="2"></textarea>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
					              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
				
			||||||
          <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-checkbox" />
 | 
					              <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-checkbox" />
 | 
				
			||||||
            </ng-container>
 | 
					            </ng-container>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- form code end -->  <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -366,7 +389,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_Administration 
 | 
					  <h3 class="modal-title">Add Visa Administration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -381,13 +404,15 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- aeroplane icon -->
 | 
					    <!-- aeroplane icon -->
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip" aria-haspopup="true"
 | 
					    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip"
 | 
				
			||||||
      class="tooltip tooltip-sm tooltip-bottom-left">
 | 
					      aria-haspopup="true" class="tooltip tooltip-sm tooltip-bottom-left">
 | 
				
			||||||
      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Visa_administration_formCode' }">
 | 
					      <a id="build_extension" [routerLink]="['../extension/all']"
 | 
				
			||||||
 | 
					        [queryParams]="{ formCode: 'Visa_administration_formCode' }">
 | 
				
			||||||
        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
					        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <span class="tooltip-content">Form Extension</span>
 | 
					      <span class="tooltip-content">Form Extension</span>
 | 
				
			||||||
    </a> </h3>
 | 
					    </a>
 | 
				
			||||||
 | 
					  </h3>
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <form [formGroup]="entryForm">
 | 
					    <form [formGroup]="entryForm">
 | 
				
			||||||
      <div class="clr-row" style="height: fit-content;">
 | 
					      <div class="clr-row" style="height: fit-content;">
 | 
				
			||||||
@ -404,14 +429,18 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
  <input type="checkbox" formControlName="active" clrToggle/>            </div>
 | 
					          <input type="checkbox" formControlName="active" clrToggle />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Emails</label>
 | 
					          <label> Emails</label>
 | 
				
			||||||
<input class="clr-input" type="email" formControlName="emails" pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$">
 | 
					          <input class="clr-input" type="email" formControlName="emails"
 | 
				
			||||||
 | 
					            pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$">
 | 
				
			||||||
          <div *ngIf="entryForm.controls['emails'].errors" class="error_mess">
 | 
					          <div *ngIf="entryForm.controls['emails'].errors" class="error_mess">
 | 
				
			||||||
						          <div *ngIf="entryForm.controls['emails'].hasError('pattern')" class="error_mess">* Email must be a valid email address
 | 
					            <div *ngIf="entryForm.controls['emails'].hasError('pattern')" class="error_mess">* Email must be a valid
 | 
				
			||||||
						            </div>  </div>
 | 
					              email address
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -421,7 +450,8 @@
 | 
				
			|||||||
          <select formControlName="visa_status">
 | 
					          <select formControlName="visa_status">
 | 
				
			||||||
            <option [value]="null">Choose Visa status</option>
 | 
					            <option [value]="null">Choose Visa status</option>
 | 
				
			||||||
            <option *ngFor="let item of selectvisa_status" [value]="item.id">{{item.name}}</option>
 | 
					            <option *ngFor="let item of selectvisa_status" [value]="item.id">{{item.name}}</option>
 | 
				
			||||||
	      </select>          </div>
 | 
					          </select>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -432,7 +462,8 @@
 | 
				
			|||||||
          <select formControlName="nationality">
 | 
					          <select formControlName="nationality">
 | 
				
			||||||
            <option [value]="null">Choose Nationality</option>
 | 
					            <option [value]="null">Choose Nationality</option>
 | 
				
			||||||
            <option *ngFor="let item of selectnationality" [value]="item.id">{{item.name}}</option>
 | 
					            <option *ngFor="let item of selectnationality" [value]="item.id">{{item.name}}</option>
 | 
				
			||||||
	      </select>          </div>
 | 
					          </select>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -475,7 +506,8 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <!-- form code end --> <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_Application</a></li>
 | 
					  <li><a href="javascript://"> Visa Application</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_Application </h3>
 | 
					      <h3>Visa Application </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
					 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
				
			||||||
@ -387,7 +387,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_application <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Application <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -681,7 +681,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_Application 
 | 
					  <h3 class="modal-title">Add Visa Application 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -109,49 +109,6 @@ agent : [null],
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    }); // component_button200
 | 
					    }); // component_button200
 | 
				
			||||||
    // form code start
 | 
					    // form code start
 | 
				
			||||||
    this.extensionService.getJsonObjectsByFormCodeList(this.formcode).subscribe(data => {
 | 
					    this.extensionService.getJsonObjectsByFormCodeList(this.formcode).subscribe(data => {
 | 
				
			||||||
@ -176,40 +133,14 @@ agent : [null],
 | 
				
			|||||||
    // form code end 
 | 
					    // form code end 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    this.getallvisa_entry_type();
 | 
					    this.getallvisa_entry_type();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.getallvisa_duration();
 | 
					    this.getallvisa_duration();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.getallvisa_processing();
 | 
					    this.getallvisa_processing();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    this.getallgender();
 | 
					    this.getallgender();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    this.getallreferrer();
 | 
					    this.getallreferrer();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.getallnationality();
 | 
					    this.getallnationality();
 | 
				
			||||||
@ -332,8 +263,7 @@ this.getallagent();
 | 
				
			|||||||
    this.rowSelected = row;
 | 
					    this.rowSelected = row;
 | 
				
			||||||
    this.modaldelete = true;
 | 
					    this.modaldelete = true;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  delete(id)
 | 
					  delete(id) {
 | 
				
			||||||
  {
 | 
					 | 
				
			||||||
    this.modaldelete = false;
 | 
					    this.modaldelete = false;
 | 
				
			||||||
    console.log("in delete  " + id);
 | 
					    console.log("in delete  " + id);
 | 
				
			||||||
    this.mainService.delete(id).subscribe(
 | 
					    this.mainService.delete(id).subscribe(
 | 
				
			||||||
@ -637,7 +567,8 @@ onSubmit() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  rsModaldescription = false;
 | 
					  rsModaldescription = false;
 | 
				
			||||||
  goToReplaceStringdescription(row) {
 | 
					  goToReplaceStringdescription(row) {
 | 
				
			||||||
this.rowSelected = row;     this.rsModaldescription  =true;   }
 | 
					    this.rowSelected = row; this.rsModaldescription = true;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -646,35 +577,29 @@ getallvisa_entry_type() {
 | 
				
			|||||||
    this.mainService.getAllvisa_entry_type().subscribe(data => {
 | 
					    this.mainService.getAllvisa_entry_type().subscribe(data => {
 | 
				
			||||||
      this.selectvisa_entry_type = data;
 | 
					      this.selectvisa_entry_type = data;
 | 
				
			||||||
      console.log(data);
 | 
					      console.log(data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  selectvisa_duration;
 | 
					  selectvisa_duration;
 | 
				
			||||||
  getallvisa_duration() {
 | 
					  getallvisa_duration() {
 | 
				
			||||||
    this.mainService.getAllvisa_duration().subscribe(data => {
 | 
					    this.mainService.getAllvisa_duration().subscribe(data => {
 | 
				
			||||||
      this.selectvisa_duration = data;
 | 
					      this.selectvisa_duration = data;
 | 
				
			||||||
      console.log(data);
 | 
					      console.log(data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  selectvisa_processing;
 | 
					  selectvisa_processing;
 | 
				
			||||||
  getallvisa_processing() {
 | 
					  getallvisa_processing() {
 | 
				
			||||||
    this.mainService.getAllvisa_processing().subscribe(data => {
 | 
					    this.mainService.getAllvisa_processing().subscribe(data => {
 | 
				
			||||||
      this.selectvisa_processing = data;
 | 
					      this.selectvisa_processing = data;
 | 
				
			||||||
console.log(data);
 | 
					      console.log('visa processing ', data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  isValidemail(email: string): boolean {
 | 
					  isValidemail(email: string): boolean {
 | 
				
			||||||
    const emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
 | 
					    const emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
 | 
				
			||||||
						    return emailPattern.test(email);   }
 | 
					    return emailPattern.test(email);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  isValidPhone_number(phone: string): boolean {
 | 
					  isValidPhone_number(phone: string): boolean {
 | 
				
			||||||
    const phonePattern = /^(\+[1-9][0-9]{0,2})?[1-9][0-9]{9}$/;
 | 
					    const phonePattern = /^(\+[1-9][0-9]{0,2})?[1-9][0-9]{9}$/;
 | 
				
			||||||
@ -690,7 +615,8 @@ getallgender() {
 | 
				
			|||||||
    this.mainService.getAllgender().subscribe(data => {
 | 
					    this.mainService.getAllgender().subscribe(data => {
 | 
				
			||||||
      this.selectgender = data;
 | 
					      this.selectgender = data;
 | 
				
			||||||
      console.log(data);
 | 
					      console.log(data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -699,7 +625,8 @@ console.log(data);
 | 
				
			|||||||
    // Format the currency with two decimal places    
 | 
					    // Format the currency with two decimal places    
 | 
				
			||||||
    this.rowSelected.visa_cost = Number(this.rowSelected.visa_cost).toFixed(2);
 | 
					    this.rowSelected.visa_cost = Number(this.rowSelected.visa_cost).toFixed(2);
 | 
				
			||||||
    // Remove commas from the formatted currency   
 | 
					    // Remove commas from the formatted currency   
 | 
				
			||||||
	 this.rowSelected.visa_cost = this.rowSelected.visa_cost?.replace(/,/g, '');  }
 | 
					    this.rowSelected.visa_cost = this.rowSelected.visa_cost?.replace(/,/g, '');
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
  //currency  field end
 | 
					  //currency  field end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  selectreferrer;
 | 
					  selectreferrer;
 | 
				
			||||||
@ -707,28 +634,32 @@ getallreferrer() {
 | 
				
			|||||||
    this.mainService.getAllreferrer().subscribe(data => {
 | 
					    this.mainService.getAllreferrer().subscribe(data => {
 | 
				
			||||||
      this.selectreferrer = data;
 | 
					      this.selectreferrer = data;
 | 
				
			||||||
      console.log(data);
 | 
					      console.log(data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  selectnationality;
 | 
					  selectnationality;
 | 
				
			||||||
  getallnationality() {
 | 
					  getallnationality() {
 | 
				
			||||||
    this.mainService.getAllnationality().subscribe(data => {
 | 
					    this.mainService.getAllnationality().subscribe(data => {
 | 
				
			||||||
      this.selectnationality = data;
 | 
					      this.selectnationality = data;
 | 
				
			||||||
      console.log(data);
 | 
					      console.log(data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  selectsupplier;
 | 
					  selectsupplier;
 | 
				
			||||||
  getallsupplier() {
 | 
					  getallsupplier() {
 | 
				
			||||||
    this.mainService.getAllsupplier().subscribe(data => {
 | 
					    this.mainService.getAllsupplier().subscribe(data => {
 | 
				
			||||||
      this.selectsupplier = data;
 | 
					      this.selectsupplier = data;
 | 
				
			||||||
      console.log(data);
 | 
					      console.log(data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  selectagent;
 | 
					  selectagent;
 | 
				
			||||||
  getallagent() {
 | 
					  getallagent() {
 | 
				
			||||||
    this.mainService.getAllagent().subscribe(data => {
 | 
					    this.mainService.getAllagent().subscribe(data => {
 | 
				
			||||||
      this.selectagent = data;
 | 
					      this.selectagent = data;
 | 
				
			||||||
      console.log(data);
 | 
					      console.log(data);
 | 
				
			||||||
},(error) => {       console.log(error);     });   }							   
 | 
					    }, (error) => { console.log(error); });
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // updateaction
 | 
					  // updateaction
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -42,7 +42,7 @@ getAllvisa_duration(): Observable<any> {
 | 
				
			|||||||
return this.apiRequest.get("Visa_duration_ListFilter1/Visa_duration_ListFilter1");  }
 | 
					return this.apiRequest.get("Visa_duration_ListFilter1/Visa_duration_ListFilter1");  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
getAllvisa_processing(): Observable<any> {   
 | 
					getAllvisa_processing(): Observable<any> {   
 | 
				
			||||||
return this.apiRequest.get("Visa_Processing_ListFilter1/Visa_Processing_ListFilter1");  }
 | 
					return this.apiRequest.get("Visa_processing_ListFilter1/Visa_processing_ListFilter1");  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,14 +1,15 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_Bundle</a></li>
 | 
					  <li><a href="javascript://"> Visa Bundle</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_Bundle </h3>
 | 
					      <h3>Visa Bundle </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
					      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
				
			||||||
        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon>    <clr-icon *ngIf="isCardview" shape="bars"></clr-icon>
 | 
					        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon> <clr-icon *ngIf="isCardview"
 | 
				
			||||||
 | 
					          shape="bars"></clr-icon>
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
      <!-- upload and download template -->
 | 
					      <!-- upload and download template -->
 | 
				
			||||||
      <button class="btn btn-outline" (click)="goToDataM()">
 | 
					      <button class="btn btn-outline" (click)="goToDataM()">
 | 
				
			||||||
@ -21,8 +22,10 @@
 | 
				
			|||||||
      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
					      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
				
			||||||
        <clr-icon shape="plus"></clr-icon>ADD
 | 
					        <clr-icon shape="plus"></clr-icon>ADD
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
    </div></div>
 | 
					    </div>
 | 
				
			||||||
  <ng-container *ngIf="!isCardview">   <!-- GET ALL -->     <clr-datagrid [clrDgLoading]="loading" [(clrDgSelected)]="selected">
 | 
					  </div>
 | 
				
			||||||
 | 
					  <ng-container *ngIf="!isCardview"> <!-- GET ALL --> <clr-datagrid [clrDgLoading]="loading"
 | 
				
			||||||
 | 
					      [(clrDgSelected)]="selected">
 | 
				
			||||||
      <clr-dg-placeholder>
 | 
					      <clr-dg-placeholder>
 | 
				
			||||||
        <ng-template #loadingSpinner>
 | 
					        <ng-template #loadingSpinner>
 | 
				
			||||||
          <clr-spinner>Loading ... </clr-spinner>
 | 
					          <clr-spinner>Loading ... </clr-spinner>
 | 
				
			||||||
@ -55,7 +58,8 @@
 | 
				
			|||||||
        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
					        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<clr-dg-cell (click)="goToReplaceStringdescription (user.description)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
					        <clr-dg-cell (click)="goToReplaceStringdescription (user.description)"
 | 
				
			||||||
 | 
					          style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
				
			||||||
        </clr-dg-cell>
 | 
					        </clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -67,7 +71,8 @@
 | 
				
			|||||||
        <!-- who column -->
 | 
					        <!-- who column -->
 | 
				
			||||||
        <clr-dg-cell>
 | 
					        <clr-dg-cell>
 | 
				
			||||||
          <clr-signpost>
 | 
					          <clr-signpost>
 | 
				
			||||||
   <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success" style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
					            <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success"
 | 
				
			||||||
 | 
					                style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
				
			||||||
            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
					            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
				
			||||||
              <h5 style="margin-top: 0">Who Column</h5>
 | 
					              <h5 style="margin-top: 0">Who Column</h5>
 | 
				
			||||||
              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
					              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
				
			||||||
@ -111,11 +116,13 @@
 | 
				
			|||||||
      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
					      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
				
			||||||
        <div class="clr-row">
 | 
					        <div class="clr-row">
 | 
				
			||||||
          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
					          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
				
			||||||
  <div class="card" style="padding: 10px; "[style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
					            <div class="card" style="padding: 10px; "
 | 
				
			||||||
    <div class="card-body" style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
					              [style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
				
			||||||
 | 
					              <div class="card-body"
 | 
				
			||||||
 | 
					                style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
				
			||||||
                <ng-container *ngFor="let item of dashboardArray">
 | 
					                <ng-container *ngFor="let item of dashboardArray">
 | 
				
			||||||
        <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1" [style.gridColumnEnd]="item.x + item.cols + 1"
 | 
					                  <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1"
 | 
				
			||||||
          [style.gridRowEnd]="item.y + item.rows + 1">
 | 
					                    [style.gridColumnEnd]="item.x + item.cols + 1" [style.gridRowEnd]="item.y + item.rows + 1">
 | 
				
			||||||
                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
					                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
				
			||||||
                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
					                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
				
			||||||
                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
					                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
				
			||||||
@ -125,7 +132,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"     	 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] }}
 | 
					                      {{ app[transform(item.fieldtext) ] }}
 | 
				
			||||||
@ -141,7 +149,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] | date}}
 | 
					                      {{ app[transform(item.fieldtext) ] | date}}
 | 
				
			||||||
@ -156,7 +165,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ]}}
 | 
					                      {{ app[transform(item.fieldtext) ]}}
 | 
				
			||||||
@ -186,8 +196,7 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'">
 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
					                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -202,7 +211,8 @@
 | 
				
			|||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
          [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">			 <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
 | 
					                      <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
				
			||||||
                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
					                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
				
			||||||
                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
					                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -221,7 +231,8 @@
 | 
				
			|||||||
<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
					    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
				
			||||||
						  </div></clr-modal>
 | 
					  </div>
 | 
				
			||||||
 | 
					</clr-modal>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -229,7 +240,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_bundle <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Bundle <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -250,12 +261,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Description</label>
 | 
					          <label> Description</label>
 | 
				
			||||||
	              <textarea cols="10" rows="2"[(ngModel)]="rowSelected.description" name="description " placeholder="Textarea">  </textarea>
 | 
					          <textarea cols="10" rows="2" [(ngModel)]="rowSelected.description" name="description "
 | 
				
			||||||
 | 
					            placeholder="Textarea">  </textarea>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
<input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" /> </div>
 | 
					          <input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -266,7 +279,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h6> List of visa_bundle</h6>
 | 
					      <h6> List of Visa Bundle</h6>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="clr-row" style="margin-top: 10px;">
 | 
					      <div class="clr-row" style="margin-top: 10px;">
 | 
				
			||||||
        <table class="table">
 | 
					        <table class="table">
 | 
				
			||||||
@ -282,13 +295,16 @@
 | 
				
			|||||||
          <tbody>
 | 
					          <tbody>
 | 
				
			||||||
            <tr *ngFor="let attach of FileDatavisa_bundle; let i=index">
 | 
					            <tr *ngFor="let attach of FileDatavisa_bundle; let i=index">
 | 
				
			||||||
              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
					              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
				
			||||||
              <td><input type="file" (change)="onFileChangedvisa_bundle($event, i)"  accept = "application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"/>
 | 
					              <td><input type="file" (change)="onFileChangedvisa_bundle($event, i)"
 | 
				
			||||||
 | 
					                  accept="application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" />
 | 
				
			||||||
              </td>
 | 
					              </td>
 | 
				
			||||||
              <td>{{attach.uploadedfile_name}}</td>
 | 
					              <td>{{attach.uploadedfile_name}}</td>
 | 
				
			||||||
              <td >  <img [src]="attach.filePreview" alt="File Preview"  [ngModelOptions]="{standalone: true}" name="filePreview" width="100px" height="100px"></td>
 | 
					              <td> <img [src]="attach.filePreview" alt="File Preview" [ngModelOptions]="{standalone: true}"
 | 
				
			||||||
 | 
					                  name="filePreview" width="100px" height="100px"></td>
 | 
				
			||||||
              <td>
 | 
					              <td>
 | 
				
			||||||
                <clr-signpost style="padding-right: 10px;">
 | 
					                <clr-signpost style="padding-right: 10px;">
 | 
				
			||||||
                      <clr-icon shape="trash" class="is-error" aria-label="Icon Button Trigger" clrSignpostTrigger></clr-icon>
 | 
					                  <clr-icon shape="trash" class="is-error" aria-label="Icon Button Trigger"
 | 
				
			||||||
 | 
					                    clrSignpostTrigger></clr-icon>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                  <clr-signpost-content [clrPosition]="'bottom-middle'" *clrIfOpen>
 | 
					                  <clr-signpost-content [clrPosition]="'bottom-middle'" *clrIfOpen>
 | 
				
			||||||
                    <div style="text-align: center;"><b>Are you sure?</b></div>
 | 
					                    <div style="text-align: center;"><b>Are you sure?</b></div>
 | 
				
			||||||
@ -302,11 +318,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          </tbody>
 | 
					          </tbody>
 | 
				
			||||||
          <button type="button" class="btn btn-primary button1" style="margin-left: 20px;" (click)="onAddLinesvisa_bundle()">
 | 
					          <button type="button" class="btn btn-primary button1" style="margin-left: 20px;"
 | 
				
			||||||
 | 
					            (click)="onAddLinesvisa_bundle()">
 | 
				
			||||||
            <clr-icon shape="plus"></clr-icon>
 | 
					            <clr-icon shape="plus"></clr-icon>
 | 
				
			||||||
          </button>
 | 
					          </button>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        </table> </div>
 | 
					        </table>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <!-- form code start -->
 | 
					      <!-- form code start -->
 | 
				
			||||||
      <div *ngIf="checkFormCode">
 | 
					      <div *ngIf="checkFormCode">
 | 
				
			||||||
@ -317,22 +335,27 @@
 | 
				
			|||||||
          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
					          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
				
			||||||
            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
					            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
				
			||||||
              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
					              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'text'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
					              <input *ngSwitchCase="'text'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
					              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'date'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-input" />
 | 
					              <input *ngSwitchCase="'date'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
					              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <textarea *ngSwitchCase="'textarea'"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  col="10" row="2"></textarea>
 | 
					              <textarea *ngSwitchCase="'textarea'" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"
 | 
				
			||||||
 | 
					                col="10" row="2"></textarea>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
					              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
				
			||||||
          <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-checkbox" />
 | 
					              <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-checkbox" />
 | 
				
			||||||
            </ng-container>
 | 
					            </ng-container>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- form code end -->  <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -351,7 +374,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_Bundle 
 | 
					  <h3 class="modal-title">Add Visa Bundle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -362,13 +385,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- aeroplane icon -->
 | 
					    <!-- aeroplane icon -->
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip" aria-haspopup="true"
 | 
					    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip"
 | 
				
			||||||
      class="tooltip tooltip-sm tooltip-bottom-left">
 | 
					      aria-haspopup="true" class="tooltip tooltip-sm tooltip-bottom-left">
 | 
				
			||||||
      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Visa_bundle_formCode' }">
 | 
					      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Visa_bundle_formCode' }">
 | 
				
			||||||
        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
					        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <span class="tooltip-content">Form Extension</span>
 | 
					      <span class="tooltip-content">Form Extension</span>
 | 
				
			||||||
    </a> </h3>
 | 
					    </a>
 | 
				
			||||||
 | 
					  </h3>
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <form [formGroup]="entryForm">
 | 
					    <form [formGroup]="entryForm">
 | 
				
			||||||
      <div class="clr-row" style="height: fit-content;">
 | 
					      <div class="clr-row" style="height: fit-content;">
 | 
				
			||||||
@ -385,7 +409,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
  <input type="checkbox" formControlName="active" clrToggle/>            </div>
 | 
					          <input type="checkbox" formControlName="active" clrToggle />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -397,7 +422,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h6> List of visa_bundle</h6>
 | 
					      <h6> List of Visa Bundle</h6>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="clr-row" style="margin-top: 10px;">
 | 
					      <div class="clr-row" style="margin-top: 10px;">
 | 
				
			||||||
        <table class="table">
 | 
					        <table class="table">
 | 
				
			||||||
@ -413,10 +438,12 @@
 | 
				
			|||||||
          <tbody>
 | 
					          <tbody>
 | 
				
			||||||
            <tr *ngFor="let attach of FileDatavisa_bundle; let i=index">
 | 
					            <tr *ngFor="let attach of FileDatavisa_bundle; let i=index">
 | 
				
			||||||
              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
					              <td style="width: 70px;"><input type="text" class="clr-input" value={{i+1}} [readonly]="true"> </td>
 | 
				
			||||||
             <td><input type="file" (change)="onFileChangedvisa_bundle($event, i)"  accept = "application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" /><!--accept=".pdf,.doc,.docx,.jpg,.msg"-->
 | 
					              <td><input type="file" (change)="onFileChangedvisa_bundle($event, i)"
 | 
				
			||||||
 | 
					                  accept="application/pdf,.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" /><!--accept=".pdf,.doc,.docx,.jpg,.msg"-->
 | 
				
			||||||
              </td>
 | 
					              </td>
 | 
				
			||||||
              <td>{{attach.uploadedfile_name}}</td>
 | 
					              <td>{{attach.uploadedfile_name}}</td>
 | 
				
			||||||
             <td >  <img [src]="attach.filePreview" alt="File Preview"  [ngModelOptions]="{standalone: true}" name="filePreview" width="100px" height="100px"></td>
 | 
					              <td> <img [src]="attach.filePreview" alt="File Preview" [ngModelOptions]="{standalone: true}"
 | 
				
			||||||
 | 
					                  name="filePreview" width="100px" height="100px"></td>
 | 
				
			||||||
              <td>
 | 
					              <td>
 | 
				
			||||||
                <a (click)="deleteRowvisa_bundle(i)">
 | 
					                <a (click)="deleteRowvisa_bundle(i)">
 | 
				
			||||||
                  <clr-icon shape="trash" class="is-error"></clr-icon>
 | 
					                  <clr-icon shape="trash" class="is-error"></clr-icon>
 | 
				
			||||||
@ -426,11 +453,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          </tbody>
 | 
					          </tbody>
 | 
				
			||||||
         <button type="button" class="btn btn-primary button1" style="margin-left: 20px;" (click)="onAddLinesvisa_bundle()">
 | 
					          <button type="button" class="btn btn-primary button1" style="margin-left: 20px;"
 | 
				
			||||||
 | 
					            (click)="onAddLinesvisa_bundle()">
 | 
				
			||||||
            <clr-icon shape="plus"></clr-icon>
 | 
					            <clr-icon shape="plus"></clr-icon>
 | 
				
			||||||
          </button>
 | 
					          </button>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       </table> </div>
 | 
					        </table>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -457,7 +486,8 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <!-- form code end --> <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,14 +1,15 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_duration</a></li>
 | 
					  <li><a href="javascript://"> Visa Duration</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_duration </h3>
 | 
					      <h3>Visa Duration </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
					      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
				
			||||||
        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon>    <clr-icon *ngIf="isCardview" shape="bars"></clr-icon>
 | 
					        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon> <clr-icon *ngIf="isCardview"
 | 
				
			||||||
 | 
					          shape="bars"></clr-icon>
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
      <!-- upload and download template -->
 | 
					      <!-- upload and download template -->
 | 
				
			||||||
      <button class="btn btn-outline" (click)="goToDataM()">
 | 
					      <button class="btn btn-outline" (click)="goToDataM()">
 | 
				
			||||||
@ -21,8 +22,10 @@
 | 
				
			|||||||
      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
					      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
				
			||||||
        <clr-icon shape="plus"></clr-icon>ADD
 | 
					        <clr-icon shape="plus"></clr-icon>ADD
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
    </div></div>
 | 
					    </div>
 | 
				
			||||||
  <ng-container *ngIf="!isCardview">   <!-- GET ALL -->     <clr-datagrid [clrDgLoading]="loading" [(clrDgSelected)]="selected">
 | 
					  </div>
 | 
				
			||||||
 | 
					  <ng-container *ngIf="!isCardview"> <!-- GET ALL --> <clr-datagrid [clrDgLoading]="loading"
 | 
				
			||||||
 | 
					      [(clrDgSelected)]="selected">
 | 
				
			||||||
      <clr-dg-placeholder>
 | 
					      <clr-dg-placeholder>
 | 
				
			||||||
        <ng-template #loadingSpinner>
 | 
					        <ng-template #loadingSpinner>
 | 
				
			||||||
          <clr-spinner>Loading ... </clr-spinner>
 | 
					          <clr-spinner>Loading ... </clr-spinner>
 | 
				
			||||||
@ -53,7 +56,8 @@
 | 
				
			|||||||
        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
					        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<clr-dg-cell (click)="goToReplaceStringdescription (user.description)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
					        <clr-dg-cell (click)="goToReplaceStringdescription (user.description)"
 | 
				
			||||||
 | 
					          style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
				
			||||||
        </clr-dg-cell>
 | 
					        </clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -63,7 +67,8 @@
 | 
				
			|||||||
        <!-- who column -->
 | 
					        <!-- who column -->
 | 
				
			||||||
        <clr-dg-cell>
 | 
					        <clr-dg-cell>
 | 
				
			||||||
          <clr-signpost>
 | 
					          <clr-signpost>
 | 
				
			||||||
   <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success" style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
					            <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success"
 | 
				
			||||||
 | 
					                style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
				
			||||||
            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
					            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
				
			||||||
              <h5 style="margin-top: 0">Who Column</h5>
 | 
					              <h5 style="margin-top: 0">Who Column</h5>
 | 
				
			||||||
              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
					              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
				
			||||||
@ -107,11 +112,13 @@
 | 
				
			|||||||
      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
					      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
				
			||||||
        <div class="clr-row">
 | 
					        <div class="clr-row">
 | 
				
			||||||
          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
					          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
				
			||||||
  <div class="card" style="padding: 10px; "[style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
					            <div class="card" style="padding: 10px; "
 | 
				
			||||||
    <div class="card-body" style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
					              [style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
				
			||||||
 | 
					              <div class="card-body"
 | 
				
			||||||
 | 
					                style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
				
			||||||
                <ng-container *ngFor="let item of dashboardArray">
 | 
					                <ng-container *ngFor="let item of dashboardArray">
 | 
				
			||||||
        <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1" [style.gridColumnEnd]="item.x + item.cols + 1"
 | 
					                  <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1"
 | 
				
			||||||
          [style.gridRowEnd]="item.y + item.rows + 1">
 | 
					                    [style.gridColumnEnd]="item.x + item.cols + 1" [style.gridRowEnd]="item.y + item.rows + 1">
 | 
				
			||||||
                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
					                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
				
			||||||
                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
					                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
				
			||||||
                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
					                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
				
			||||||
@ -121,7 +128,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"     	 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] }}
 | 
					                      {{ app[transform(item.fieldtext) ] }}
 | 
				
			||||||
@ -137,7 +145,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] | date}}
 | 
					                      {{ app[transform(item.fieldtext) ] | date}}
 | 
				
			||||||
@ -152,7 +161,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ]}}
 | 
					                      {{ app[transform(item.fieldtext) ]}}
 | 
				
			||||||
@ -182,8 +192,7 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'">
 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
					                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -198,7 +207,8 @@
 | 
				
			|||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
          [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">			 <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
 | 
					                      <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
				
			||||||
                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
					                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
				
			||||||
                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
					                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -217,13 +227,14 @@
 | 
				
			|||||||
<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
					    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
				
			||||||
						  </div></clr-modal>
 | 
					  </div>
 | 
				
			||||||
 | 
					</clr-modal>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_duration <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Duration <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -242,12 +253,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Description</label>
 | 
					          <label> Description</label>
 | 
				
			||||||
	              <textarea cols="10" rows="2"[(ngModel)]="rowSelected.description" name="description " placeholder="Textarea">  </textarea>
 | 
					          <textarea cols="10" rows="2" [(ngModel)]="rowSelected.description" name="description "
 | 
				
			||||||
 | 
					            placeholder="Textarea">  </textarea>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
<input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" /> </div>
 | 
					          <input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -265,22 +278,27 @@
 | 
				
			|||||||
          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
					          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
				
			||||||
            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
					            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
				
			||||||
              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
					              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'text'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
					              <input *ngSwitchCase="'text'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
					              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'date'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-input" />
 | 
					              <input *ngSwitchCase="'date'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
					              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <textarea *ngSwitchCase="'textarea'"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  col="10" row="2"></textarea>
 | 
					              <textarea *ngSwitchCase="'textarea'" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"
 | 
				
			||||||
 | 
					                col="10" row="2"></textarea>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
					              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
				
			||||||
          <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-checkbox" />
 | 
					              <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-checkbox" />
 | 
				
			||||||
            </ng-container>
 | 
					            </ng-container>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- form code end -->  <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -299,7 +317,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_duration 
 | 
					  <h3 class="modal-title">Add Visa Duration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -308,13 +326,15 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- aeroplane icon -->
 | 
					    <!-- aeroplane icon -->
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip" aria-haspopup="true"
 | 
					    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip"
 | 
				
			||||||
      class="tooltip tooltip-sm tooltip-bottom-left">
 | 
					      aria-haspopup="true" class="tooltip tooltip-sm tooltip-bottom-left">
 | 
				
			||||||
      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Visa_duration_formCode' }">
 | 
					      <a id="build_extension" [routerLink]="['../extension/all']"
 | 
				
			||||||
 | 
					        [queryParams]="{ formCode: 'Visa_duration_formCode' }">
 | 
				
			||||||
        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
					        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <span class="tooltip-content">Form Extension</span>
 | 
					      <span class="tooltip-content">Form Extension</span>
 | 
				
			||||||
    </a> </h3>
 | 
					    </a>
 | 
				
			||||||
 | 
					  </h3>
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <form [formGroup]="entryForm">
 | 
					    <form [formGroup]="entryForm">
 | 
				
			||||||
      <div class="clr-row" style="height: fit-content;">
 | 
					      <div class="clr-row" style="height: fit-content;">
 | 
				
			||||||
@ -331,7 +351,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
  <input type="checkbox" formControlName="active" clrToggle/>            </div>
 | 
					          <input type="checkbox" formControlName="active" clrToggle />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -366,7 +387,8 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <!-- form code end --> <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_entry</a></li>
 | 
					  <li><a href="javascript://"> Visa Entry</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_entry </h3>
 | 
					      <h3>Visa Entry </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
					 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
				
			||||||
@ -223,7 +223,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_entry <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Entry <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -299,7 +299,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_entry 
 | 
					  <h3 class="modal-title">Add Visa Entry 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_Prices</a></li>
 | 
					  <li><a href="javascript://"> Visa Prices</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_Prices </h3>
 | 
					      <h3>Visa Prices </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
					 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
				
			||||||
@ -268,7 +268,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_prices <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Prices <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -408,7 +408,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_Prices 
 | 
					  <h3 class="modal-title">Add Visa Prices 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_Processing</a></li>
 | 
					  <li><a href="javascript://"> Visa Processing</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_Processing </h3>
 | 
					      <h3>Visa Processing </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
					 <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()" >
 | 
				
			||||||
@ -223,7 +223,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_processing <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Processing <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -299,7 +299,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_Processing 
 | 
					  <h3 class="modal-title">Add Visa Processing 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,21 +1,24 @@
 | 
				
			|||||||
<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
					<ol class="breadcrumb breadcrumb-arrow font-trirong">
 | 
				
			||||||
  <li><a href="javascript://"> Visa_Status</a></li>
 | 
					  <li><a href="javascript://"> Visa Status</a></li>
 | 
				
			||||||
</ol>
 | 
					</ol>
 | 
				
			||||||
<div class="dg-wrapper">
 | 
					<div class="dg-wrapper">
 | 
				
			||||||
  <div class="clr-row">
 | 
					  <div class="clr-row">
 | 
				
			||||||
    <div class="clr-col-8">
 | 
					    <div class="clr-col-8">
 | 
				
			||||||
      <h3>Visa_Status </h3>
 | 
					      <h3>Visa Status </h3>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="clr-col-4" style="text-align: right;">
 | 
					    <div class="clr-col-4" style="text-align: right;">
 | 
				
			||||||
      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
					      <button *ngIf="cardButton" id="add" class="btn btn-primary btn-icon" (click)="changeView()">
 | 
				
			||||||
        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon>    <clr-icon *ngIf="isCardview" shape="bars"></clr-icon>
 | 
					        <clr-icon *ngIf="!isCardview" shape="grid-view"></clr-icon> <clr-icon *ngIf="isCardview"
 | 
				
			||||||
 | 
					          shape="bars"></clr-icon>
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
      <!-- button -->
 | 
					      <!-- button -->
 | 
				
			||||||
      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
					      <button id="add" class="btn btn-primary" (click)="goToAdd(product)">
 | 
				
			||||||
        <clr-icon shape="plus"></clr-icon>ADD
 | 
					        <clr-icon shape="plus"></clr-icon>ADD
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
    </div></div>
 | 
					    </div>
 | 
				
			||||||
  <ng-container *ngIf="!isCardview">   <!-- GET ALL -->     <clr-datagrid [clrDgLoading]="loading" [(clrDgSelected)]="selected">
 | 
					  </div>
 | 
				
			||||||
 | 
					  <ng-container *ngIf="!isCardview"> <!-- GET ALL --> <clr-datagrid [clrDgLoading]="loading"
 | 
				
			||||||
 | 
					      [(clrDgSelected)]="selected">
 | 
				
			||||||
      <clr-dg-placeholder>
 | 
					      <clr-dg-placeholder>
 | 
				
			||||||
        <ng-template #loadingSpinner>
 | 
					        <ng-template #loadingSpinner>
 | 
				
			||||||
          <clr-spinner>Loading ... </clr-spinner>
 | 
					          <clr-spinner>Loading ... </clr-spinner>
 | 
				
			||||||
@ -46,7 +49,8 @@
 | 
				
			|||||||
        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
					        <clr-dg-cell>{{user. name }}</clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<clr-dg-cell (click)="goToReplaceStringdescription (user.description)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
					        <clr-dg-cell (click)="goToReplaceStringdescription (user.description)"
 | 
				
			||||||
 | 
					          style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
 | 
				
			||||||
        </clr-dg-cell>
 | 
					        </clr-dg-cell>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -56,7 +60,8 @@
 | 
				
			|||||||
        <!-- who column -->
 | 
					        <!-- who column -->
 | 
				
			||||||
        <clr-dg-cell>
 | 
					        <clr-dg-cell>
 | 
				
			||||||
          <clr-signpost>
 | 
					          <clr-signpost>
 | 
				
			||||||
   <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success" style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
					            <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success"
 | 
				
			||||||
 | 
					                style="color: rgb(0, 130, 236);"></clr-icon></span>
 | 
				
			||||||
            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
					            <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
 | 
				
			||||||
              <h5 style="margin-top: 0">Who Column</h5>
 | 
					              <h5 style="margin-top: 0">Who Column</h5>
 | 
				
			||||||
              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
					              <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
 | 
				
			||||||
@ -100,11 +105,13 @@
 | 
				
			|||||||
      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
					      <div *ngFor="let app of product| filter:search; let index = i" class="clr-col-auto">
 | 
				
			||||||
        <div class="clr-row">
 | 
					        <div class="clr-row">
 | 
				
			||||||
          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
					          <div class="clr-col-lg-12 clr-col-md-4 clr-col-sm-4 clr-col-12" style="width: 410px;">
 | 
				
			||||||
  <div class="card" style="padding: 10px; "[style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
					            <div class="card" style="padding: 10px; "
 | 
				
			||||||
    <div class="card-body" style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
					              [style.background-color]="cardmodal.cardColor !== '' ? cardmodal.cardColor : 'white'">
 | 
				
			||||||
 | 
					              <div class="card-body"
 | 
				
			||||||
 | 
					                style="display: grid; grid-template-columns: repeat(13, 1fr); grid-template-rows: repeat(7, 1fr); gap: 5px;">
 | 
				
			||||||
                <ng-container *ngFor="let item of dashboardArray">
 | 
					                <ng-container *ngFor="let item of dashboardArray">
 | 
				
			||||||
        <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1" [style.gridColumnEnd]="item.x + item.cols + 1"
 | 
					                  <div [style.gridColumn]="item.x + 1" [style.gridRow]="item.y + 1"
 | 
				
			||||||
          [style.gridRowEnd]="item.y + item.rows + 1">
 | 
					                    [style.gridColumnEnd]="item.x + item.cols + 1" [style.gridRowEnd]="item.y + item.rows + 1">
 | 
				
			||||||
                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
					                    <div *ngIf="item.name === 'textField'" class="title-card card-title"
 | 
				
			||||||
                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
					                      [style.text-align]="item.alignment !== '' ? item.alignment : 'left'"
 | 
				
			||||||
                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
					                      [style.line-height]="item.textlineheight !== '' ? item.textlineheight : '1'"
 | 
				
			||||||
@ -114,7 +121,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"     	 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] }}
 | 
					                      {{ app[transform(item.fieldtext) ] }}
 | 
				
			||||||
@ -130,7 +138,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ] | date}}
 | 
					                      {{ app[transform(item.fieldtext) ] | date}}
 | 
				
			||||||
@ -145,7 +154,8 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"			 [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
                      {{beforeText(item.fieldtext)}}
 | 
					                      {{beforeText(item.fieldtext)}}
 | 
				
			||||||
                      {{ app[transform(item.fieldtext) ]}}
 | 
					                      {{ app[transform(item.fieldtext) ]}}
 | 
				
			||||||
@ -175,8 +185,7 @@
 | 
				
			|||||||
                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
					                      [style.font-weight]="item.bold == true ? 'bold' : 'normal'" [style.text-decoration]="(item.underline && item.strikethough) ? 'underline line-through' : 
 | 
				
			||||||
          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
					          (item.underline ? 'underline' : (item.strikethough ? 'line-through' : 'none'))"
 | 
				
			||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
          [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'">
 | 
				
			||||||
          >
 | 
					 | 
				
			||||||
                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
					                      <clr-icon [attr.shape]="item.iconName"></clr-icon>
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -191,7 +200,8 @@
 | 
				
			|||||||
                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
					                      [style.background-color]="item.backgroundcolor !== '' ? item.backgroundcolor : 'white'"
 | 
				
			||||||
                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
					                      [style.color]="item.textcolor !== '' ? item.textcolor : 'black'"
 | 
				
			||||||
                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
					                      [style.background-color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditionbackgroundcolor : item.backgroundcolor"
 | 
				
			||||||
          [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">			 <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
					                      [style.color]="item.conditionValue ==  app[transform(item.fieldtext) ] ? item.conditiontextcolor : item.textcolor">
 | 
				
			||||||
 | 
					                      <img id="filePreview" [src]="item.imageURL" alt="File Preview"
 | 
				
			||||||
                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
					                        [style.width]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"
 | 
				
			||||||
                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
					                        [style.height]="item.imagewidth !== '' ? item.imagewidth + 'px' : '100px'"></div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -210,13 +220,14 @@
 | 
				
			|||||||
<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="rsModaldescription" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
					    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
 | 
				
			||||||
						  </div></clr-modal>
 | 
					  </div>
 | 
				
			||||||
 | 
					</clr-modal>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- //		EDIT DATA......... -->
 | 
					<!-- //		EDIT DATA......... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Update Visa_status <!--update button -->
 | 
					  <h3 class="modal-title">Update Visa Status <!--update button -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -235,12 +246,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Description</label>
 | 
					          <label> Description</label>
 | 
				
			||||||
	              <textarea cols="10" rows="2"[(ngModel)]="rowSelected.description" name="description " placeholder="Textarea">  </textarea>
 | 
					          <textarea cols="10" rows="2" [(ngModel)]="rowSelected.description" name="description "
 | 
				
			||||||
 | 
					            placeholder="Textarea">  </textarea>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
<input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" /> </div>
 | 
					          <input type="checkbox" name="active" clrToggle [(ngModel)]="rowSelected.active" />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -258,22 +271,27 @@
 | 
				
			|||||||
          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
					          <div class="clr-col-4" *ngFor="let field of additionalFieldsFromBackend">
 | 
				
			||||||
            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
					            <ng-container *ngIf="field.formCode === formcode" [ngSwitch]="field.fieldType">
 | 
				
			||||||
              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
					              <!-- Text Input --> <label *ngSwitchCase="'text'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'text'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
					              <input *ngSwitchCase="'text'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
					              <!-- Date Input --> <label *ngSwitchCase="'date'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <input *ngSwitchCase="'date'" [type]="field.fieldType"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-input" />
 | 
					              <input *ngSwitchCase="'date'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-input" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
					              <!-- Textarea --> <label *ngSwitchCase="'textarea'">{{ field.fieldName }}</label>
 | 
				
			||||||
          <textarea *ngSwitchCase="'textarea'"  name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  col="10" row="2"></textarea>
 | 
					              <textarea *ngSwitchCase="'textarea'" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"
 | 
				
			||||||
 | 
					                col="10" row="2"></textarea>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
					              <!-- Checkbox --> <label *ngSwitchCase="'checkbox'">{{ field.fieldName }}</label><br>
 | 
				
			||||||
          <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}" [(ngModel)]="rowSelected[field.extValue]"  class="clr-checkbox" />
 | 
					              <input *ngSwitchCase="'checkbox'" [type]="field.fieldType" name="{{ field.extValue }}"
 | 
				
			||||||
 | 
					                [(ngModel)]="rowSelected[field.extValue]" class="clr-checkbox" />
 | 
				
			||||||
            </ng-container>
 | 
					            </ng-container>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!-- form code end -->  <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalEdit = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onUpdate(rowSelected.id)">Update</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -292,7 +310,7 @@
 | 
				
			|||||||
</clr-modal>
 | 
					</clr-modal>
 | 
				
			||||||
<!-- ADD FORM ..... -->
 | 
					<!-- ADD FORM ..... -->
 | 
				
			||||||
<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
					<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
 | 
				
			||||||
  <h3 class="modal-title">Add Visa_Status 
 | 
					  <h3 class="modal-title">Add Visa Status
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -301,13 +319,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <!-- aeroplane icon -->
 | 
					    <!-- aeroplane icon -->
 | 
				
			||||||
           
 | 
					           
 | 
				
			||||||
    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip" aria-haspopup="true"
 | 
					    <a *ngIf="userrole.includes('ROLE_ADMIN')" style="float: right;" href="javascript:void(0)" role="tooltip"
 | 
				
			||||||
      class="tooltip tooltip-sm tooltip-bottom-left">
 | 
					      aria-haspopup="true" class="tooltip tooltip-sm tooltip-bottom-left">
 | 
				
			||||||
      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Visa_status_formCode' }">
 | 
					      <a id="build_extension" [routerLink]="['../extension/all']" [queryParams]="{ formCode: 'Visa_status_formCode' }">
 | 
				
			||||||
        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
					        <clr-icon shape="airplane" size="32"></clr-icon>
 | 
				
			||||||
      </a>
 | 
					      </a>
 | 
				
			||||||
      <span class="tooltip-content">Form Extension</span>
 | 
					      <span class="tooltip-content">Form Extension</span>
 | 
				
			||||||
    </a> </h3>
 | 
					    </a>
 | 
				
			||||||
 | 
					  </h3>
 | 
				
			||||||
  <div class="modal-body">
 | 
					  <div class="modal-body">
 | 
				
			||||||
    <form [formGroup]="entryForm">
 | 
					    <form [formGroup]="entryForm">
 | 
				
			||||||
      <div class="clr-row" style="height: fit-content;">
 | 
					      <div class="clr-row" style="height: fit-content;">
 | 
				
			||||||
@ -324,7 +343,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <div class="clr-col-sm-12">
 | 
					        <div class="clr-col-sm-12">
 | 
				
			||||||
          <label> Active</label>
 | 
					          <label> Active</label>
 | 
				
			||||||
  <input type="checkbox" formControlName="active" clrToggle/>            </div>
 | 
					          <input type="checkbox" formControlName="active" clrToggle />
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
@ -359,7 +379,8 @@
 | 
				
			|||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <!-- form code end --> <div class="modal-footer">
 | 
					      <!-- form code end -->
 | 
				
			||||||
 | 
					      <div class="modal-footer">
 | 
				
			||||||
        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
					        <button type="button" class="btn btn-outline" (click)="modalAdd = false">Cancel</button>
 | 
				
			||||||
        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
					        <button type="submit" class="btn btn-primary" (click)="onSubmit()">ADD</button>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -10,7 +10,8 @@ export const environment = {
 | 
				
			|||||||
  // changeblelocal configs url
 | 
					  // changeblelocal configs url
 | 
				
			||||||
  captchaSiteKey: '6LfrdSUpAAAAALkYDmnvdX3GLLCArgPWNHfXasjP',
 | 
					  captchaSiteKey: '6LfrdSUpAAAAALkYDmnvdX3GLLCArgPWNHfXasjP',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 backport:'31701/visaproject36808/back',backendUrl:'/visaproject36808/back',
 | 
					//  backport:'31701/visaproject36808/back',
 | 
				
			||||||
 | 
					 backendUrl:'http://localhost:9292/back',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user