Debugging-Code herausgenommen

This commit is contained in:
Lyndon
2019-04-01 13:45:39 +02:00
parent b1fbff2165
commit eb2ba3f1f6
2 changed files with 4 additions and 18 deletions

View File

@@ -2369,10 +2369,6 @@ namespace BeWoPlanerMobil.Controllers
return "SessionTimeout";
}
var customer = CustomerService.LoadCustomer(customerOid);
var umfeld = customer.EnvironmentPersons;
var jake = umfeld.Where(w => w.Person.LastName.Equals("Chambers"));
Model.SelectedCustomer = CustomerService.LoadCustomer(customerOid);
Model.SelectedCustomerOid = customerOid;

View File

@@ -36,14 +36,14 @@
</div>
<img id="sanduhr" class="warte-animation" alt="Lade..." src="@Url.Content("~/Content/images/spinner.png")">
<script>function topkek() { console.log("onclick called..."); }</script>
<div id="zeiterfassung">
<div class="margin-div" style="overflow: hidden;">
@using(Html.BeginForm("SetShowOnlyOwnSupportConcepts", "Main", FormMethod.Post))
{
@Html.CheckBoxFor(m => m.ShowOnlyOwnSupportConcepts, new { onchange = "showSanduhr();this.form.submit();", id = "ShowOnlyOwnSupportConceptsCheckBox" })
@Html.LabelFor(m => m.ShowOnlyOwnSupportConcepts, new { id = "LabelForShowOnlyOwnSupporConceptsCB", onclick ="alert('test');" })
@Html.LabelFor(m => m.ShowOnlyOwnSupportConcepts, new { id = "LabelForShowOnlyOwnSupporConceptsCB", onclick= "topkek()" })
}
@using(Html.BeginForm("SetShowExpiredSupportConcepts", "Main", FormMethod.Post))
@@ -81,23 +81,13 @@
@foreach (var x in Model.SelectedRelations)
{
<tr class="groupBookingSelectionTableRow" id="groupSelectionRow_@x.Value">
<td class="groupBookingSelectionLeftCell" style="@{
if(counter == Model.SelectedRelations.Count() - 1)
{
@Html.Raw("border-bottom: none;")
}
}">
<td class="groupBookingSelectionLeftCell" style="@{ if(counter == Model.SelectedRelations.Count() - 1) { @Html.Raw("border-bottom: none;") } }">
<p class="groupBookingPTag">@x.Text1</p>
<br />
<p class="groupBookingPTag" style="color: @x.TextColor;">@x.Text2</p>
<input type="hidden" value="@x.Value" name="RelOidHolder" />
</td>
<td class="groupBookingSelectionRightCell" style="@{
if(counter == Model.SelectedRelations.Count() - 1)
{
@Html.Raw("border-bottom: none;")
}
}">
<td class="groupBookingSelectionRightCell" style="@{ if(counter == Model.SelectedRelations.Count() - 1) { @Html.Raw("border-bottom: none;") } }">
<input type="button" class="remove_btn" value="" onclick="removeSupportConceptViaGet(@x.Value)" />
</td>
</tr>