|
|
@@ -0,0 +1,153 @@
|
|
|
+@model GreenTree.Strohrmann.ERP.Web.Models.Business.CustomerModel
|
|
|
+
|
|
|
+@{
|
|
|
+ ViewData["Title"] = "Kundendetails";
|
|
|
+}
|
|
|
+
|
|
|
+<h1>Kundendetails</h1>
|
|
|
+
|
|
|
+<h4>@Model.Lastname, @Model.Firstname</h4>
|
|
|
+
|
|
|
+<hr />
|
|
|
+
|
|
|
+<div class="card-deck">
|
|
|
+ <div class="card">
|
|
|
+ <div class="card-header pb-1">
|
|
|
+ <h6>Kundenname / -firma</h6>
|
|
|
+ </div>
|
|
|
+ <div class="card-body">
|
|
|
+ <dl class="row">
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.Id)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.Id)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.Firstname)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.Firstname)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.Lastname)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.Lastname)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.CompanyName)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.CompanyName)
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="card">
|
|
|
+ <div class="card-header pb-1">
|
|
|
+ <h6>Adressdaten</h6>
|
|
|
+ </div>
|
|
|
+ <div class="card-body">
|
|
|
+ <dl class="row">
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.Address)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.Address)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.Town)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.Town)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.ZipCode)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.ZipCode)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.Country)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.Country)
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="card">
|
|
|
+ <div class="card-header pb-1">
|
|
|
+ <h6>Sonstige Daten</h6>
|
|
|
+ </div>
|
|
|
+ <div class="card-body">
|
|
|
+ <dl class="row">
|
|
|
+ <dt class = "col-sm-6">
|
|
|
+ @Html.DisplayNameFor(model => model.IsBusiness)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.YesNoBadgeFor(model => model.IsBusiness)
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<hr />
|
|
|
+
|
|
|
+<div class="d-flex">
|
|
|
+ @Html.ActionLink("Bearbeiten", "Edit", new { id = Model.Id })
|
|
|
+ <div class="align-self-center ml-3">
|
|
|
+ <a asp-action="Index">Zurück zur Liste</a>
|
|
|
+ </div>
|
|
|
+ <div class="align-self-center ml-auto">
|
|
|
+ <a href="#" data-toggle="modal" data-target="#trackingModal">Änderungsinfo</a>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<div id="trackingModal" class="modal fade" tabindex="-1" role="dialog">
|
|
|
+ <div class="modal-dialog" role="document">
|
|
|
+ <div class="modal-content">
|
|
|
+ <div class="modal-header bg-info text-white">
|
|
|
+ <h5 class="modal-title">Änderungsinfo - @Model.Lastname, @Model.Firstname</h5>
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
+ <span aria-hidden="true">×</span>
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ <div class="modal-body">
|
|
|
+ <dl class="row">
|
|
|
+ <dt class = "col-sm-4">
|
|
|
+ @Html.DisplayNameFor(model => model.CreatedBy)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.CreatedBy)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-4">
|
|
|
+ @Html.DisplayNameFor(model => model.CreatedOn)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.CreatedOn)
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="row">
|
|
|
+ <dt class = "col-sm-4">
|
|
|
+ @Html.DisplayNameFor(model => model.ChangedBy)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.ChangedBy)
|
|
|
+ </dd>
|
|
|
+ <dt class = "col-sm-4">
|
|
|
+ @Html.DisplayNameFor(model => model.ChangedOn)
|
|
|
+ </dt>
|
|
|
+ <dd class = "col-sm-6">
|
|
|
+ @Html.DisplayFor(model => model.ChangedOn)
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ </div>
|
|
|
+ <div class="modal-footer">
|
|
|
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">Schließen</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|