diff --git a/Wonky.Client/Components/OfficeCountryCustomerViewComponent.razor b/Wonky.Client/Components/OfficeCountryCustomerViewComponent.razor new file mode 100644 index 00000000..94b4c58f --- /dev/null +++ b/Wonky.Client/Components/OfficeCountryCustomerViewComponent.razor @@ -0,0 +1,59 @@ +@using Wonky.Entity.DTO +@using Wonky.Client.Helpers + +
+
+ @Company.Name @(Company.HasFolded == 1 ? "(OPHØRT)" : "") +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Konto@Company.AccountOrg Nr.@(string.IsNullOrWhiteSpace(Company.VatNumber) ? "mangler" : Company.VatNumber)
Telefon@Company.Phone
Adresse@Company.Address1 @(string.IsNullOrWhiteSpace(Company.Address2) ? "" : ",") @Company.Address2
Post By@Company.CountryCode.ToUpper()-@Company.ZipCode @Company.City
+ Sælgernr. + + @Company.SalesRep +
Sidst besøgt + @(Mapper.MapVisitState(Company.LastVisit) == "the-draw" ? "?" : Company.LastVisit) +
Næste besøg + @(Mapper.MapVisitState(Company.LastVisit) == "the-draw" ? "?" : Company.NextVisit) +
+
+
+ + +@code { + + [Parameter] public CompanyDto Company { get; set; } = new(); + + [Parameter] public EventCallback OnReloadHistory { get; set; } + +} \ No newline at end of file diff --git a/Wonky.Client/wwwroot/appsettings.json b/Wonky.Client/wwwroot/appsettings.json index 7162d2be..f4855069 100644 --- a/Wonky.Client/wwwroot/appsettings.json +++ b/Wonky.Client/wwwroot/appsettings.json @@ -1,7 +1,7 @@ { "appInfo": { "name": "Wonky Online", - "version": "237.1", + "version": "237.2", "rc": true, "sandBox": true, "image": "grumpy-coder.png",