UI changes
This commit is contained in:
parent
abafc5ad3d
commit
b8fb9c6ff0
@ -34,6 +34,27 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
<mat-card>
|
||||||
|
<mat-card-content>
|
||||||
|
<mat-form-field style="width:40%;">
|
||||||
|
<mat-select placeholder="PD Officers Recommendation:" formControlName="pd_officers_recommendation" required>
|
||||||
|
<mat-option value=2>Positive</mat-option>
|
||||||
|
<mat-option value=3>Negative</mat-option>
|
||||||
|
<mat-option value=4>Refer to Credit</mat-option>
|
||||||
|
<mat-option value=1>Others</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-form-field style="width:30%;" *ngIf="_finalRemarkForm.controls['pd_officers_recommendation'].value == 3">
|
||||||
|
<input matInput autocomplete="off" placeholder="Enter reason for Negative" formControlName="enter_reason_for_negative">
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-form-field style="width:30%;" *ngIf="_finalRemarkForm.controls['pd_officers_recommendation'].value == 1">
|
||||||
|
<input matInput autocomplete="off" placeholder="Specify Others" formControlName="others_pd_officers_recommendation">
|
||||||
|
</mat-form-field>
|
||||||
|
<mat-form-field style="width:30%;" *ngIf="_finalRemarkForm.controls['pd_officers_recommendation'].value == 4">
|
||||||
|
<input matInput autocomplete="off" placeholder="Enter reason for Refer to Credit" formControlName="enter_reason_for_refer_to_credit">
|
||||||
|
</mat-form-field>
|
||||||
|
</mat-card-content>
|
||||||
|
</mat-card>
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
<mat-dialog-actions>
|
<mat-dialog-actions>
|
||||||
<div fxFlex="60" class="pb-0 text-sm-left" align="left">
|
<div fxFlex="60" class="pb-0 text-sm-left" align="left">
|
||||||
|
|||||||
@ -58,6 +58,10 @@ export class FinalRemarksComponent implements OnInit {
|
|||||||
final_custormer_remark_type : [],
|
final_custormer_remark_type : [],
|
||||||
final_other_customer_behaviour:[],
|
final_other_customer_behaviour:[],
|
||||||
is_service_provided: ['', Validators.required],
|
is_service_provided: ['', Validators.required],
|
||||||
|
pd_officers_recommendation:['', Validators.required],
|
||||||
|
others_pd_officers_recommendation:[''],
|
||||||
|
enter_reason_for_negative:[''],
|
||||||
|
enter_reason_for_refer_to_credit:[''],
|
||||||
final_form_remarks: ['',Validators.required]
|
final_form_remarks: ['',Validators.required]
|
||||||
});
|
});
|
||||||
this.getM_Type();
|
this.getM_Type();
|
||||||
@ -88,6 +92,10 @@ export class FinalRemarksComponent implements OnInit {
|
|||||||
if(data.dataStatus){
|
if(data.dataStatus){
|
||||||
this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data.records.final_custormer_remark_type);
|
this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data.records.final_custormer_remark_type);
|
||||||
this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data.records.final_other_customer_behaviour);
|
this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data.records.final_other_customer_behaviour);
|
||||||
|
this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data.records.pd_officers_recommendation);
|
||||||
|
this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data.records.others_pd_officers_recommendation);
|
||||||
|
this._finalRemarkForm.controls.enter_reason_for_negative.setValue(data.records.enter_reason_for_negative);
|
||||||
|
this._finalRemarkForm.controls.enter_reason_for_refer_to_credit.setValue(data.records.enter_reason_for_refer_to_credit);
|
||||||
this._finalRemarkForm.controls.is_service_provided.setValue(data.records.is_service_provided);
|
this._finalRemarkForm.controls.is_service_provided.setValue(data.records.is_service_provided);
|
||||||
this._finalRemarkForm.controls.final_form_remarks.setValue(data.records.final_form_remarks);
|
this._finalRemarkForm.controls.final_form_remarks.setValue(data.records.final_form_remarks);
|
||||||
this.noRecordsFound = true;
|
this.noRecordsFound = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user