diff --git a/apps/api/src/app/account/transfer-balance.dto.ts b/apps/api/src/app/account/transfer-balance.dto.ts new file mode 100644 index 000000000..fb602033e --- /dev/null +++ b/apps/api/src/app/account/transfer-balance.dto.ts @@ -0,0 +1,12 @@ +import { IsNumber, IsString } from 'class-validator'; + +export class TransferBalanceDto { + @IsString() + accountIdFrom: string; + + @IsString() + accountIdTo: string; + + @IsNumber() + balance: number; +} diff --git a/apps/api/src/app/account/transfer-cash-balance.dto.ts b/apps/api/src/app/account/transfer-cash-balance.dto.ts deleted file mode 100644 index 7fe08ecec..000000000 --- a/apps/api/src/app/account/transfer-cash-balance.dto.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { - IsNumber, - IsString, -} from 'class-validator'; - -export class TransferCashBalanceDto { - @IsString() - accountIdFrom: string; - - @IsString() - accountIdTo: string; - - @IsNumber() - balance: number; -} diff --git a/apps/client/src/app/components/accounts-table/accounts-table.component.html b/apps/client/src/app/components/accounts-table/accounts-table.component.html index d3ece8977..664694735 100644 --- a/apps/client/src/app/components/accounts-table/accounts-table.component.html +++ b/apps/client/src/app/components/accounts-table/accounts-table.component.html @@ -1,3 +1,14 @@ +
();
@Output() accountToUpdate = new EventEmitter |
---|