Fairoj : Smart PD changes

This commit is contained in:
venbatechnologies@gmail.com 2020-08-27 20:01:48 +05:30
parent 3527509236
commit 2543175776
2 changed files with 10 additions and 10 deletions

View File

@ -353,13 +353,13 @@
<mat-card> <mat-card>
<mat-card-header> <mat-card-header>
<mat-card-title>Documents to be collected</mat-card-title> <mat-card-title>Document to be photographed/scanned</mat-card-title>
</mat-card-header> </mat-card-header>
<mat-card-content formArrayName="docs_to_be_collected" *ngFor="let Documentstobecollected of pdDocumentstobecollected.controls; let i = index;"> <mat-card-content formArrayName="docs_to_be_collected" *ngFor="let Documentstobecollected of pdDocumentstobecollected.controls; let i = index;">
<mat-card> <mat-card>
<mat-card-content [formGroupName]="i"> <mat-card-content [formGroupName]="i">
<mat-form-field style="width: 90%;"> <mat-form-field style="width: 90%;">
<input matInput autocomplete="off" placeholder="Documents to be collected" formControlName="doc_name"> <input matInput autocomplete="off" placeholder="Document to be photographed/scanned" formControlName="doc_name">
</mat-form-field> </mat-form-field>
<button mat-raised-button mat-icon-button matTooltip="Delete" matTooltipPosition="above" (click)="removeDocumentstobecollected(i)" type="button"><mat-icon>delete</mat-icon></button> <button mat-raised-button mat-icon-button matTooltip="Delete" matTooltipPosition="above" (click)="removeDocumentstobecollected(i)" type="button"><mat-icon>delete</mat-icon></button>
@ -369,7 +369,7 @@
</mat-card-content> </mat-card-content>
<mat-card-actions align="end"> <mat-card-actions align="end">
<button type="button" mat-raised-button mat-icon-button (click)="addDocumentstobecollected()" <button type="button" mat-raised-button mat-icon-button (click)="addDocumentstobecollected()"
matTooltip="Add More Documents to be collected" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" color="primary" type="button"> matTooltip="Add More Document to be photographed/scanned" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" color="primary" type="button">
<mat-icon>add</mat-icon> <mat-icon>add</mat-icon>
</button> </button>
</mat-card-actions> </mat-card-actions>

View File

@ -242,7 +242,7 @@
</mat-card> </mat-card>
</div> </div>
<!-- <div fxFlex="50" *ngIf="master.remarks"> <div fxFlex="50" *ngIf="master.remarks">
<mat-card style="box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15) !important;border-radius: 5px !important;border-bottom:1px solid #e00201 !important;"> <mat-card style="box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15) !important;border-radius: 5px !important;border-bottom:1px solid #e00201 !important;">
<mat-card-header> <mat-card-header>
<mat-card-title style="color:#e00201;">Remarks</mat-card-title> <mat-card-title style="color:#e00201;">Remarks</mat-card-title>
@ -252,7 +252,7 @@
<p>{{master.remarks}}</p> <p>{{master.remarks}}</p>
</mat-card-content> </mat-card-content>
</mat-card> </mat-card>
</div> --> </div>
</div> </div>
@ -323,12 +323,12 @@
<p>No Queries</p> <p>No Queries</p>
</mat-card-content> </mat-card-content>
</ng-template> </ng-template>
</mat-tab> </mat-tab>-->
<mat-tab> <mat-tab>
<ng-template mat-tab-label>Collected Documents</ng-template> <ng-template mat-tab-label>Document to be photographed/scanned</ng-template>
<mat-card-header> <mat-card-header>
<div fxFlex="70" align="left" style="padding: 10px !important;"> <div fxFlex="70" align="left" style="padding: 10px !important;">
<mat-card-title>Documents to be collected</mat-card-title> <mat-card-title>Document to be photographed/scanned</mat-card-title>
</div> </div>
<div fxFlex="30" align="end" style="padding: 10px !important;" *ngIf="roleAccessDetails.trigger && currentPDStatus==pdStatusCheck.DRAFT"> <div fxFlex="30" align="end" style="padding: 10px !important;" *ngIf="roleAccessDetails.trigger && currentPDStatus==pdStatusCheck.DRAFT">
<span ><button mat-raised-button mat-button-sm mat-icon-button class="mr-1 mb-1 hover-icon" type="button" (click)="editCollectedDocument(pdCollectedDocument)"><mat-icon>edit</mat-icon></button></span> <span ><button mat-raised-button mat-button-sm mat-icon-button class="mr-1 mb-1 hover-icon" type="button" (click)="editCollectedDocument(pdCollectedDocument)"><mat-icon>edit</mat-icon></button></span>
@ -343,11 +343,11 @@
</mat-card-content> </mat-card-content>
<ng-template #noCollectedDocument> <ng-template #noCollectedDocument>
<mat-card-content> <mat-card-content>
<p>No Documents to be Collected</p> <p>No Document to be photographed/scanned</p>
</mat-card-content> </mat-card-content>
</ng-template> </ng-template>
</mat-tab> </mat-tab>
<mat-tab> <!-- <mat-tab>
<ng-template mat-tab-label>Additional Requirements</ng-template> <ng-template mat-tab-label>Additional Requirements</ng-template>
<mat-card-header> <mat-card-header>