Advertisement
Guest User

ChangeRequestActionReport

a guest
Nov 19th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1.  
  2. @{
  3. ViewBag.Title = "ChangeRequestActionReport";
  4. }
  5.  
  6. <div id="loading" style="display:none">
  7. <img id="loading-image" src="~/Content/Images/latestLoader.gif" alt="Loading..." />
  8. </div>
  9.  
  10. <div class="panel panel-primary" id="SearchBlock">
  11. <span class="panel-danger"></span>
  12. <div class="panel-heading">
  13. <span id="sptxt">Change Request Actions Report</span>
  14. <div class="box-tools pull-right">
  15. <i onclick="CollapseSearch()" class="fa fa-chevron-up" id="collId"></i>
  16. </div>
  17. </div>
  18. <div class="panel-body" id="panel">
  19. <div class="row">
  20. <div class="col-lg-3 col-sm-3 col-md-3" id="processStremId">
  21. <label>Pts Level</label>
  22. @Html.DropDownList("ptsLevel", new SelectList((IEnumerable<CommonFields>)(Session["PtsLevelList"]), "Code", "Name", ""), "Select", new { @class = "form-control", @style = "width: 100%;" })
  23. </div>
  24. <div class="col-lg-3 col-sm-3 col-md-3" id="subStreamDivId">
  25. <label>Book</label>
  26. @Html.DropDownList("Book", new SelectList((IEnumerable<CommonFields>)(Session["PtsLevelList"]), "code", "Name", ""), "Select", new { @disabled = "disabled", @class = "form-control", @style = "width: 100%;", onchange = "getPtsBooks();" })
  27. </div>
  28. <div class="col-lg-3 col-sm-3 col-md-3" id="bookDiv" style="display:none">
  29. <label for="TestSpecification">Book</label>
  30. <select id="TestSpecification" class="form-control" onchange="GetBooks();"></select>
  31. </div>
  32. </div>
  33. <div class="row" style="margin-top: 10px">
  34. <input type="button" style="left: -15px; position: relative;" class="btn btn-primary pull-right" id="btnGenerate" onclick="GetChanges()" value="Generate Report" />
  35. </div>
  36. </div>
  37. </div>
  38.  
  39. <script>
  40. $('#ptsLevel').on('change', function () {
  41. if ($('#ptsLevel').val() == "") {
  42. $('#Book').prop('disabled', true);
  43. }
  44. else {
  45. $('#Book').prop('disabled', false);
  46. }
  47. });
  48. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement