-
+
@Html.Partial("CustomerBetreuungPartial", Model)
diff --git a/BeWoPlanerMobil/Views/Customer/CustomerBetreuungPartial.cshtml b/BeWoPlanerMobil/Views/Customer/CustomerBetreuungPartial.cshtml
index 4dbacb741..e03dc0c2f 100644
--- a/BeWoPlanerMobil/Views/Customer/CustomerBetreuungPartial.cshtml
+++ b/BeWoPlanerMobil/Views/Customer/CustomerBetreuungPartial.cshtml
@@ -10,111 +10,93 @@
@if(hasRelatedEmployees && Model.SelectedCustomer != null)
{
-
-
-
-
-
- @foreach(var relation in Model.SelectedCustomer.RelatedEmployees)
- {
- var start = relation.StartDate.HasValue ? $"{relation.StartDate.Value:dd.MM.yyyy}" : "";
- var end = relation.EndDate.HasValue ? $"{relation.EndDate.Value:dd.MM.yyyy}" : "";
+ foreach(var relation in Model.SelectedCustomer.RelatedEmployees)
+ {
+ var start = relation.StartDate.HasValue ? $"{relation.StartDate.Value:dd.MM.yyyy}" : "";
+ var end = relation.EndDate.HasValue ? $"{relation.EndDate.Value:dd.MM.yyyy}" : "";
- var relationRole = relation.RelationRole?.DisplayName ?? string.Empty;
+ var relationRole = relation.RelationRole?.DisplayName ?? string.Empty;
-
-
-
-
-
-
- | Betreuer: |
- @relation.Employee |
-
-
- | Rolle: |
- @relationRole |
-
- @if(!string.IsNullOrWhiteSpace(start))
- {
-
- | Startdatum: |
- @start |
-
- }
- @if(!string.IsNullOrWhiteSpace(end))
- {
-
- | Enddatum: |
- @end |
-
- }
- @if(!string.IsNullOrWhiteSpace(relation.Notice))
- {
-
- | Erläuterung: |
- @relation.Notice |
-
- }
-
-
-
-
-
- }
+
+
+
+
+
+
+ | Betreuer: |
+ @relation.Employee |
+
+
+ | Rolle: |
+ @relationRole |
+
+ @if(!string.IsNullOrWhiteSpace(start))
+ {
+
+ | Startdatum: |
+ @start |
+
+ }
+ @if(!string.IsNullOrWhiteSpace(end))
+ {
+
+ | Enddatum: |
+ @end |
+
+ }
+ @if(!string.IsNullOrWhiteSpace(relation.Notice))
+ {
+
+ | Erläuterung: |
+ @relation.Notice |
+
+ }
+
+
-
+ }
}
@*Teams*@
@if(hasRelatedTeams && Model.SelectedCustomer != null)
{
-
-