-->
-
-
@@ -81,9 +76,6 @@
-
@@ -105,8 +97,7 @@
-
-
+
{{segment.name}}
@@ -259,7 +250,6 @@
-
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts
index 5f32b8ba6..a90c465d5 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts
@@ -577,11 +577,11 @@ export class FamilyDetailsComponent implements OnInit {
// records.formid = '6';
// // records.fk_createdby = '251';
// console.log(JSON.stringify(records));
-// this._pd.saveForm(records).subscribe(data => {
-// this.notifier.notify('success', 'Saved Successfully.');
-// }, error => {
-// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
-// });
+// // this._pd.saveForm(records).subscribe(data => {
+// // this.notifier.notify('success', 'Saved Successfully.');
+// // }, error => {
+// // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
+// // });
// }
// // validateAllFormFields(formGroup: FormGroup) {
// // Object.keys(formGroup.controls).forEach(field => {
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html
index 0b90adbee..4385d2676 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html
@@ -23,11 +23,12 @@
Data as Per Financial Statements
-
+
+ Please provide Correct Year Format. Format Should Be (YYYY)
-
+
@@ -35,45 +36,53 @@
[formGroupName]="i">
-
-
+
+
-
-
+
+
-
-
+
+
Net Profit
Net Loss
-
-
+
+
-
+
-
+
-
+
- 40) || (details.controls['financial_variation'].value < -40)}" placeholder="Variation from Previous Year" formControlName="financial_variation" (keypress)="keyPress($event)">
+ 40) || (details.controls['financial_variation'].value < -40)}" placeholder="Variation from Previous Year" formControlName="financial_variation" (keypress)="keyPress($event)">
+
+
+ {{details.get('variation').value <= 0 ? 'Decreases ' : 'Increases '}} in Sales in FY Over Sales in FY is %
+
+
+
+
+
-
-
+
+
-
+
+
-
+
-
-
+
+
Net Profit
Net Loss
-
+
-
+
-
+
-
+
- = 40 || details.controls['estimate_variation'].value >= -40}" placeholder="Variation from Previous Year" formControlName="estimate_variation" (keypress)="keyPress($event)">
+ = 40 || details.controls['estimate_variation'].value >= -40}" placeholder="Variation from Previous Year" formControlName="estimate_variation" (keypress)="keyPress($event)">
= 40) || (details.controls['estimate_variation'].value < -40)}" > {{details.controls['estimate_variation'].value}} {{details.controls['estimate_year'].value}}
-
+
+
Yes
No
Please comment on the Traded Goods stock level observed?
-
+
@@ -191,35 +191,35 @@
{{d+1}} Finished Goods
-
+
-
+
Yes
No
-
+
-
+
{{"₹"}} {{R_goodsValueInWords}} Only
-
+
-
+
Yes
No
Please comment on the finished goods stock level observed?
-
+
@@ -240,35 +240,35 @@
{{e+1}} Traded Goods
-
+
-
+
Yes
No
-
+
-
+
{{"₹"}} {{R_tradedGoodsValueInWords}} Only
-
+
-
+
Yes
No
Please comment on the Traded Goods stock level observed?
-
+
@@ -301,35 +301,35 @@
{{f+1}} Finished Goods
-
+
-
+
Yes
No
-
+
-
+
{{"₹"}} {{T_goodsValueInWords}} Only
-
+
-
+
Yes
No
Please comment on the finished goods stock level observed?
-
+
@@ -351,35 +351,35 @@
{{g+1}} Traded Goods
-
+
-
+
Yes
No
-
+
-
+
{{"₹"}} {{T_tradedGoodsValueInWords}} Only
-
+
-
-
+
+
Yes
No
Please comment on the Traded Goods stock level observed?
-
+
@@ -516,7 +516,7 @@
Remarks
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
index a79735f1e..17292f75b 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
@@ -16,14 +16,15 @@
-
-
-
- {{ (formButton.form_name.length>17)? (formButton.form_name | slice:0:17)+'..':(formButton.form_name) }}
+
+
+
+
+ {{ formButton.form_name }}
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss
index ce04f2137..bd80283eb 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss
@@ -1,6 +1,12 @@
// .child_mat_card mat-card {
// margin: 2 0%;
// }
+ ::ng-deep .mat-card-header-text{
+ margin:0px !important;
+ }
+ .mat-purple{
+ background-color: gray !important;
+ }
mat-card.parent_mat_card > {
mat-card-header {
display: flex;
@@ -11,6 +17,8 @@ mat-card.parent_mat_card > {
max-height:52vh;
overflow:auto;
}
+
+
.user-thumb {
position: absolute;
bottom: -35%;
@@ -66,3 +74,4 @@ mat-card .child_mat_card > mat-card {
}
}
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
index 12285e2ba..64756a67c 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
@@ -87,6 +87,8 @@ import { NgxViewerModule } from 'ngx-viewer';
import { FinalRemarksComponent } from './list-pd/start-pd/forms/final-remarks/final-remarks.component';
import { BusinessOtherFamilyMemberComponent } from './list-pd/start-pd/forms/dialogue/business-other-family-member/business-other-family-member.component';
+import { QcReviewComponent } from './list-pd/pd-report/qc-review/qc-review.component';
+import { SharedModule } from "app/shared/shared.module";
/**
* Custom angular notifier options
@@ -264,7 +266,7 @@ const pdCustomNotifierOptions: NotifierOptions = {
// AgmCoreModule.forRoot({apiKey: 'AIzaSyBtdO5k6CRntAMJCF-H5uZjTCoSGX95cdk'}), OwlDateTimeModule,
// OwlNativeDateTimeModule,
// ],
- declarations: [RentalInfoComponent, TelePdAllocationComponent, FinancialInfoComponent, BusinessInfoComponent, EmploymentInfoComponent, StockComponent, BankingDetailsComponent, ListPdComponent, FamilyDetailsComponent, AddressComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent, PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, CurrentLoanComponent, AssetsInfoComponent, LoanDetailsComponent, OtherIncomeComponent, SupplierInfoComponent, PersonalInfoComponent, LenderRepresentativeComponent, PdReportComponent, AssessedIncomeComponent, AllocationViewMoreComponent, PdRequirementComponent, GeneralInfoComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent],
+ declarations: [RentalInfoComponent, TelePdAllocationComponent, FinancialInfoComponent, BusinessInfoComponent, EmploymentInfoComponent, StockComponent, BankingDetailsComponent, ListPdComponent, FamilyDetailsComponent, AddressComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent, PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, CurrentLoanComponent, AssetsInfoComponent, LoanDetailsComponent, OtherIncomeComponent, SupplierInfoComponent, PersonalInfoComponent, LenderRepresentativeComponent, PdReportComponent, AssessedIncomeComponent, AllocationViewMoreComponent, PdRequirementComponent, GeneralInfoComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent, QcReviewComponent],
// exports: [PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, CompletedPdComponent, QcCompletedPdComponent],
// providers: [PdTrigerService, GetGeometricLocationService],
@@ -273,6 +275,7 @@ const pdCustomNotifierOptions: NotifierOptions = {
CommonModule,
ManagePdRoutingModule,
NgxViewerModule,
+ SharedModule,
NotifierModule.withConfig(pdCustomNotifierOptions),
CKEditorModule,
PdfViewerModule,
@@ -307,7 +310,7 @@ const pdCustomNotifierOptions: NotifierOptions = {
{provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS}],
entryComponents: [PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, TelePdAllocationComponent, AllocationViewMoreComponent, PersonalInfoComponent,
- ClientInfoComponent, SupplierInfoComponent, CurrentLoanComponent, LoanDetailsComponent, OtherIncomeComponent, AssetsInfoComponent, AddressComponent, FamilyDetailsComponent, BankingDetailsComponent, StockComponent, EmploymentInfoComponent, BusinessInfoComponent, FinancialInfoComponent, LenderRepresentativeComponent,RentalInfoComponent, AssessedIncomeComponent, GeneralInfoComponent, PdRequirementComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent],
+ ClientInfoComponent, SupplierInfoComponent, CurrentLoanComponent, LoanDetailsComponent, OtherIncomeComponent, AssetsInfoComponent, AddressComponent, FamilyDetailsComponent, BankingDetailsComponent, StockComponent, EmploymentInfoComponent, BusinessInfoComponent, FinancialInfoComponent, LenderRepresentativeComponent,RentalInfoComponent, AssessedIncomeComponent, GeneralInfoComponent, PdRequirementComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent, QcReviewComponent],
})
export class ManagePdModule {
diff --git a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
index 0cec83e9f..89b00f4b7 100755
--- a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
+++ b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
@@ -331,6 +331,23 @@ getTypeofActivityForSuppliedInfoForm(pd_id: any): Observable{
)
}
+ getQCReportFinalReviewDetails(pd_id: any, flag : string ): Observable{
+ return this._http.post(this.apiUrl+"getQCLenderRemarks", {"records": { "pd_id" : pd_id, "flag" :flag }})
+ .pipe(
+ catchError(this.handleError('operation', []))
+ )
+ }
+
+ // pd review status update details
+ pdReviewStatusUpdate(editData: any): Observable {
+ editData.fk_updatedby = this._aws.getlocale();
+ // editData.updatedon = currentdate;
+ return this._http.post(this.apiUrl + "updatePDMaster", {records: editData})
+
+ .pipe(
+ catchError(this.handleError('operation', []))
+ )
+ }
// inWords(num) {
diff --git a/ng6-seed/src/app/shared/rating/rating.component.html b/ng6-seed/src/app/shared/rating/rating.component.html
new file mode 100644
index 000000000..06bae631d
--- /dev/null
+++ b/ng6-seed/src/app/shared/rating/rating.component.html
@@ -0,0 +1,16 @@
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/shared/rating/rating.component.scss b/ng6-seed/src/app/shared/rating/rating.component.scss
new file mode 100644
index 000000000..64db81cb4
--- /dev/null
+++ b/ng6-seed/src/app/shared/rating/rating.component.scss
@@ -0,0 +1,42 @@
+
+.rating {
+ float:left;
+}
+
+.rating:not(:checked) > input {
+ position:absolute;
+ top:-9999px;
+ clip:rect(0,0,0,0);
+}
+
+.rating:not(:checked) > label {
+ float:right;
+ width:1em;
+ padding:0.1em;
+ overflow:hidden;
+ white-space:nowrap;
+ cursor:pointer;
+ font-size:200%;
+ line-height:1.2;
+ color:#ddd;
+}
+
+.rating:not(:checked) > label:before {
+ content: '★ ';
+}
+
+.rating > input:checked ~ label {
+ color: #f70;
+}
+
+.rating:not(:checked) > label:hover,
+.rating:not(:checked) > label:hover ~ label {
+ color: gold;
+}
+
+
+.rating > input:checked ~ label:hover,
+.rating > input:checked ~ label:hover ~ label,
+.rating > label:hover ~ input:checked ~ label {
+ color: #ea0;
+}
\ No newline at end of file
diff --git a/ng6-seed/src/app/shared/rating/rating.component.spec.ts b/ng6-seed/src/app/shared/rating/rating.component.spec.ts
new file mode 100644
index 000000000..1460c9ec6
--- /dev/null
+++ b/ng6-seed/src/app/shared/rating/rating.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { RatingComponent } from './rating.component';
+
+describe('RatingComponent', () => {
+ let component: RatingComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ RatingComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(RatingComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/shared/rating/rating.component.ts b/ng6-seed/src/app/shared/rating/rating.component.ts
new file mode 100644
index 000000000..5c6eed26a
--- /dev/null
+++ b/ng6-seed/src/app/shared/rating/rating.component.ts
@@ -0,0 +1,25 @@
+import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-rating',
+ templateUrl: './rating.component.html',
+ styleUrls: ['./rating.component.scss']
+})
+export class RatingComponent implements OnInit {
+ @Input() rating: number;
+ @Input() itemId: number;
+ @Output() ratingClick: EventEmitter = new EventEmitter();
+
+ inputName: string;
+ ngOnInit() {
+ this.inputName = this.itemId + '_rating';
+ }
+ onClick(rating: number): void {
+ this.rating = rating;
+ this.ratingClick.emit({
+ itemId: this.itemId,
+ rating: rating
+ });
+ }
+
+}
diff --git a/ng6-seed/src/app/shared/shared.module.ts b/ng6-seed/src/app/shared/shared.module.ts
index 9dbf91116..cc6a4cb68 100755
--- a/ng6-seed/src/app/shared/shared.module.ts
+++ b/ng6-seed/src/app/shared/shared.module.ts
@@ -4,19 +4,22 @@ import { MenuItems } from './menu-items/menu-items';
import { HorizontalMenuItems } from './menu-items/horizontal-menu-items';
import { AccordionAnchorDirective, AccordionLinkDirective, AccordionDirective } from './accordion';
import { ToggleFullscreenDirective } from './fullscreen/toggle-fullscreen.directive';
+import { RatingComponent} from './rating/rating.component';
@NgModule({
declarations: [
AccordionAnchorDirective,
AccordionLinkDirective,
AccordionDirective,
- ToggleFullscreenDirective
+ ToggleFullscreenDirective,
+ RatingComponent
],
exports: [
AccordionAnchorDirective,
AccordionLinkDirective,
AccordionDirective,
- ToggleFullscreenDirective
+ ToggleFullscreenDirective,
+ RatingComponent
],
providers: [ MenuItems, HorizontalMenuItems ]
})