diff --git a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html index 5ef01be87..5388895f7 100644 --- a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html +++ b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.html @@ -1,143 +1,171 @@ - +
+ +
-
- @if (isFromClient) { -
- -

{{ 'labels.heading.Client Type' | translate }}

-
- -

{{ clientName }}

-
-
- } + +
+ @if (isFromClient) { +
+
+

{{ 'labels.heading.Client Type' | translate }}

+
+
+

{{ clientName }}

+
+
+ } - @if (!isFromClient) { -
- - + @if (!isFromClient) { + + {{ 'labels.text.ClientName' | translate }} + - - + + + {{ 'labels.text.FromClientId' | translate }} + -
- } + } - + + {{ 'labels.inputs.Type' | translate }} + + @for (transferTypeData of transferTypeDatas; track transferTypeData) { + + {{ transferTypeData.value }} + + } + + - - {{ 'labels.inputs.Type' | translate }} - - @for (transferTypeData of transferTypeDatas; track transferTypeData) { - - {{ transferTypeData.value }} - - } - - + + {{ 'labels.text.FromAccountId' | translate }} + + +
+
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ 'labels.inputs.Client' | translate }} - {{ instruction.fromClient.displayName }}-{{ instruction.fromClient.id }} - {{ 'labels.inputs.From Account' | translate }} - {{ instruction.fromAccount.accountNo }} ({{ instruction.fromAccountType.value }}) - {{ 'labels.inputs.Beneficiary' | translate }}{{ instruction.toClient.displayName }}{{ 'labels.inputs.To Account' | translate }} - {{ instruction.toAccount.accountNo }} ({{ instruction.toAccountType.value }}) - {{ 'labels.inputs.Amount' | translate }}{{ instruction.instructionType.value }}/{{ instruction.amount }}{{ 'labels.inputs.Validity' | translate }} - {{ instruction.validFrom | dateFormat }} to {{ instruction.validTill | dateFormat }} - {{ 'labels.inputs.Actions' | translate }} - @if (instruction.status.value !== 'Deleted') { - - - - } - @if (instruction.status.value !== 'Deleted') { - - - - } - -
- -
diff --git a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.scss b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.scss index 4f72a3ec1..aaf0831b9 100644 --- a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.scss +++ b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.scss @@ -1,23 +1,29 @@ -// Version 1 - .container { - .filter-button { - height: 2.5rem; - margin-top: 2rem; + .table-container { + margin-top: 1rem; + + .bordered-table { + width: 100%; + + .account-action-button { + min-width: 1.625rem; + padding: 0 0.375rem; + margin: 0.25rem; + line-height: 1.5625rem; + } + + th, + td { + padding: 0.75rem 1rem; + } + + th { + font-weight: 500; + } + } + + mat-paginator { + border-top: 1px solid #e0e0e0; + } } } - -table { - width: 100%; - - .account-action-button { - min-width: 26px; - padding: 0 6px; - margin: 4px; - line-height: 25px; - } -} - -.mat-divider { - border-top-color: #fff; -} diff --git a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts index c9db2a58e..891b8f3e7 100644 --- a/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts +++ b/src/app/account-transfers/list-standing-instructions/list-standing-instructions.component.ts @@ -24,7 +24,6 @@ import { AccountTransfersService } from '../account-transfers.service'; /** Dialog Components */ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component'; import { SettingsService } from 'app/settings/settings.service'; -import { MatDivider } from '@angular/material/divider'; import { MatTooltip } from '@angular/material/tooltip'; import { DateFormatPipe } from '../../pipes/date-format.pipe'; import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; @@ -38,7 +37,6 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; styleUrls: ['./list-standing-instructions.component.scss'], imports: [ ...STANDALONE_SHARED_IMPORTS, - MatDivider, MatTable, MatColumnDef, MatHeaderCellDef, diff --git a/src/main.scss b/src/main.scss index ee1d1b9f5..f116910e7 100644 --- a/src/main.scss +++ b/src/main.scss @@ -651,23 +651,3 @@ mat-card { overflow: hidden; } } - -//Re-positions account type field on list standing instructions page -.type-field { - position: absolute; - left: 1px; - top: 20px; -} - -//Re-positions account id field on list standing instructions page -.account-Id-field { - position: absolute; - left: 490px; - top: 20px; -} - -//Re-positions client name label on list standing instructions page -.client-Name { - position: absolute; - left: 490px; -}