Fairoj : Tele PD issue fixed
This commit is contained in:
parent
3fc3d19e72
commit
2710a54251
@ -1210,8 +1210,10 @@ export class BusinessAssetsInfoComponent implements OnInit {
|
||||
if (flag == 1) {
|
||||
if (value == 'yes') {
|
||||
item.controls.business_years.setValidators([Validators.required]);
|
||||
if(this.fk_pd_type != '3') {
|
||||
item.controls.business_is_pd_visited.setValidators([Validators.required]);
|
||||
item.controls.business_pd_visited_remark.setValidators([Validators.required]);
|
||||
}
|
||||
item.controls.business_ownership_type.setValidators([Validators.required]);
|
||||
}
|
||||
else {
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
</mat-select>
|
||||
<mat-error *ngIf="_finalRemarkForm.controls['is_service_provided'].hasError('required')">Service Provided Required</mat-error>
|
||||
</mat-form-field>
|
||||
<mat-form-field style="width: 100%">
|
||||
<mat-form-field style="width: 90%">
|
||||
<input matInput placeholder="Personal feedback or market intelligence on the case (if any)" formControlName="market_intelligence">
|
||||
</mat-form-field>
|
||||
</mat-card-content>
|
||||
@ -156,7 +156,7 @@
|
||||
<mat-error *ngIf="_finalRemarkForm.controls['mode_of_transport_during_visit'].hasError('required')">Specify the Mode of Transport Used to Visit the PD address Required</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-card *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'MWISE' || prod_catagory == 'LAEP'">
|
||||
<mat-card *ngIf="(lender_short_name == 'CLIX' || lender_short_name == 'MWISE' || prod_catagory == 'LAEP') && fk_pd_type != '3'">
|
||||
<mat-card-content>
|
||||
<mat-card-subtitle *ngIf="lender_short_name == 'CLIX'">CLIX</mat-card-subtitle>
|
||||
<mat-card-subtitle *ngIf="lender_short_name == 'MWISE'">MWISE</mat-card-subtitle>
|
||||
|
||||
@ -256,7 +256,7 @@ export class FinalRemarksComponent implements OnInit {
|
||||
this._finalRemarkForm.controls.market_intelligence.setValue(data.records.market_intelligence || '');
|
||||
|
||||
|
||||
if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'MWISE' || this.prod_catagory == 'LAEP'){
|
||||
if(this.fk_pd_type != '3' && (this.lender_short_name == 'CLIX' || this.lender_short_name == 'MWISE' || this.prod_catagory == 'LAEP')){
|
||||
|
||||
if(this.prod_catagory == 'LAEP') {this._finalRemarkForm.controls.outlet_location.setValue(this.prod_catagory == 'LAEP' ? data.records.outlet_location : ''); }
|
||||
this._finalRemarkForm.controls.is_competition.setValue(data.records.is_competition);
|
||||
|
||||
@ -9,8 +9,8 @@ import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
/** Service */
|
||||
import { PdTrigerService } from '../../../../../pd-service/pd-triger.service';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { analyzeAndValidateNgModules } from '@angular/compiler';
|
||||
import { ImageCropComponent } from '../dialogue/image-crop/image-crop.component';
|
||||
// import { analyzeAndValidateNgModules } from '@angular/compiler';
|
||||
// import { ImageCropComponent } from '../dialogue/image-crop/image-crop.component';
|
||||
|
||||
@Component({
|
||||
// changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
@ -89,7 +89,9 @@ export class StockComponent implements OnInit {
|
||||
this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
|
||||
this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type;
|
||||
if(this.fk_pd_type == '3'){
|
||||
this.SPsufficientList.push({value:"not able to assess",isdisplayvalue:"Not able to assess",isdisabled:false})
|
||||
this.SPsufficientList.push({value:"not able to access",isdisplayvalue:"Not able to access",isdisabled:false})
|
||||
this.TGsufficientList.push({value:"not able to access",isdisplayvalue:"Not able to access",isdisabled:false})
|
||||
this.RMsufficientList.push({value:"not able to access",isdisplayvalue:"Not able to access",isdisabled:false})
|
||||
}
|
||||
this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:this.company_id}
|
||||
}
|
||||
|
||||
@ -24,6 +24,15 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@media(max-width:580px) {
|
||||
.fab-container {
|
||||
> div {
|
||||
flex-direction: column !important;
|
||||
right: 0px;
|
||||
top: 53px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fab-toggler {
|
||||
float: right;
|
||||
|
||||
@ -125,8 +125,11 @@
|
||||
</mat-card>
|
||||
</div>
|
||||
<div fxFlex.xs="100" fxFlex.sm="100" fxFlex.md="60" fxFlex.lg="70" fxFlex.xl="70" class="content-data" *ngFor="let master of pdMasterData">
|
||||
<div fxLayout="row">
|
||||
<div fxFlex="100" align="right">
|
||||
<div fxLayout="row" fxLayoutAlign="flex-end" fxLayoutGap="68px" fxLayoutGap.xs="8px">
|
||||
<div fxLayout="column">
|
||||
<app-speed-dial-fab fxFlex="30" class="fab-group" *ngIf="master.fk_pd_type == '3'" [options]="FabOptions" (fabClick)="copyCusURL($event)"></app-speed-dial-fab>
|
||||
</div>
|
||||
<div align="right" >
|
||||
<!-- <button mat-raised-button class="mr-1 mb-1" color="primary" style="cursor: not-allowed !important;">
|
||||
<strong> {{master.pd_status==pdStatusCheck.QC_COMPLETED ? 'QC Completed' : master.pd_status==pdStatusCheck.ADD_ON_PENDING ? 'Addon Pending' : master.pd_status | titlecase}}</strong>
|
||||
</button> -->
|
||||
@ -135,13 +138,13 @@
|
||||
matTooltip="Copy Customer Link" matTooltipPosition="above">
|
||||
<mat-icon>link</mat-icon>
|
||||
</button></span> -->
|
||||
<!-- <app-speed-dial-fab class="fab-group" *ngIf="master.fk_pd_type == '3'" [options]="FabOptions" (fabClick)="copyCusURL($event)"></app-speed-dial-fab> -->
|
||||
<span> <button *ngIf="master.fk_pd_type == '3'"
|
||||
mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" (click)="onClickSmsLink(master)"
|
||||
matTooltip="Send Link Via SMS" matTooltipPosition="above">
|
||||
<mat-icon>sms</mat-icon>
|
||||
</button> </span>
|
||||
<!-- <div class="fab-group" *ngIf="master.fk_pd_type == '3'"> -->
|
||||
<app-speed-dial-fab class="fab-group" *ngIf="master.fk_pd_type == '3'" [options]="FabOptions" (fabClick)="copyCusURL($event)"></app-speed-dial-fab>
|
||||
<!-- </div> -->
|
||||
<button *ngIf="master.fk_pd_type == '3'" mat-button mat-raised-button class="mr-1 mb-1" color="primary" (click)="openVideoChat()">
|
||||
<mat-icon>videocam</mat-icon>
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
// app-speed-dial-fab {
|
||||
position: absolute;
|
||||
@media(min-width:500px) {
|
||||
right: 415px;
|
||||
// right: 415px;
|
||||
}
|
||||
// }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user