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 2734ff3fe..3b1c9e42f 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 @@ -116,12 +116,21 @@ - - + + + + + + + + + + +
- + diff --git a/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.scss b/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.scss index dea0560d5..92b4ae72e 100644 --- a/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.scss +++ b/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.scss @@ -3,6 +3,21 @@ margin: 10px; } +/** Table Toolbar CSS - spacing between SaveButton and Pagination **/ +.empty-spacer{ + //min-width: 300px; + width: 46%; + overflow: auto; +} + +/** Table Toolbar CSS - whole Toolbar Padding removed **/ +.mat-toolbar-row{ + padding: 0 !important; +} +// .save-button{ +// padding: 0 8px !important; +// } + /** Table CSS - Dislplay Data */ .mat-table { display: table; diff --git a/ng6-seed/src/app/settings/masters/masters.component.html b/ng6-seed/src/app/settings/masters/masters.component.html index 87a93dc18..117b1a40a 100644 --- a/ng6-seed/src/app/settings/masters/masters.component.html +++ b/ng6-seed/src/app/settings/masters/masters.component.html @@ -80,9 +80,9 @@
-
+
diff --git a/ng6-seed/src/app/settings/masters/masters.component.ts b/ng6-seed/src/app/settings/masters/masters.component.ts index 3869c26a8..56bb61e53 100644 --- a/ng6-seed/src/app/settings/masters/masters.component.ts +++ b/ng6-seed/src/app/settings/masters/masters.component.ts @@ -118,7 +118,7 @@ export class MastersComponent implements OnInit { {id: 'master-16',name: 'Customer Segment'}, {id: 'master-17',name: 'Designation'}, {id: 'master-18',name: 'Lender Hierarchy'}, - {id: 'master-19',name: 'Company Details'}, + // {id: 'master-19',name: 'Company Details'}, {id: 'master-20',name: 'Question Category'}, {id: 'master-21',name: 'PD Type'}, {id: 'master-22',name: 'Approach to PD location'}, diff --git a/ng6-seed/src/app/settings/service/masters/masters.service.ts b/ng6-seed/src/app/settings/service/masters/masters.service.ts index 6514e9b22..1c258de61 100644 --- a/ng6-seed/src/app/settings/service/masters/masters.service.ts +++ b/ng6-seed/src/app/settings/service/masters/masters.service.ts @@ -275,18 +275,18 @@ editPDAllocationType(Records: any,MasterName:string): Observable { * argument 'res' : Response */ addCompanyDetails(Records: any): Observable { - let formData = new FormData(); + //let formData = new FormData(); Records.fk_createdby = this._aws.getlocale();//to get user id for who is created the Records Records.company_master_createdon = currentdate;//to get Current date and Time for when the Record is created - // var ArrayData = { "master_name":'COMPANY', - // "records": Records } + var ArrayData = { "master_name":'COMPANY', + "records": Records } - formData.append('logo',Records.logo); - formData.append('records',JSON.stringify(Records)); + // formData.append('logo',Records.logo); + // formData.append('records',JSON.stringify(Records)); - return this._http.post(this.apiUrl+"saveCompany", formData) + return this._http.post(this.apiUrl+"saveCompany", ArrayData) .pipe( catchError(this.handleError('role', [])) )