@model ParcelWeb.Core.Dto.CustomerDto @using ParcelWeb.Core @{ ViewBag.Title = "Edit Customer"; }
Card image
@foreach (var item in Model.Roles) {
@item
} @Model.Status @*
Markup: @Model.FreightMarkup @(Model.IsFixedMarkup == true ? "Rs" : "%")
*@
Username @Model.CompanyName
Business Name @Model.BusinessName
Owner Name @Model.OwnerName
Country @Model.Country.Name
State @Model.State
City @Model.City
ZipCode @Model.ZipCode
Company Ph# @Model.PhoneNo
Mobile Number @Model.MobileNo
Mobile Number2 @Model.MobileNo2
E-mail @Model.CompanyEmail
CNIC @Model.CNIC
NTN # @Model.NTN
Sales Tax # @Model.SalesTaxNo
Pickup Address @Model.PickupAddress
Billing Address @Model.BillingAddress
Contact Person @Model.ContactPerson
Designation @Model.ContactPersonDesignation
Mobile Number @Model.ContactPersonMobile
Contact Person CNIC @Model.ContactPersonCNIC

Account Detail

@if (String.IsNullOrWhiteSpace(Model.UserId)) {
@using (Html.BeginForm("CreateCustomer", "AppUser", FormMethod.Post, new { @id = "frmUser", @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Id)
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.UserName, htmlAttributes: new { @class = "" }) @Html.EditorFor(model => model.UserName, new { htmlAttributes = new { @Value = Model.CompanyName, @class = "form-control" } }) @Html.ValidationMessageFor(model => model, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CompanyEmail, "Company Email", htmlAttributes: new { @class = "" }) @Html.EditorFor(model => model.CompanyEmail, new { htmlAttributes = new { @Value = Model.CompanyEmail, @class = "form-control", @Readonly = "true" } }) @Html.ValidationMessageFor(model => model.CompanyEmail, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Password, htmlAttributes: new { @class = "" }) @Html.EditorFor(model => model.Password, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ConfirmPassword, htmlAttributes: new { @class = "" }) @Html.EditorFor(model => model.ConfirmPassword, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ConfirmPassword, "", new { @class = "text-danger" })
@Html.Label("Role", htmlAttributes: new { @class = "" })
}
}
@section Scripts { @Scripts.Render("~/bundles/jqueryval") @Html.Raw(TempData["msg"]) }