From 85c9dbaa015c577629c2905bcefdcc61b9e02338 Mon Sep 17 00:00:00 2001 From: Frede Hundewadt Date: Fri, 21 Oct 2022 08:54:11 +0200 Subject: [PATCH] =?UTF-8?q?changed=20text=20to=20'Medk=C3=B8rende=20Superv?= =?UTF-8?q?isor'=20don't=20notify=20office=20on=20note=20change=20update?= =?UTF-8?q?=20dotnet=20to=206.0.10.402?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Wonky.Client/Components/ReportSummaryComponent.razor | 2 +- Wonky.Client/Components/ReportTableComponent.razor | 4 ++-- Wonky.Client/Pages/CrmCompanyViewPage.razor | 4 ++-- Wonky.Client/Pages/CrmCompanyViewPage.razor.cs | 3 ++- Wonky.Client/Pages/CrmReportNewPage.razor | 2 +- Wonky.Client/Wonky.Client.csproj | 10 +++++----- Wonky.Client/wwwroot/appsettings.json | 2 +- 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Wonky.Client/Components/ReportSummaryComponent.razor b/Wonky.Client/Components/ReportSummaryComponent.razor index ec6d212f..df10d2ae 100644 --- a/Wonky.Client/Components/ReportSummaryComponent.razor +++ b/Wonky.Client/Components/ReportSummaryComponent.razor @@ -54,7 +54,7 @@ Salgsmøde break; case "Supervisor": - Supervisor + Medkørende Supervisor break; default: diff --git a/Wonky.Client/Components/ReportTableComponent.razor b/Wonky.Client/Components/ReportTableComponent.razor index 4e7675d6..addae76a 100644 --- a/Wonky.Client/Components/ReportTableComponent.razor +++ b/Wonky.Client/Components/ReportTableComponent.razor @@ -15,7 +15,7 @@ // *@ -@if (ReportList != null) +@if (ReportList.Any()) {
@@ -64,7 +64,7 @@ Ferie break; case "Supervisor": - Supervisor + Medkørende Supervisor break; } } diff --git a/Wonky.Client/Pages/CrmCompanyViewPage.razor b/Wonky.Client/Pages/CrmCompanyViewPage.razor index 96280cd3..4fec1671 100644 --- a/Wonky.Client/Pages/CrmCompanyViewPage.razor +++ b/Wonky.Client/Pages/CrmCompanyViewPage.razor @@ -73,11 +73,11 @@ @if (string.IsNullOrWhiteSpace(_company.Note)) { - + } else { - + } diff --git a/Wonky.Client/Pages/CrmCompanyViewPage.razor.cs b/Wonky.Client/Pages/CrmCompanyViewPage.razor.cs index 48b973e9..c8a7c667 100644 --- a/Wonky.Client/Pages/CrmCompanyViewPage.razor.cs +++ b/Wonky.Client/Pages/CrmCompanyViewPage.razor.cs @@ -68,6 +68,7 @@ public partial class CrmCompanyViewPage : IDisposable private bool _dk { get; set; } = true; private int _isDirty { get; set; } private int _vatUpdated { get; set; } + private VatLookupDkModal _vatLookupModal { get; set; } = new(); private readonly JsonSerializerOptions _options = new () @@ -146,7 +147,7 @@ public partial class CrmCompanyViewPage : IDisposable { _formInvalid = !_editContext.Validate(); } - if(_vatUpdated == 0) + if(_vatUpdated == 0 && e.FieldIdentifier.FieldName != "Note") _isDirty = 1; StateHasChanged(); diff --git a/Wonky.Client/Pages/CrmReportNewPage.razor b/Wonky.Client/Pages/CrmReportNewPage.razor index 6982dc88..aac7032d 100644 --- a/Wonky.Client/Pages/CrmReportNewPage.razor +++ b/Wonky.Client/Pages/CrmReportNewPage.razor @@ -53,7 +53,7 @@ - + diff --git a/Wonky.Client/Wonky.Client.csproj b/Wonky.Client/Wonky.Client.csproj index 08856460..e5943b3e 100644 --- a/Wonky.Client/Wonky.Client.csproj +++ b/Wonky.Client/Wonky.Client.csproj @@ -11,15 +11,15 @@ - - - - + + + + - + diff --git a/Wonky.Client/wwwroot/appsettings.json b/Wonky.Client/wwwroot/appsettings.json index 00ca3e0d..cba7ffee 100644 --- a/Wonky.Client/wwwroot/appsettings.json +++ b/Wonky.Client/wwwroot/appsettings.json @@ -1,7 +1,7 @@ { "appInfo": { "name": "Wonky Client", - "version": "0.29.2", + "version": "0.29.3", "rc": false, "sandBox": false, "image": "grumpy-coder.png"