diff --git a/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.html b/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.html index 56d5593cb..797adf724 100644 --- a/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.html +++ b/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.html @@ -119,7 +119,7 @@ --> - + diff --git a/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.html b/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.html index d402e1efb..d63844eca 100644 --- a/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.html +++ b/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.html @@ -2,10 +2,10 @@
-

PD TEAM

+

Add New PD Team

- +
@@ -36,9 +36,9 @@ City Name Requried. -
The Selected Cities are.,
+
The Selected Cities are
    - +
  • {{data}}
@@ -56,9 +56,9 @@ Product Name Requried. -
The Selected Products are.,
+
The Selected Products are
    - +
  • {{data}}
@@ -76,9 +76,9 @@ -
The Selected Customer segment are.,
+
The Selected Customer segment are
    - +
  • {{data}}
diff --git a/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.ts b/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.ts index 76a1d4d64..c8d40227c 100644 --- a/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.ts +++ b/ng6-seed/src/app/settings/pd-team/pd-team-add/pd-team-add.component.ts @@ -24,7 +24,6 @@ export class PdTeamAddComponent implements OnInit { public _pdTeamForm: FormGroup; private notifier: NotifierService; -//public submitted = false; color = 'primary'; errorMessage:string; @@ -37,25 +36,23 @@ customerSegmentdatas: any[]; //This Type Of Array Declaration pdTeamCityArray:any= []; CityValidation:any= []; -//pdTeamProductArray: Array<{teamid: number, productid: number}> = []; -//pdTeamCustomerSegmentArray: Array<{teamid: number, customerid: number}> = []; - //This Type Of Array Declaration for Local Purpose and List the data in html page selectedCityDatas : any=[]; selectedProductDatas : any=[]; selectedSegmentDatas : any=[]; constructor(private _formBuilder: FormBuilder, - notifier: NotifierService, + private _notifier: NotifierService, private _pdTeamService: PdTeamService, private _router: Router, private _masterService: MastersService) { - this.notifier = notifier; + this.notifier = _notifier; } ngOnInit() { + //console.log(this.notifier); this.PdTeamFormDatas(); /** For Checking City Validation datas - checking purpose - Already exists are not */ @@ -146,10 +143,10 @@ onSubmit() { this._pdTeamService.addPdTeamDetail(this._pdTeamForm.value).subscribe( dataresult => { if(dataresult.dataStatus == true) { - //this.notifier.notify('success', 'Record Saved Successfully.!'); + this.notifier.notify('success', 'Record Saved Successfully.!'); Swal('Record Saved Successfully.!','success'); - this._pdTeamForm.reset(); this._router.navigate(['/setting/pdteam/pdteamlist']); + } else { this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); diff --git a/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.html b/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.html index 88c1454d7..50f4a9c89 100644 --- a/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.html +++ b/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.html @@ -2,11 +2,11 @@
-

PD TEAM

+

Edit PD Team

- +
@@ -38,7 +38,7 @@ City Name Requried. -
The Selected Cities are.,
+
The Selected Cities are
  • {{data}}
  • @@ -59,7 +59,7 @@ Product Name Requried. -
    The Selected Products are.,
    +
    The Selected Products are
    • {{data}}
    • @@ -78,7 +78,7 @@ CustomerSegment Name Requried. -
      The Selected Customer segment are.,
      +
      The Selected Customer segment are
      • {{data}}
      • diff --git a/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.html b/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.html index 4b699ce97..e20d2a1f1 100644 --- a/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.html +++ b/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.html @@ -2,7 +2,7 @@
        - PD Team Master + PD Team
        diff --git a/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.ts b/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.ts index 5ae66f824..bbbe37999 100644 --- a/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.ts +++ b/ng6-seed/src/app/settings/pd-team/pd-team-list/pd-team-list.component.ts @@ -149,8 +149,11 @@ isactivePdTeam(id: number,isactive : number) { /** For Display Tables Pagination And Sorting */ ngAfterViewInit() { + //alert('ngAfterViewInit()'); this.dataSource.paginator = this.paginator; this.dataSource.sort = this.sort; + //alert('pagintor'+this.dataSource.paginator); + //alert('sort'+this.dataSource.sort); } /** For Display Tables Filtering */ diff --git a/ng6-seed/src/app/template/questions/add/add.component.html b/ng6-seed/src/app/template/questions/add/add.component.html index e6f7dff30..f4e60e780 100644 --- a/ng6-seed/src/app/template/questions/add/add.component.html +++ b/ng6-seed/src/app/template/questions/add/add.component.html @@ -57,7 +57,8 @@ - + + diff --git a/ng6-seed/src/app/template/questions/edit/edit.component.html b/ng6-seed/src/app/template/questions/edit/edit.component.html index 1dc628246..1df0e8b87 100644 --- a/ng6-seed/src/app/template/questions/edit/edit.component.html +++ b/ng6-seed/src/app/template/questions/edit/edit.component.html @@ -60,7 +60,8 @@ - + + diff --git a/ng6-seed/src/app/template/questions/list/list.component.html b/ng6-seed/src/app/template/questions/list/list.component.html index ddbb74941..54fbf941e 100644 --- a/ng6-seed/src/app/template/questions/list/list.component.html +++ b/ng6-seed/src/app/template/questions/list/list.component.html @@ -47,7 +47,7 @@
        - +
        diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.html b/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.html index bc394ae9f..3051cb3da 100644 --- a/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.html +++ b/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.html @@ -46,7 +46,7 @@
        - + diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.html b/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.html index 38c1bd336..cf69103af 100644 --- a/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.html +++ b/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.html @@ -21,7 +21,8 @@
        -
        +
        +
        @@ -57,8 +58,7 @@
        - - +
        diff --git a/ng6-seed/src/app/template/templates/templates-list/templates.list.component.html b/ng6-seed/src/app/template/templates/templates-list/templates.list.component.html index 96e42cb23..fa2d8ad8c 100644 --- a/ng6-seed/src/app/template/templates/templates-list/templates.list.component.html +++ b/ng6-seed/src/app/template/templates/templates-list/templates.list.component.html @@ -21,7 +21,7 @@ -->
        - +
        @@ -45,7 +45,7 @@
        - +
        @@ -56,7 +56,7 @@ + [pageSizeOptions]="[5, 10, 25, 50, 100]" (page)="pageEvent = $event; pageChange($event)" showFirstLastButtons> diff --git a/ng6-seed/src/app/template/templates/templates.module.ts b/ng6-seed/src/app/template/templates/templates.module.ts index 3b4651786..e26916413 100644 --- a/ng6-seed/src/app/template/templates/templates.module.ts +++ b/ng6-seed/src/app/template/templates/templates.module.ts @@ -15,6 +15,7 @@ import { MatCheckboxModule, MatStepperModule, MatTabsModule, MatExpansionModule } from '@angular/material'; +import { MatTooltipModule } from '@angular/material/tooltip'; import {MatSlideToggleModule} from '@angular/material/slide-toggle'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; @@ -100,6 +101,7 @@ const customNotifierOptions: NotifierOptions = { MatTabsModule, MatSlideToggleModule, MatCheckboxModule, + MatTooltipModule, FormsModule, ReactiveFormsModule, TemplatesRouting