PDF javítása + %-os készültség javítása

This commit is contained in:
2025-05-22 21:01:27 +02:00
parent e745f313a8
commit 98442dfe90
4 changed files with 3 additions and 2 deletions
@@ -7,7 +7,7 @@ namespace WorkFlowCheck.Web.Helpers
public static class SystemHelper
{
public static string DatabaseName = "";
public static string ProgramVersion = "v1.1.023";
public static string ProgramVersion = "v1.1.024";
public async static Task GetAPIInfoAsync(IConfiguration configuration)
{
@@ -52,7 +52,7 @@ namespace WorkFlowCheck.Web.Pages.CheckList.CheckListHeader
CheckListHeaderInfoDTO.EmptyAnswerCount = result.EmptyAnswerCount;
if (CheckListHeaderInfoDTO.TotalRowCount > 0)
{
CheckListHeaderInfoDTO.ReadyPercent = ((CheckListHeaderInfoDTO.TotalRowCount - CheckListHeaderInfoDTO.EmptyAnswerCount) / CheckListHeaderInfoDTO.TotalRowCount * 100)
CheckListHeaderInfoDTO.ReadyPercent = ((double)(CheckListHeaderInfoDTO.TotalRowCount - CheckListHeaderInfoDTO.EmptyAnswerCount) / CheckListHeaderInfoDTO.TotalRowCount * 100)
.ToString("0.00", new CultureInfo("hu-HU")) + " %"; ;
}
}