diff --git a/angular.json b/angular.json index d2a94faea..4762bbec7 100644 --- a/angular.json +++ b/angular.json @@ -82,8 +82,8 @@ }, { "type": "anyComponentStyle", - "maximumWarning": "2kb", - "maximumError": "4kb" + "maximumWarning": "6kb", + "maximumError": "12kb" } ], "fileReplacements": [ diff --git a/src/app/account-transfers/make-account-transfers/make-account-transfers.component.html b/src/app/account-transfers/make-account-transfers/make-account-transfers.component.html index fa6e26a67..6964e2a77 100644 --- a/src/app/account-transfers/make-account-transfers/make-account-transfers.component.html +++ b/src/app/account-transfers/make-account-transfers/make-account-transfers.component.html @@ -22,8 +22,8 @@
From Account - {{ accountTransferTemplateData.fromAccount.productName}} - #{{ accountTransferTemplateData.fromAccount.accountNo }} + {{ accountTransferTemplateData.fromAccount.productName}} - #{{ + accountTransferTemplateData.fromAccount.accountNo }}
@@ -46,6 +46,17 @@
+ + Transaction Date + + + + + Transactions Date is required + + + Office @@ -104,20 +115,10 @@ - - Transaction Date - - - - - Transactions Date is required - - - Description - + Transfer Description is required @@ -132,8 +133,8 @@ - + diff --git a/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts b/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts index a1bf69871..9eec19762 100644 --- a/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts +++ b/src/app/account-transfers/make-account-transfers/make-account-transfers.component.ts @@ -89,6 +89,7 @@ export class MakeAccountTransfersComponent implements OnInit, AfterViewInit { * Creates and sets the create standing instructions form. */ ngOnInit() { + this.maxDate = this.settingsService.businessDate; this.createMakeAccountTransferForm(); } @@ -102,7 +103,7 @@ export class MakeAccountTransfersComponent implements OnInit, AfterViewInit { 'toAccountType': ['', Validators.required], 'toAccountId': ['', Validators.required], 'transferAmount': [this.accountTransferTemplateData.transferAmount, Validators.required], - 'transferDate': ['', Validators.required], + 'transferDate': [this.settingsService.businessDate, Validators.required], 'transferDescription': ['', Validators.required], }); } @@ -186,7 +187,7 @@ export class MakeAccountTransfersComponent implements OnInit, AfterViewInit { fromOfficeId: this.accountTransferTemplateData.fromClient.officeId }; this.accountTransfersService.createAccountTransfer(makeAccountTransferData).subscribe(() => { - this.router.navigate(['../../general'], { relativeTo: this.route }); + this.router.navigate(['../../transactions'], { relativeTo: this.route }); }); } diff --git a/src/app/account-transfers/view-account-transfer/view-account-transfer.component.html b/src/app/account-transfers/view-account-transfer/view-account-transfer.component.html index 3e1d32513..a2959f991 100644 --- a/src/app/account-transfers/view-account-transfer/view-account-transfer.component.html +++ b/src/app/account-transfers/view-account-transfer/view-account-transfer.component.html @@ -12,7 +12,7 @@
Transaction Amount: - {{ viewAccountTransferData.transferAmount }} + {{ viewAccountTransferData.currency.displaySymbol }} {{ viewAccountTransferData.transferAmount | number }} ({{ viewAccountTransferData.currency.code }})
@@ -45,7 +45,7 @@
- Account #: + Account No: {{ viewAccountTransferData.fromAccount.accountNo }}
@@ -60,7 +60,9 @@
Client: - {{ viewAccountTransferData.toClient.displayName }} + + {{ viewAccountTransferData.toClient.displayName }} +
@@ -69,14 +71,19 @@
- Account #: - {{ viewAccountTransferData.toAccount.accountNo }} + Account No: + + {{ viewAccountTransferData.toAccount.accountNo }} +
+ + +
diff --git a/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts b/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts index fe98d8566..7dd6dab95 100644 --- a/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts +++ b/src/app/account-transfers/view-account-transfer/view-account-transfer.component.ts @@ -1,5 +1,6 @@ /** Angular Imports */ -import { Component, OnInit } from '@angular/core'; +import { Location } from '@angular/common'; +import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; @Component({ @@ -13,11 +14,25 @@ export class ViewAccountTransferComponent { /** * Retrieves the view account transfer data from `resolve`. * @param {ActivatedRoute} route Activated Route. + * @param {Location} location Location. */ - constructor(private route: ActivatedRoute) { + constructor(private route: ActivatedRoute, + private location: Location) { this.route.data.subscribe((data: { viewAccountTransferData: any }) => { this.viewAccountTransferData = data.viewAccountTransferData; }); } + transferToClient(toClient: any): string { + return `/#/clients/${toClient.id}`; + } + + transferToAccount(toClient: any, toAccount: any): string { + return `/#/clients/${toClient.id}/savings-accounts/${toAccount.id}`; + } + + goBack(): void { + this.location.back(); + } + } diff --git a/src/app/accounting/accounting.module.ts b/src/app/accounting/accounting.module.ts index 54f8099f3..5a661761b 100644 --- a/src/app/accounting/accounting.module.ts +++ b/src/app/accounting/accounting.module.ts @@ -36,6 +36,7 @@ import { ProvisioningEntriesComponent } from './provisioning-entries/provisionin import { CreateProvisioningEntryComponent } from './provisioning-entries/create-provisioning-entry/create-provisioning-entry.component'; import { ViewProvisioningEntryComponent } from './provisioning-entries/view-provisioning-entry/view-provisioning-entry.component'; import { ViewProvisioningJournalEntriesComponent } from './provisioning-entries/view-provisioning-journal-entries/view-provisioning-journal-entries.component'; +import { PipesModule } from 'app/pipes/pipes.module'; /** * Accounting Module @@ -46,7 +47,8 @@ import { ViewProvisioningJournalEntriesComponent } from './provisioning-entries/ imports: [ SharedModule, DirectivesModule, - AccountingRoutingModule + AccountingRoutingModule, + PipesModule ], declarations: [ AccountingComponent, diff --git a/src/app/accounting/search-journal-entry/search-journal-entry.component.html b/src/app/accounting/search-journal-entry/search-journal-entry.component.html index 4e60b5b20..550d92d10 100644 --- a/src/app/accounting/search-journal-entry/search-journal-entry.component.html +++ b/src/app/accounting/search-journal-entry/search-journal-entry.component.html @@ -90,7 +90,7 @@ Transaction Date - {{ journalEntry.transactionDate }} + {{ journalEntry.transactionDate | dateFormat }} @@ -105,7 +105,7 @@ Submitted on date - {{ journalEntry.submittedOnDate }} + {{ journalEntry.submittedOnDate | datetimeFormat }} @@ -120,12 +120,12 @@ Debit - {{ (journalEntry.currency.displaySymbol || journalEntry.currency.code) + ' ' + journalEntry.amount }} + {{ (journalEntry.currency.displaySymbol || journalEntry.currency.code) + ' ' + journalEntry.amount | number }} Credit - {{ (journalEntry.currency.displaySymbol || journalEntry.currency.code) + ' ' + journalEntry.amount }} + {{ (journalEntry.currency.displaySymbol || journalEntry.currency.code) + ' ' + journalEntry.amount | number }} @@ -133,6 +133,6 @@ - + diff --git a/src/app/accounting/view-journal-entry/view-journal-entry.component.html b/src/app/accounting/view-journal-entry/view-journal-entry.component.html index f1c91ff49..38f8253f3 100644 --- a/src/app/accounting/view-journal-entry/view-journal-entry.component.html +++ b/src/app/accounting/view-journal-entry/view-journal-entry.component.html @@ -21,7 +21,7 @@ Transaction Date - {{ data.journalEntry.transactionDate }} + {{ data.journalEntry.transactionDate | dateFormat }} @@ -45,10 +45,15 @@ Debit - {{ (data.journalEntry.currency.displaySymbol || data.journalEntry.currency.code) + ' ' + data.journalEntry.amount }} + {{ data.journalEntry.currency.displaySymbol }} {{ data.journalEntry.amount | number }} + + Currency + ({{ data.journalEntry.currency.code }}) {{ data.journalEntry.currency.name }} + + Reference Number {{ data.journalEntry.referenceNumber }} @@ -100,7 +105,7 @@ Submitted on - {{ data.journalEntry.submittedOnDate }} + {{ data.journalEntry.submittedOnDate | datetimeFormat }} diff --git a/src/app/accounting/view-transaction/view-transaction.component.html b/src/app/accounting/view-transaction/view-transaction.component.html index 65697eb20..86fdfa4fb 100644 --- a/src/app/accounting/view-transaction/view-transaction.component.html +++ b/src/app/accounting/view-transaction/view-transaction.component.html @@ -1,8 +1,7 @@
@@ -29,7 +28,7 @@
- {{ dataSource.data[0].transactionDate }} + {{ dataSource.data[0].transactionDate | dateFormat }}
@@ -45,7 +44,7 @@
- {{ dataSource.data[0].submittedOnDate }} + {{ dataSource.data[0].submittedOnDate | datetimeFormat }}
@@ -61,33 +60,33 @@ - + - + - + - + - - + + - - + + @@ -97,4 +96,7 @@ +
+ +
diff --git a/src/app/accounting/view-transaction/view-transaction.component.scss b/src/app/accounting/view-transaction/view-transaction.component.scss index 2a3da1ac0..a49f2e690 100644 --- a/src/app/accounting/view-transaction/view-transaction.component.scss +++ b/src/app/accounting/view-transaction/view-transaction.component.scss @@ -8,6 +8,10 @@ } } +.container { + max-width: 75rem; +} + table { width: 100%; diff --git a/src/app/accounting/view-transaction/view-transaction.component.ts b/src/app/accounting/view-transaction/view-transaction.component.ts index 811111114..782fe749c 100644 --- a/src/app/accounting/view-transaction/view-transaction.component.ts +++ b/src/app/accounting/view-transaction/view-transaction.component.ts @@ -12,6 +12,7 @@ import { AccountingService } from '../accounting.service'; /** Custom Components */ import { RevertTransactionComponent } from '../revert-transaction/revert-transaction.component'; import { ViewJournalEntryComponent } from '../view-journal-entry/view-journal-entry.component'; +import { Location } from '@angular/common'; /** * View transaction component. @@ -48,7 +49,8 @@ export class ViewTransactionComponent implements OnInit { constructor(private accountingService: AccountingService, private route: ActivatedRoute, private router: Router, - public dialog: MatDialog) { } + public dialog: MatDialog, + private location: Location) { } /** * Retrieves the transaction data from `resolve` and sets the transaction table. @@ -108,4 +110,8 @@ export class ViewTransactionComponent implements OnInit { }); } + goBack(): void { + this.location.back(); + } + } diff --git a/src/app/clients/clients-view/charges/view-charge/view-charge.component.html b/src/app/clients/clients-view/charges/view-charge/view-charge.component.html index 33d6c10fd..452924a36 100644 --- a/src/app/clients/clients-view/charges/view-charge/view-charge.component.html +++ b/src/app/clients/clients-view/charges/view-charge/view-charge.component.html @@ -16,8 +16,8 @@
- - + + {{ chargeData.name }} @@ -87,12 +87,12 @@
- + - + @@ -101,21 +101,21 @@ - + - + - + - - +
Entry ID Entry ID {{ transaction.id }} Type Type {{ transaction.glAccountType.value }} Account Code Account Code {{ transaction.glAccountCode }} Account Name Account Name {{ transaction.glAccountName }} Debit {{ (transaction.currency.displaySymbol || transaction.currency.code) + ' ' + transaction.amount }} Debit {{ (transaction.currency.displaySymbol || transaction.currency.code) + ' ' + transaction.amount }} Credit {{ (transaction.currency.displaySymbol || transaction.currency.code) + ' ' + transaction.amount }} Credit {{ (transaction.currency.displaySymbol || transaction.currency.code) + ' ' + transaction.amount }}
ID {{element.id}} Office Name {{element.officeName }} Type {{element.type.value}} Transaction Date {{element.date | dateFormat}} Amount {{element.amount}} {{element.amount | number }} Actions + +
@@ -129,4 +129,4 @@ - \ No newline at end of file + diff --git a/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.html b/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.html index 042ebbf56..b9935883d 100644 --- a/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.html +++ b/src/app/loans/loans-view/transactions/view-reciept/view-reciept.component.html @@ -2,7 +2,7 @@
+ Back
diff --git a/src/app/pipes/status-lookup.pipe.ts b/src/app/pipes/status-lookup.pipe.ts index 877e256f6..c544a7ec9 100644 --- a/src/app/pipes/status-lookup.pipe.ts +++ b/src/app/pipes/status-lookup.pipe.ts @@ -10,6 +10,7 @@ export class StatusLookupPipe implements PipeTransform { 'true': 'status-active', 'false': 'status-deleted', 'Active': 'status-active', + 'Block': 'status-block', 'charges.StatusType.active.true': 'status-active', 'loanStatusType.submitted.and.pending.approval': 'status-pending', 'loanStatusType.approved': 'status-approved', diff --git a/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.html b/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.html index f457d61af..83f0b752c 100644 --- a/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.html +++ b/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.html @@ -4,7 +4,6 @@

Hold Amount

Block Savings Account

-

Unblock Savings Account

diff --git a/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts b/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts index e4e98615c..2b5e00c56 100644 --- a/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts +++ b/src/app/savings/saving-account-actions/manage-savings-account/manage-savings-account.component.ts @@ -27,10 +27,10 @@ export class ManageSavingsAccountComponent implements OnInit { transactionType: { holdamount: boolean, - blockaccount: boolean, - unblockaccount: boolean + blockaccount: boolean } = { - holdamount: false, blockaccount: false, unblockaccount: false }; + holdamount: false, blockaccount: false + }; /** * @param {FormBuilder} formBuilder Form Builder @@ -41,12 +41,12 @@ export class ManageSavingsAccountComponent implements OnInit { * @param {SettingsService} settingsService Setting service */ constructor(private formBuilder: FormBuilder, - private savingsService: SavingsService, - private dateUtils: Dates, - private route: ActivatedRoute, - private router: Router, - private systemService: SystemService, - private settingsService: SettingsService) { + private savingsService: SavingsService, + private dateUtils: Dates, + private route: ActivatedRoute, + private router: Router, + private systemService: SystemService, + private settingsService: SettingsService) { this.transactionCommand = this.route.snapshot.params['name'].toLowerCase().replaceAll(' ', ''); this.transactionType[this.transactionCommand] = true; this.savingAccountId = this.route.parent.snapshot.params['savingAccountId']; @@ -83,15 +83,15 @@ export class ManageSavingsAccountComponent implements OnInit { } /** - * Creates the post interest savings account form. + * Creates the manage savings account form. */ createManageSavingsAccountForm() { if (this.transactionType.holdamount) { - this.manageSavingsAccountForm = this.formBuilder.group({ - 'reasonForBlock': ['', Validators.required], - 'transactionDate': ['', Validators.required], - 'transactionAmount': [0.0, Validators.required] - }); + this.manageSavingsAccountForm = this.formBuilder.group({ + 'reasonForBlock': ['', Validators.required], + 'transactionDate': ['', Validators.required], + 'transactionAmount': [0.0, Validators.required] + }); } else { this.manageSavingsAccountForm = this.formBuilder.group({ 'reasonForBlock': ['', Validators.required] @@ -101,7 +101,7 @@ export class ManageSavingsAccountComponent implements OnInit { submit() { let command = ''; - let payload = { }; + let payload = {}; if (this.transactionType.holdamount) { const manageSavingsAccountFormData = this.manageSavingsAccountForm.value; @@ -119,7 +119,6 @@ export class ManageSavingsAccountComponent implements OnInit { command = 'holdAmount'; this.savingsService.executeSavingsAccountTransactionsCommand(this.savingAccountId, command, payload).subscribe((response: any) => { - console.log(response); this.router.navigate(['../../transactions'], { relativeTo: this.route }); }); } else { @@ -131,7 +130,6 @@ export class ManageSavingsAccountComponent implements OnInit { } this.savingsService.executeSavingsAccountCommand(this.savingAccountId, command, payload).subscribe((response: any) => { - console.log(response); this.router.navigate(['../../transactions'], { relativeTo: this.route }); }); } diff --git a/src/app/savings/saving-account-actions/saving-account-actions.component.html b/src/app/savings/saving-account-actions/saving-account-actions.component.html index bc2a94ce2..8f6563d2a 100644 --- a/src/app/savings/saving-account-actions/saving-account-actions.component.html +++ b/src/app/savings/saving-account-actions/saving-account-actions.component.html @@ -10,4 +10,4 @@ - + diff --git a/src/app/savings/savings-account-view/savings-account-view.component.html b/src/app/savings/savings-account-view/savings-account-view.component.html index 620a315fb..b2e186e22 100644 --- a/src/app/savings/savings-account-view/savings-account-view.component.html +++ b/src/app/savings/savings-account-view/savings-account-view.component.html @@ -15,7 +15,9 @@

+ [matTooltip]="savingsAccountData.status.value" *ngIf="!savingsAccountData.subStatus.block"> + Savings Product : {{savingsAccountData.savingsProductName}}({{savingsAccountData.accountNo}})

@@ -53,7 +55,7 @@ - + diff --git a/src/app/savings/savings-account-view/savings-account-view.component.ts b/src/app/savings/savings-account-view/savings-account-view.component.ts index eba3a8e4c..3466fe649 100644 --- a/src/app/savings/savings-account-view/savings-account-view.component.ts +++ b/src/app/savings/savings-account-view/savings-account-view.component.ts @@ -12,6 +12,7 @@ import { ToggleWithholdTaxDialogComponent } from './custom-dialogs/toggle-withho /** Custom Buttons Configuration */ import { SavingsButtonsConfiguration } from './savings-buttons.config'; import { SavingsService } from '../savings.service'; +import { ConfirmationDialogComponent } from 'app/shared/confirmation-dialog/confirmation-dialog.component'; /** * Savings Account View Component @@ -64,7 +65,8 @@ export class SavingsAccountViewComponent implements OnInit { */ setConditionalButtons() { const status = this.savingsAccountData.status.value; - this.buttonConfig = new SavingsButtonsConfiguration(status); + const subStatus = this.savingsAccountData.subStatus; + this.buttonConfig = new SavingsButtonsConfiguration(status, subStatus); if (this.savingsAccountData.clientId) { this.buttonConfig.addOption({ name: 'Transfer Funds', @@ -108,7 +110,6 @@ export class SavingsAccountViewComponent implements OnInit { } } - /** * Refetches data foe the component * TODO: Replace by a custom reload component instead of hard-coded back-routing. @@ -137,7 +138,6 @@ export class SavingsAccountViewComponent implements OnInit { case 'Add Charge': case 'Hold Amount': case 'Block Account': - case 'Unblock Account': case 'Unassign Staff': case 'Withdraw By Client': case 'Apply Annual Fees': @@ -168,6 +168,9 @@ export class SavingsAccountViewComponent implements OnInit { const queryParams: any = { savingsId: this.savingsAccountData.id, accountType: 'fromsavings' }; this.router.navigate(['transfer-funds/make-account-transfer'], { relativeTo: this.route, queryParams: queryParams }); break; + case 'Unblock Account': + this.unblockSavingsAccount(); + break; } } @@ -249,4 +252,20 @@ export class SavingsAccountViewComponent implements OnInit { }); } + /** + * Unblock Savings Account. + */ + private unblockSavingsAccount() { + const unblockSavingsAccountDialogRef = this.dialog.open(ConfirmationDialogComponent, { + data: { heading: 'Unblock Savings Account', dialogContext: 'Are you sure you want Unblock this Savings Account' } + }); + unblockSavingsAccountDialogRef.afterClosed().subscribe((response: { confirm: any }) => { + if (response.confirm) { + this.savingsService.executeSavingsAccountCommand(this.savingsAccountData.id, 'unblock', { }) + .subscribe(() => { + this.reload(); + }); + } + }); + } } diff --git a/src/app/savings/savings-account-view/savings-buttons.config.ts b/src/app/savings/savings-account-view/savings-buttons.config.ts index 9c70e75a1..67e163151 100644 --- a/src/app/savings/savings-account-view/savings-buttons.config.ts +++ b/src/app/savings/savings-account-view/savings-buttons.config.ts @@ -12,9 +12,9 @@ export class SavingsButtonsConfiguration { taskPermissionName: string, }[]; - constructor(status: string) { + constructor(status: string, substatus: any) { this.setOptions(status); - this.setButtons(status); + this.setButtons(status, substatus); } get singleButtons() { @@ -25,36 +25,60 @@ export class SavingsButtonsConfiguration { return this.optionArray; } - setButtons(status: string) { + setButtons(status: string, substatus: any) { switch (status) { case 'Active': - this.buttonsArray = [ + this.buttonsArray = []; + if (!substatus.block) { + if (!substatus.blockCredit) { + this.buttonsArray.push( + { + name: 'Deposit', + icon: 'arrow-up', + taskPermissionName: 'DEPOSIT_SAVINGSACCOUNT' + } + ); + } + if (!substatus.blockDebit) { + this.buttonsArray.push( + { + name: 'Withdrawal', + icon: 'arrow-down', + taskPermissionName: 'WITHDRAWAL_SAVINGSACCOUNT' + } + ); + } + this.buttonsArray = this.buttonsArray.concat([ + { + name: 'Block Account', + icon: 'lock', + taskPermissionName: 'BLOCK_SAVINGSACCOUNT' + }, + { + name: 'Hold Amount', + icon: 'lock', + taskPermissionName: 'HOLDAMOUNT_SAVINGSACCOUNT' + }, + { + name: 'Calculate Interest', + icon: 'table', + taskPermissionName: 'CALCULATEINTEREST_SAVINGSACCOUNT' + }, + { + name: 'Post Interest As On', + icon: 'arrow-right', + taskPermissionName: 'POSTINTEREST_SAVINGSACCOUNT', + }, + ]); + } else { + this.buttonsArray = [ { - name: 'Deposit', - icon: 'arrow-up', - taskPermissionName: 'DEPOSIT_SAVINGSACCOUNT' - }, - { - name: 'Withdraw', - icon: 'arrow-down', - taskPermissionName: 'WITHDRAW_SAVINGSACCOUNT' - }, - { - name: 'Hold Amount', - icon: 'lock', - taskPermissionName: 'HOLDAMOUNT_SAVINGSACCOUNT' - }, - { - name: 'Calculate Interest', - icon: 'table', - taskPermissionName: 'CALCULATEINTEREST_SAVINGSACCOUNT' - }, - { - name: 'Post Interest As On', - icon: 'arrow-right', - taskPermissionName: 'POSTINTEREST_SAVINGSACCOUNT', - }, - ]; + name: 'Unblock Account', + icon: 'lock-open', + taskPermissionName: 'UNBLOCK_SAVINGSACCOUNT' + } + ]; + } break; case 'Submitted and pending approval': this.buttonsArray = [ diff --git a/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.html b/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.html index b5e83bca2..aacc31afd 100644 --- a/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.html +++ b/src/app/savings/savings-account-view/transactions/view-transaction/view-transaction.component.html @@ -50,20 +50,20 @@ {{ transactionData.date | dateFormat }}
-
- Currency -
- -
- {{ transactionData.currency.displayLabel }} -
-
Amount
- {{ transactionData.amount }} + {{ transactionData.currency.displaySymbol }} {{ transactionData.amount | number }} ({{ transactionData.currency.code }}) +
+ +
+ Currency +
+ +
+ {{ transactionData.currency.name }}
diff --git a/src/app/savings/savings-routing.module.ts b/src/app/savings/savings-routing.module.ts index aa0f4b745..01a36570d 100644 --- a/src/app/savings/savings-routing.module.ts +++ b/src/app/savings/savings-routing.module.ts @@ -178,7 +178,7 @@ const routes: Routes = [ }, { path: 'actions/:name', - data: { title: extract('Savings Account Actions'), routeParamBreadcrumb: 'name' }, + data: { title: extract('Savings Account Actions'), breadcrumb: 'name', routeParamBreadcrumb: false }, component: SavingAccountActionsComponent, resolve: { savingsAccountActionData: SavingsAccountActionsResolver diff --git a/src/assets/styles/_status.scss b/src/assets/styles/_status.scss index 0c6718604..e9e729287 100644 --- a/src/assets/styles/_status.scss +++ b/src/assets/styles/_status.scss @@ -26,6 +26,10 @@ color: $status-active-overdue; } +.status-block { + color: $status-active-overdue; +} + .status-matured { color: $status-matured; }