Explorar o código

UCoreUtils: fix bug in helper

Herman Schoenfeld %!s(int64=7) %!d(string=hai) anos
pai
achega
aca19ff057
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core.utils/UCoreUtils.pas

+ 1 - 1
src/core.utils/UCoreUtils.pas

@@ -738,7 +738,7 @@ var
   LAccs : TArray<TAccount>;
 begin
   Result := CT_BalanceSummary_Nil;
-  LAccs := Self.GetAccounts;
+  LAccs := Self.GetAccounts(IncludePending);
   for i := Low(LAccs) to High(LAccs) do begin
     Inc(Result.TotalPASA);
     Inc(Result.TotalPASC, LAccs[i].Balance);