|
@@ -84,7 +84,10 @@ end;
|
|
|
|
|
|
TAccountHelper = record helper for TAccount
|
|
TAccountHelper = record helper for TAccount
|
|
function GetAccountString : AnsiString;
|
|
function GetAccountString : AnsiString;
|
|
|
|
+ function GetDisplayString : AnsiString;
|
|
function GetInfoText(const ABank : TPCBank) : utf8string;
|
|
function GetInfoText(const ABank : TPCBank) : utf8string;
|
|
|
|
+ property AccountString : AnsiString read GetAccountString;
|
|
|
|
+ property DisplayString : AnsiString read GetDisplayString;
|
|
end;
|
|
end;
|
|
|
|
|
|
{ TOperationResumeHelper }
|
|
{ TOperationResumeHelper }
|
|
@@ -328,6 +331,13 @@ begin
|
|
Result := TAccountComp.AccountNumberToAccountTxtNumber(Self.account);
|
|
Result := TAccountComp.AccountNumberToAccountTxtNumber(Self.account);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+function TAccountHelper.GetDisplayString : AnsiString;
|
|
|
|
+begin
|
|
|
|
+ Result := GetAccountString;
|
|
|
|
+ if Self.name <> '' then
|
|
|
|
+ Result := Result + ': ' + Self.name;
|
|
|
|
+end;
|
|
|
|
+
|
|
function TAccountHelper.GetInfoText(const ABank : TPCBank) : utf8string;
|
|
function TAccountHelper.GetInfoText(const ABank : TPCBank) : utf8string;
|
|
var
|
|
var
|
|
builder : TStrings;
|
|
builder : TStrings;
|