diff --git a/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.html b/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.html
index aedbecfe5..dd5f4d6e7 100644
--- a/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.html
+++ b/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.html
@@ -1,26 +1,27 @@
-
Upload Client Documents
+Upload {{ entityType }} Documents
-
-
\ No newline at end of file
+
+
diff --git a/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts b/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts
index 99eebf847..a82378531 100644
--- a/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts
+++ b/src/app/clients/clients-view/custom-dialogs/upload-document-dialog/upload-document-dialog.component.ts
@@ -15,6 +15,8 @@ export class UploadDocumentDialogComponent implements OnInit {
uploadDocumentData: any = [];
/** Triggers description field */
documentIdentifier = false;
+ /** Entity Type */
+ entityType: string;
/**
* @param {MatDialogRef} dialogRef Dialog reference element
@@ -25,6 +27,7 @@ export class UploadDocumentDialogComponent implements OnInit {
private formBuilder: FormBuilder,
@Inject(MAT_DIALOG_DATA) public data: any) {
this.documentIdentifier = data.documentIdentifier;
+ this.entityType = data.entityType;
}
ngOnInit() {
diff --git a/src/app/clients/clients-view/documents-tab/documents-tab.component.html b/src/app/clients/clients-view/documents-tab/documents-tab.component.html
index abc7a111e..0c12226c4 100644
--- a/src/app/clients/clients-view/documents-tab/documents-tab.component.html
+++ b/src/app/clients/clients-view/documents-tab/documents-tab.component.html
@@ -1,47 +1,47 @@
-
+
-
Documents
+
Documents
-
\ No newline at end of file
+
diff --git a/src/app/clients/clients-view/documents-tab/documents-tab.component.ts b/src/app/clients/clients-view/documents-tab/documents-tab.component.ts
index 8a32523f0..3974aa67b 100644
--- a/src/app/clients/clients-view/documents-tab/documents-tab.component.ts
+++ b/src/app/clients/clients-view/documents-tab/documents-tab.component.ts
@@ -28,8 +28,6 @@ export class DocumentsTabComponent implements OnInit {
public dialog: MatDialog) {
this.route.data.subscribe((data: { clientDocuments: any }) => {
this.clientDocuments = data.clientDocuments;
- console.log(this.clientDocuments);
-
});
this.clientId = this.route.parent.snapshot.paramMap.get('clientId');
}
@@ -60,10 +58,9 @@ export class DocumentsTabComponent implements OnInit {
uploadDocument() {
const uploadDocumentDialogRef = this.dialog.open(UploadDocumentDialogComponent, {
- data: { documentIdentifier: false }
+ data: { documentIdentifier: false, entityType: 'Client' }
});
uploadDocumentDialogRef.afterClosed().subscribe((dialogResponse: any) => {
- console.log(dialogResponse);
if (dialogResponse) {
const formData: FormData = new FormData;
formData.append('name', dialogResponse.fileName);
@@ -79,7 +76,6 @@ export class DocumentsTabComponent implements OnInit {
fileName: dialogResponse.file.name
});
this.documentsTable.renderRows();
- console.log('document Uploaded');
});
}
});
diff --git a/src/app/groups/groups-view/groups-view.component.html b/src/app/groups/groups-view/groups-view.component.html
index c03d6e45d..ca061f7d3 100644
--- a/src/app/groups/groups-view/groups-view.component.html
+++ b/src/app/groups/groups-view/groups-view.component.html
@@ -6,92 +6,134 @@
-

+
-
-
+
+
Group Name : {{groupViewData.name}}
+
+
+
+
+
+
+
-
- Group #: {{groupViewData.id}} | Center Name: {{groupViewData.centerName}} | Staff: {{groupViewData.staffName || 'Unassigned'}}
- Office Name: {{groupViewData.officeName}}
- Activation Date : {{(groupViewData.activationDate)?(groupViewData.activationDate | dateFormat) :'Not Activated'}}
+
+ Group : {{groupViewData.name}} | Center Name: {{groupViewData.centerName}} | Staff:
+ {{groupViewData.staffName || 'Unassigned'}}
+ Office Name : {{groupViewData.officeName}}
+ Activation Date : {{(groupViewData.activationDate)?(groupViewData.activationDate | dateFormat) :'Not Activated'}}
- Closure Date: {{groupViewData.timeline.closedOnDate | dateFormat}}
+ Closure Date : {{groupViewData.timeline.closedOnDate | dateFormat}}
-
+
+
+
+
+ Next Meeting on: {{groupViewData.collectionMeetingCalendar?.nextTenRecurringDates[0] | dateFormat}}
+
+ Meeting Frequency: {{groupViewData.collectionMeetingCalendar?.frequency.value | lowercase}}
+
+
+
+
+
+ Next Meeting on: Unassigned
+
+ Meeting Frequency: N/A
+
+
+
+
-
-
-
- Next Meeting on: {{groupViewData.collectionMeetingCalendar?.nextTenRecurringDates[0] | dateFormat}}
-
- Meeting Frequency: {{groupViewData.collectionMeetingCalendar?.frequency.value | lowercase}}
-
-
-
-
-
- Next Meeting on: Unassigned
-
- Meeting Frequency: N/A
-
-
-
-
-
-
-
-
+
-
- Activate
+
+
+
+
+ Activate
+
-
- Edit
-
- Add Clients
-
- Transfer Clients
-
- Manage Members
+
+
+
+
+ Edit
+
+
+
+
+
+ Add Clients
+
+
+
+
+
+ Transfer Clients
+
+
+
+
+
+ Manage Members
+
+
+
+
+
+
+ Applications
+
-
- Applications
Bulk JLG Loan Application
- Group Saving Application
- Group Loan Application
- GLIM Loan Application
- GSIM Application
+ Group Saving Application
+ Group
+ Loan Application
+ GLIM Loan
+ Application
+ GSIM Application
+
- More
+ More
- Attendance
+ Attendance
- Assign Staff
+ Assign
+ Staff
- Unassign Staff
-
- Attach Meeting
+ Unassign Staff
+
+ Attach
+ Meeting
Close
Delete
-
-
+
+
@@ -99,21 +141,21 @@