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 + +
Konto | +@Company.Account | +Org 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) + | +