diff --git a/src/app/clients/client-stepper/client-general-step/client-general-step.component.html b/src/app/clients/client-stepper/client-general-step/client-general-step.component.html index d3d0b6658..81a6b8ec8 100644 --- a/src/app/clients/client-stepper/client-general-step/client-general-step.component.html +++ b/src/app/clients/client-stepper/client-general-step/client-general-step.component.html @@ -14,15 +14,6 @@ - - Staff - - - {{ staff.displayName }} - - - - Legal Form @@ -32,8 +23,17 @@ + + Staff + + + {{ staff.displayName }} + + + + - Name + {{ createClientForm.value.legalFormId === 1 ? 'Name' : 'Entity Name' }} Client name is required @@ -85,6 +85,46 @@ +
+ + + Constitution + + + {{ constitution.name }} + + + + + + Main Business Line + + + {{ business.name }} + + + + + + Incorporation Validity Till Date + + + + + + + Incorporation Number + + + + + Remarks + + + +
+ Gender @@ -131,7 +171,7 @@ Submitted On - + @@ -169,46 +209,6 @@ -
- - - Incorporation Validity Till Date - - - - - - - Incorporation Number - - - - - Main Business Line - - - {{ business.name }} - - - - - - Constitution - - - {{ constitution.name }} - - - - - - Remarks - - - -
-
diff --git a/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts b/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts index 843721867..845963a61 100644 --- a/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts +++ b/src/app/clients/client-stepper/client-general-step/client-general-step.component.ts @@ -117,7 +117,7 @@ export class ClientGeneralStepComponent implements OnInit { this.createClientForm.removeControl('lastname'); this.createClientForm.addControl('fullname', new FormControl('', [Validators.required, Validators.pattern('(^[A-z]).*')])); this.createClientForm.addControl('clientNonPersonDetails', this.formBuilder.group({ - 'constitutionId': [''], + 'constitutionId': ['', Validators.required], 'incorpValidityTillDate': [''], 'incorpNumber': [''], 'mainBusinessLineId': [''], diff --git a/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts b/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts index bef4cea1e..55e1a93f2 100644 --- a/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts +++ b/src/app/clients/clients-view/client-actions/accept-client-transfer/accept-client-transfer.component.ts @@ -68,7 +68,6 @@ export class AcceptClientTransferComponent implements OnInit { */ submit() { const acceptClientTransferFormData = this.acceptClientTransferForm.value; - const locale = this.settingsService.language.code; const dateFormat = this.settingsService.dateFormat; const prevTransferDate: Date = this.acceptClientTransferForm.value.transferDate; if (acceptClientTransferFormData.transferDate instanceof Date) { @@ -76,8 +75,6 @@ export class AcceptClientTransferComponent implements OnInit { } const data = { ...acceptClientTransferFormData, - dateFormat, - locale }; this.clientsService.executeClientCommand(this.clientId, 'acceptTransfer', data).subscribe(() => { this.router.navigate(['../../'], { relativeTo: this.route }); diff --git a/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.html b/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.html index 3166a7aa0..31006f4d5 100644 --- a/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.html +++ b/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.html @@ -20,7 +20,7 @@ - + diff --git a/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts b/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts index 51dc6843d..c287d1a41 100644 --- a/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts +++ b/src/app/clients/clients-view/client-actions/reactivate-client/reactivate-client.component.ts @@ -70,7 +70,7 @@ export class ReactivateClientComponent implements OnInit { const locale = this.settingsService.language.code; const dateFormat = this.settingsService.dateFormat; const prevReactivationDate: Date = this.reactivateClientForm.value.reactivationDate; - if (reactivateClientFormData.closureDate instanceof Date) { + if (reactivateClientFormData.reactivationDate instanceof Date) { reactivateClientFormData.reactivationDate = this.dateUtils.formatDate(prevReactivationDate, dateFormat); } const data = { diff --git a/src/app/clients/edit-client/edit-client.component.html b/src/app/clients/edit-client/edit-client.component.html index 0c63ebe9c..15d0f75e1 100644 --- a/src/app/clients/edit-client/edit-client.component.html +++ b/src/app/clients/edit-client/edit-client.component.html @@ -20,15 +20,6 @@ - - Staff - - - {{ staff.displayName }} - - - - Legal Form @@ -38,8 +29,22 @@ + + Account No + + + + + Staff + + + {{ staff.displayName }} + + + + - Name + {{ editClientForm.value.legalFormId === 1 ? 'Name' : 'Entity Name' }} Client name is required @@ -74,10 +79,44 @@ - - Account No - - +
+ + + Constitution + + + {{ constitution.name }} + + + + + + Main Business Line + + + {{ business.name }} + + + + + + Incorporation Validity Till Date + + + + + + + Incorporation No + + + + + Remarks + + +
External Id @@ -131,7 +170,7 @@ Activated On - @@ -146,46 +185,6 @@ -
- - - Incorporation Validity Till Date - - - - - - - Incorporation No - - - - - Main Business Line - - - {{ business.name }} - - - - - - Constitution - - - {{ constitution.name }} - - - - - - Remarks - - - -
-
diff --git a/src/app/clients/edit-client/edit-client.component.ts b/src/app/clients/edit-client/edit-client.component.ts index 1c12590c4..304d40cb1 100644 --- a/src/app/clients/edit-client/edit-client.component.ts +++ b/src/app/clients/edit-client/edit-client.component.ts @@ -96,7 +96,7 @@ export class EditClientComponent implements OnInit { this.editClientForm = this.formBuilder.group({ 'officeId': [{ value: '', disabled: true }], 'staffId': [''], - 'legalFormId': [''], + 'legalFormId': [{ value: '', disabled: true }], 'isStaff': [false], 'active': [false], 'accountNo': [{ value: '', disabled: true }], @@ -143,7 +143,7 @@ export class EditClientComponent implements OnInit { this.editClientForm.removeControl('lastname'); this.editClientForm.addControl('fullname', new FormControl(this.clientDataAndTemplate.fullname, Validators.required)); this.editClientForm.addControl('clientNonPersonDetails', this.formBuilder.group({ - 'constitutionId': [this.clientDataAndTemplate.clientNonPersonDetails.constitution && this.clientDataAndTemplate.clientNonPersonDetails.constitution.id], + 'constitutionId': [this.clientDataAndTemplate.clientNonPersonDetails.constitution && this.clientDataAndTemplate.clientNonPersonDetails.constitution.id, Validators.required], 'incorpValidityTillDate': [this.clientDataAndTemplate.clientNonPersonDetails.incorpValidityTillDate && new Date(this.clientDataAndTemplate.clientNonPersonDetails.incorpValidityTillDate)], 'incorpNumber': [this.clientDataAndTemplate.clientNonPersonDetails.incorpNumber], 'mainBusinessLineId': [this.clientDataAndTemplate.clientNonPersonDetails.mainBusinessLine && this.clientDataAndTemplate.clientNonPersonDetails.mainBusinessLine.id], diff --git a/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.html b/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.html index 79ad30df6..eb477840f 100644 --- a/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.html +++ b/src/app/loans/loans-view/transactions/view-transaction/view-transaction.component.html @@ -4,8 +4,8 @@ - - diff --git a/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.html b/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.html index a10ffd235..20441870d 100644 --- a/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.html +++ b/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.html @@ -47,8 +47,7 @@ To - - + To Date is required diff --git a/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts b/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts index 4f0550f36..82ed207ea 100644 --- a/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts +++ b/src/app/organization/tellers/cashiers/create-cashier/create-cashier.component.ts @@ -48,7 +48,7 @@ export class CreateCashierComponent implements OnInit { } ngOnInit() { - this.maxDate = this.settingsService.businessDate; + this.maxDate = this.settingsService.maxFutureDate; this.setCreateCashierForm(); } diff --git a/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.html b/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.html index 18d468ab3..a8c1ff52c 100644 --- a/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.html +++ b/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.html @@ -53,8 +53,7 @@ To - - + To Date is required diff --git a/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts b/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts index 8da460270..53ca98bf9 100644 --- a/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts +++ b/src/app/organization/tellers/cashiers/edit-cashier/edit-cashier.component.ts @@ -52,7 +52,7 @@ export class EditCashierComponent implements OnInit { } ngOnInit() { - this.maxDate = this.settingsService.businessDate; + this.maxDate = this.settingsService.maxFutureDate; this.setEditChargeForm(); } diff --git a/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts b/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts index 91bc89b18..6e2f42455 100644 --- a/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts +++ b/src/app/organization/tellers/cashiers/settle-cash/settle-cash.component.ts @@ -45,7 +45,7 @@ export class SettleCashComponent implements OnInit { } ngOnInit() { - this.maxDate = this.settingsService.businessDate; + this.maxDate = this.settingsService.maxFutureDate; this.setCashierForm(); } diff --git a/src/app/organization/tellers/create-teller/create-teller.component.html b/src/app/organization/tellers/create-teller/create-teller.component.html index 142fa52da..2bfec45da 100644 --- a/src/app/organization/tellers/create-teller/create-teller.component.html +++ b/src/app/organization/tellers/create-teller/create-teller.component.html @@ -17,7 +17,7 @@ Teller Name cannot begin with a special character or number - + Office @@ -48,7 +48,7 @@ End Date - + diff --git a/src/app/organization/tellers/create-teller/create-teller.component.ts b/src/app/organization/tellers/create-teller/create-teller.component.ts index cf2d3c16e..45cf4de33 100644 --- a/src/app/organization/tellers/create-teller/create-teller.component.ts +++ b/src/app/organization/tellers/create-teller/create-teller.component.ts @@ -55,7 +55,7 @@ export class CreateTellerComponent implements OnInit { * Creates the teller form. */ ngOnInit() { - this.maxDate = this.settingsService.businessDate; + this.maxDate = this.settingsService.maxFutureDate; this.createTellerForm(); } diff --git a/src/app/organization/tellers/edit-teller/edit-teller.component.html b/src/app/organization/tellers/edit-teller/edit-teller.component.html index e21afaa26..554c1e3bd 100644 --- a/src/app/organization/tellers/edit-teller/edit-teller.component.html +++ b/src/app/organization/tellers/edit-teller/edit-teller.component.html @@ -17,7 +17,7 @@ Teller Name cannot begin with a special character or number - + Office @@ -26,8 +26,8 @@ {{ office.name }} - - + + Description @@ -35,7 +35,8 @@ Start Date - + @@ -45,7 +46,7 @@ End Date - + @@ -68,7 +69,8 @@ - + diff --git a/src/app/organization/tellers/edit-teller/edit-teller.component.ts b/src/app/organization/tellers/edit-teller/edit-teller.component.ts index 739f9c7ab..3fd5d9330 100644 --- a/src/app/organization/tellers/edit-teller/edit-teller.component.ts +++ b/src/app/organization/tellers/edit-teller/edit-teller.component.ts @@ -67,7 +67,7 @@ export class EditTellerComponent implements OnInit { * Creates the Edit teller form. */ ngOnInit() { - this.maxDate = this.settingsService.businessDate; + this.maxDate = this.settingsService.maxFutureDate; this.createEditTellerForm(); } diff --git a/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html b/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html index 652e46e97..ac4ecc0a6 100644 --- a/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html +++ b/src/app/savings/savings-account-stepper/savings-account-charges-step/savings-account-charges-step.component.html @@ -3,7 +3,8 @@ Charge - + {{ charge.name }} @@ -16,7 +17,8 @@ - +
@@ -35,7 +37,7 @@ @@ -75,8 +75,8 @@ - + @@ -73,7 +75,7 @@ diff --git a/src/app/system/manage-scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.html b/src/app/system/manage-scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.html index 85574ef56..817ef3bfd 100644 --- a/src/app/system/manage-scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.html +++ b/src/app/system/manage-scheduler-jobs/view-history-scheduler-job/view-history-scheduler-job.component.html @@ -17,14 +17,9 @@ - - - - - -
Name Amount - {{ charge.amount }} + {{ charge.amount }} @@ -52,21 +54,19 @@ Date - - {{(charge.dueDate | dateFormat) || 'Unassigned'}} + + {{(charge.dueDate | dateFormat) || 'Unassigned'}} - {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}} + {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}} - N/A - Repayments Every - {{ charge.feeInterval || 'Not Provided' }} - Previous Run {{ job.lastRunHistory.jobRunStartTime }} {{ job.lastRunHistory.jobRunStartTime }} Previous Run Status - - +
+ + +
Error Log - {{ jobHistoryData.version }} Run Start Time {{ jobHistoryData.jobRunStartTime }} Status +