Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model Client_Service.Models.ModelCallDetails
- @{
- ViewBag.Title = "EditCall";
- }
- <style>
- input[type="file"] {
- display: none;
- }
- .custom-file-upload {
- border: 1px solid #ccc;
- display: inline-block;
- padding: 6px 12px;
- cursor: pointer;
- background-color: white;
- }
- </style>
- <br />
- <h2>Reply</h2>
- <style>
- body {
- overflow-y: scroll;
- }
- </style>
- @*This maintains scroll position for affected service selection*@
- <script>
- $(window).scroll(function () {
- sessionStorage.scrollTop = $(this).scrollTop();
- });
- $(document).ready(function () {
- if (sessionStorage.scrollTop != "undefined") {
- $(window).scrollTop(sessionStorage.scrollTop);
- }
- });
- </script>
- <hr />
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- <h4>@ViewBag.CallCentreHeader</h4>
- <hr />
- <div class="form-horizontal">
- @{ TempData["call_id"] = ViewBag.CallID;}
- @using (Html.BeginForm("EditCall", "CallDetails", FormMethod.Post, new { enctype = "multipart/form-data" }))
- {
- @Html.AntiForgeryToken()
- bool notGeneris = true;
- if (ViewBag.OrgID == "generis")
- {
- notGeneris = false;
- }
- // <form action="" method="post">
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- //failed email
- @Html.Raw(ViewBag.FailReply)
- <div class="form-group">
- @Html.Label("Customer Ref", htmlAttributes: new { @class = "control-label col-xs-2 col-sm-2 col-md-2 col-lg-2" })
- @if (!notGeneris)
- {
- <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
- <input class="form-control" name="Customer_Ref" type="text" value="@ViewBag.Customer_Ref" />
- @*@Html.EditorFor(model => model.Customer_Ref, new { htmlAttributes = new { @class = "form-control", @readonly = true } })*@
- @Html.ValidationMessageFor(model => model.Customer_Ref, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
- <input class="form-control" name="Customer_Ref" type="text" value="@ViewBag.Customer_Ref" readonly />
- @*@Html.EditorFor(model => model.Customer_Ref, new { htmlAttributes = new { @class = "form-control" } })*@
- @Html.ValidationMessageFor(model => model.Customer_Ref, "", new { @class = "text-danger" })
- </div>
- }
- </div>
- <hr />
- <h4>Contact Details</h4>
- <hr />
- <div class="form-group">
- <div class="col-xs-6 col-sm-6 col-xs-6 col-sm-6 col-md-6 col-lg-6 col-lg-6">
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Reported By</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Reported_By" type="text" value="@ViewBag.Reported_By" readonly />
- @* @Html.EditorFor(model => model.Reported_By, new { htmlAttributes = new { @class = "form-control", @readonly = true } })*@
- @Html.ValidationMessageFor(model => model.Reported_By, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Organisation Name</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Organisation_Name" type="text" value="@ViewBag.Organisation_Name" readonly />
- @* @Html.EditorFor(model => model.Organisation_Name, new { htmlAttributes = new { @class = "form-control", @readonly = true } })*@
- @Html.ValidationMessageFor(model => model.Organisation_Name, "", new { @class = "text-danger" })
- </div>
- </div>
- </div>
- <div class="col-xs-6 col-sm-6 col-xs-6 col-sm-6 col-md-6 col-lg-6 col-lg-6">
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Phone Number</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Phone_Number" type="text" value="@ViewBag.Phone_Number" readonly />
- @*@Html.EditorFor(model => model.Phone_Number, new { htmlAttributes = new { @class = "form-control", @readonly = true } })*@
- @Html.ValidationMessageFor(model => model.Phone_Number, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Email Address</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Email_Address" type="text" value="@ViewBag.Email_Address" readonly />
- @* @Html.EditorFor(model => model.Email_Address, new { htmlAttributes = new { @class = "form-control", @readonly = true } })*@
- @Html.ValidationMessageFor(model => model.Email_Address, "", new { @class = "text-danger" })
- </div>
- </div>
- </div>
- </div>
- <hr />
- <h4>Call Details</h4>
- <hr />
- <div class="form-group">
- <span class="control-label col-xs-2 col-sm-2 col-md-2 col-lg-2"><b>Call Description</b></span>
- <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
- <textarea name="Call_Desc" class="form-control" style="height: 200px; width: 91.5%; min-width: 91.5%; max-width: 91.5%;" id="comment" readonly>@ViewBag.Call_Desc</textarea>
- @Html.ValidationMessageFor(model => model.Call_Desc, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- <div class="col-xs-6 col-sm-6 col-xs-6 col-sm-6 col-md-6 col-lg-6 col-lg-6">
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Raised Version</b></span>
- @if (!notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Raised_Version" type="text" value="@ViewBag.Raised_Version" />
- @* @Html.EditorFor(model => model.Raised_Version, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })*@
- @Html.ValidationMessageFor(model => model.Raised_Version, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Raised_Version" type="text" value="@ViewBag.Raised_Version" readonly />
- @* @Html.EditorFor(model => model.Raised_Version, new { htmlAttributes = new { @class = "form-control" } })*@
- @Html.ValidationMessageFor(model => model.Raised_Version, "", new { @class = "text-danger" })
- </div>
- }
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Fixed Version</b></span>
- @if (!notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Fixed_Version" type="text" value="@ViewBag.Fixed_Version" />
- @* @Html.EditorFor(model => model.Fixed_Version, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })*@
- @Html.ValidationMessageFor(model => model.Fixed_Version, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Fixed_Version" type="text" value="@ViewBag.Fixed_Version" readonly />
- @* @Html.EditorFor(model => model.Fixed_Version, new { htmlAttributes = new { @class = "form-control" } })*@
- @Html.ValidationMessageFor(model => model.Fixed_Version, "", new { @class = "text-danger" })
- </div>
- }
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Bespoke</b></span>
- @if (!notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @*<div class="checkbox">
- <input name="Bespoke" type="checkbox" value="@ViewBag.Bespoke" />*@
- @Html.CheckBoxFor(model => model.Bespoke)
- @Html.ValidationMessageFor(model => model.Bespoke, "", new { @class = "text-danger" })
- @*</div>*@
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <div class="checkbox">
- <input name="Bespoke" type="checkbox" value="@ViewBag.Bespoke" disabled />
- @*@Html.CheckBoxFor(model => model.Bespoke)*@
- @Html.ValidationMessageFor(model => model.Bespoke, "", new { @class = "text-danger" })
- </div>
- </div>
- }
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Call Opened</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Call_Opened" type="text" value="@ViewBag.Call_Opened" readonly />
- @* @Html.EditorFor(model => model.Call_Opened, new { htmlAttributes = new { @class = "form-control", @readonly = true } })*@
- @Html.ValidationMessageFor(model => model.Call_Opened, "", new { @class = "text-danger" })
- </div>
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Call Type </b></span>
- @if (notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Call_Type" type="text" value="@ViewBag.Call_Type" readonly />
- @* @Html.EditorFor(model => model.Call_Type, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })*@
- @Html.ValidationMessageFor(model => model.Call_Type, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @Html.DropDownList("Call_Type", ViewBag.CallTypeList as SelectList, new { @class = "form-control" })
- @Html.ValidationMessageFor(model => model.Call_Type, "", new { @class = "text-danger" })
- </div>
- }
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Status</b></span>
- @if (notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Status" type="text" value="@ViewBag.Status" readonly />
- @* @Html.EditorFor(model => model.Status, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })*@
- @Html.ValidationMessageFor(model => model.Status, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @Html.DropDownList("Status", ViewBag.StatusList as SelectList, new { @class = "form-control" })
- @Html.ValidationMessageFor(model => model.Status, "", new { @class = "text-danger" })
- </div>
- }
- </div>
- </div>
- <div class="col-xs-6 col-sm-6 col-xs-6 col-sm-6 col-md-6 col-lg-6 col-lg-6">
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Affected Service</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @if (!notGeneris)
- {
- <select class="form-control" name="AffectedService" style="display: inline;">
- @if (ViewBag.AffectedService != null)
- {
- <option style="display: none;" selected>@ViewBag.AffectedService</option>}
- <option style="display: none;" value="Unknown">Unknown</option>
- }
- @foreach (var item in ViewBag.AffectedServiceList)
- {
- <option value="@item">@item</option>
- }
- </select>
- }
- else
- {
- <input name="AffectedService" type="text" value="@ViewBag.AffectedService" class="form-control" readonly="readonly" />
- }
- @if (!notGeneris)
- {
- <button type="submit" name="submit" class="btn btn-default" value="Find Specific Area"><span class="glyphicon glyphicon-filter"></span></button>
- }
- @Html.ValidationMessageFor(model => model.AffectedService, "", new { @class = "text-danger" })
- </div>
- </div>
- @if (ViewBag.Filter1 == "true" || ViewBag.Filter2 == "true" || ViewBag.Filter3 == "true")
- {
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Specific Area</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @*@Html.EditorFor(model => model.SpecificArea, new { htmlAttributes = new { @class = "form-control", @Readonly = "readonly" } })*@
- @if (ViewBag.Filter2 == "true" || ViewBag.Filter3 == "true")
- {<input name="AffectedService2" type="text" class="form-control" value="@Model.AffectedService2" readonly />}
- else
- {
- if (Model.Filter1.Count() != 0)
- {
- <select class="form-control" name="AffectedService2" style="display: inline;">
- @if (Model.AffectedService2 != null)
- {
- <option style="display: none;" selected>@Model.AffectedService2</option>}
- <option value="">- Select Specific Area -</option>
- @foreach (var item in Model.Filter1)
- {
- <option value="@item.AffectedServiceName">@item.AffectedServiceName</option>
- }
- </select>
- <button type="submit" name="submit" class="btn btn-default" value="Filter Specific Area"><span class="glyphicon glyphicon-filter"></span></button>
- }
- else
- {
- if (ViewBag.Filter1 == "true")
- {
- <p style="color: cornflowerblue; position: relative; top: 6px;">No specific area.</p>
- }
- }
- }
- @Html.ValidationMessageFor(model => model.SpecificArea, "", new { @class = "text-danger" })
- </div>
- </div>
- }
- @if (ViewBag.Filter2 == "true" || ViewBag.Filter3 == "true")
- {
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Sub Area 1</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @*@Html.EditorFor(model => model.SpecificArea, new { htmlAttributes = new { @class = "form-control", @Readonly = "readonly" } })*@
- @if (ViewBag.Filter3 == "true")
- {<input name="AffectedService3" type="text" class="form-control" value="@Model.AffectedService3" readonly />}
- else
- {
- if (Model.Filter2.Count() != 0)
- {
- <select class="form-control" name="AffectedService3" style="display: inline;">
- @if (Model.AffectedService3 != null)
- {
- <option style="display: none;" selected>@Model.AffectedService3</option>}
- <option value="">- Select Specific Area -</option>
- @foreach (var item in Model.Filter2)
- {
- <option value="@item.AffectedServiceName">@item.AffectedServiceName</option>
- }
- </select>
- <button type="submit" name="submit" class="btn btn-default" value="Filter Specific Area 2"><span class="glyphicon glyphicon-filter"></span></button>
- }
- else
- {
- if (ViewBag.Filter2 == "true")
- {
- <p style="color: cornflowerblue; position: relative; top: 6px;">No sub area.</p>
- }
- }
- }
- @Html.ValidationMessageFor(model => model.SpecificArea, "", new { @class = "text-danger" })
- </div>
- </div>
- }
- @if (ViewBag.Filter3 == "true")
- {
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Sub Area 2</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @if (Model.Filter3.Count() != 0)
- {
- @*@Html.EditorFor(model => model.SpecificArea, new { htmlAttributes = new { @class = "form-control", @Readonly = "readonly" } })*@
- <select class="form-control" name="AffectedService4" style="display: inline;">
- @if (Model.AffectedService4 != null)
- {
- <option style="display: none;" selected>@Model.AffectedService4</option>}
- <option value="">- Select Specific Area -</option>
- @foreach (var item in Model.Filter3)
- {
- <option value="@item.AffectedServiceName">@item.AffectedServiceName</option>
- }
- </select>
- }
- else
- {
- if (ViewBag.Filter3 == "true")
- {
- <p style="color: cornflowerblue; position: relative; top: 6px;">No sub area.</p>
- }
- }
- @Html.ValidationMessageFor(model => model.SpecificArea, "", new { @class = "text-danger" })
- </div>
- </div>
- }
- @*<div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Specific Area</b></span>
- @if (notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="CallType" type="text" value="@ViewBag.Spec_Area" readonly />
- @* @Html.EditorFor(model => model.Spec_Area, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })
- @Html.ValidationMessageFor(model => model.Spec_Area, "", new { @class = "text-danger" })
- </div>
- }
- </div>*@
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Severity</b></span>
- @if (notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Severity" type="text" value="@ViewBag.Severity" readonly />
- @* @Html.EditorFor(model => model.Severity, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })*@
- @Html.ValidationMessageFor(model => model.Severity, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @Html.DropDownList("Severity", ViewBag.SeverityList as SelectList, new { @class = "form-control" })
- @Html.ValidationMessageFor(model => model.Severity, "", new { @class = "text-danger" })
- </div>
- }
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Category</b></span>
- @if (notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Category" type="text" value="@ViewBag.Category" readonly />
- @* @Html.EditorFor(model => model.Category, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })*@
- @Html.ValidationMessageFor(model => model.Category, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @Html.DropDownList("Category", ViewBag.CategoryList as SelectList, new { @class = "form-control" })
- @Html.ValidationMessageFor(model => model.Category, "", new { @class = "text-danger" })
- </div>
- }
- </div>
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Technician</b></span>
- @if (notGeneris)
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <input class="form-control" name="Technician" type="text" value="@ViewBag.Technician" readonly />
- @*@Html.EditorFor(model => model.Technician, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })*@
- @Html.ValidationMessageFor(model => model.Technician, "", new { @class = "text-danger" })
- </div>
- }
- else
- {
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @Html.DropDownList("Technician", ViewBag.TechnicianList as SelectList, new { @class = "form-control" })
- @Html.ValidationMessageFor(model => model.Technician, "", new { @class = "text-danger" })
- @Html.Raw(ViewBag.EmptyTechnician)
- </div>
- }
- </div>
- @if (!notGeneris)
- {
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Time Spent</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- @Html.EditorFor(model => model.Time_Spent, new { htmlAttributes = new { @class = "form-control", @min = "0" } })
- <p style="color: green"> * Enter time in minutes</p>
- @*@Html.ValidationMessageFor(model => model.Time_Spent, "", new { @class = "text-danger" })*@
- @Html.Raw(ViewBag.EmptyTime)
- </div>
- </div>
- }
- <div class="form-group">
- <span class="control-label col-xs-4 col-sm-4 col-xs-4 col-sm-4 col-md-4 col-lg-4 col-lg-4"><b>Attachment(s)</b></span>
- <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
- <table class="table">
- <tr id="Att1" class="hiddenRow">
- <td>
- @*<input id="Attachment1" name="Attachment1" type="file">*@
- <input type="text" id="lbl-Attachment1" style=" background-color: aliceblue">
- <label for="Attachment1" class="custom-file-upload">
- Browse...
- </label>
- <input id="Attachment1" name="Attachment1" type="file" onchange="document.getElementById('lbl-Attachment1').value = document.getElementById('Attachment1').value" />
- </td>
- </tr>
- <tr id="Att2">
- <td class="hiddenRow">
- <input type="text" id="lbl-Attachment2" style=" background-color: aliceblue">
- <label for="Attachment2" class="custom-file-upload">
- Browse...
- </label>
- <input id="Attachment2" name="Attachment2" type="file" onchange="document.getElementById('lbl-Attachment2').value = document.getElementById('Attachment2').value" />
- </td>
- </tr>
- <tr id="Att3">
- <td class="hiddenRow">
- <input type="text" id="lbl-Attachment3" style=" background-color: aliceblue">
- <label for="Attachment3" class="custom-file-upload">
- Browse...
- </label>
- <input id="Attachment3" name="Attachment3" type="file" onchange="document.getElementById('lbl-Attachment3').value = document.getElementById('Attachment3').value" />
- </td>
- </tr>
- <tr>
- <td>
- <button style="position: relative; left: -20px;" class="btn btn-link" type="submit" name="submit" value="removeAttachments"><i>Remove attachments</i></button>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="form-group">
- <span class="control-label col-xs-2 col-sm-2 col-md-2 col-lg-2"><b>Reply</b></span>
- <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
- @* @Html.TextAreaFor(model => model.Reply_Content, new { htmlAttributes = new { @class = "form-control", @style = "width: 91.5%; min-width: 91.5%; max-height: 91.5%; height: 200px;" } })*@
- <textarea name="Reply_Content" class="form-control" style="width: 91.5%; min-width: 91.5%; max-height: 91.5%; height: 200px;" id="comment">@Model.Reply_Content</textarea>
- @Html.Raw(ViewBag.EmptyReply)
- </div>
- </div>
- if (!notGeneris)
- {
- <div class="form-group">
- <span class="control-label col-xs-2 col-sm-2 col-md-2 col-lg-2"><b>Additional Comments</b></span>
- <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
- <textarea name="Additional_Comments" class="form-control" style="width: 91.5%; min-width: 91.5%; max-height: 91.5%; height: 200px; background-color:lemonchiffon;" id="comment">@Model.Additional_Comments</textarea>
- @Html.ValidationMessageFor(model => model.Additional_Comments, "", new { @class = "text-danger" })
- </div>
- </div>
- }
- <div class="form-group">
- <div class="col-md-offset-2 col-md-9">
- <input type="submit" name="submit" value="Cancel" class="btn btn-default" />
- <input type="submit" value="Save" class="btn btn-default" name="submit" style="float: right; position: relative; right: -18px;" />
- @if (!notGeneris)
- {
- <input type="submit" value="Email User" name="submit" class="btn btn-default" style="float: right; position: relative; right: -13px;" />
- }
- </div>
- </div>
- <br /><br />
- }
- </div>
- @section Scripts {
- @Scripts.Render("~/bundles/jqueryval")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement