diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.html index f5ae7e2bf..0c7f1b24d 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.html @@ -11,9 +11,9 @@ -
+
-
+
- +

No central officer available.

diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts index ccd61b41e..37f09a2ff 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts @@ -11,8 +11,8 @@ import { PdTrigerService } from '../../../pd-service/pd-triger.service'; }) export class SmartPdAllocationComponent implements OnInit { - public pageTitle: string = "Allocate To Executive"; - public pageTitle2: string = "Allocate To Central Officer"; + public pageTitle2: string = "Allocate To Executive"; + public pageTitle: string = "Allocate To Central Officer"; public _pdAllocationForm: FormGroup; //public pdOfficerList: any = []; public pdCentralOfficerList: any = []; @@ -70,7 +70,7 @@ export class SmartPdAllocationComponent implements OnInit { else { let updateData = { "pd_id":this.data.pd_id, - "fk_pd_allocated_to":pdOfficer.fk_user_id, + "central_pd_officer_id":pdOfficer.fk_user_id, "executive_id":excutiveOfficer.fk_user_id, } this._pd.updatePdOfficer(updateData).subscribe( diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts index 082d80ac2..9fb85fb4b 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts @@ -57,7 +57,7 @@ export class TelePdAllocationComponent implements OnInit { else { let updateData = { "pd_id":this.data.pd_id, - "fk_pd_allocated_to":allocateDate.fk_user_id, + "central_pd_officer_id":allocateDate.fk_user_id, } this._pd.updatePdOfficer(updateData).subscribe( result => { diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html index a0dfcc36d..234582cf1 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html @@ -16,8 +16,11 @@ - person{{master.pd_allocated_to | titlecase}}    + person{{master.pd_allocated_to | titlecase}} + person{{master.executive_name | titlecase}}/{{master.centralofficer | titlecase}} + person{{master.centralofficer | titlecase}} + +    {{master.pd_status | titlecase}}  On {{master.scheduled_on}} {{master.pd_status | titlecase}} QC Completed