| | 1 | | @model ManualReportEntries |
| | 2 | |
|
| | 3 | | @{ |
| 0 | 4 | | ViewData["Title"] = "Edit Daily Passdown | Mesa Reporting Services"; |
| | 5 | | } |
| | 6 | |
|
| | 7 | | <div aria-label="breadcrumb"> |
| | 8 | | <ol class="breadcrumb"> |
| | 9 | | <li class="breadcrumb-item"><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li> |
| | 10 | | <li class="breadcrumb-item"><a asp-area="" asp-controller="ProductionReport" asp-action="Index">Production Repor |
| | 11 | | <li class="breadcrumb-item active" aria-current="page">Edit Passdown</li> |
| | 12 | | </ol> |
| | 13 | | </div> |
| | 14 | | <br /> |
| | 15 | |
|
| | 16 | | <div class="container"> |
| | 17 | |
|
| | 18 | | <h1 class="text-center">Edit Daily Targets</h1> |
| | 19 | |
|
| | 20 | | <form method="post" action="EditDailyReport"> |
| | 21 | | <div class="row" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 22 | | <div class="col-lg-3 col-6"> |
| | 23 | | <h6 style="padding-top: 10px;">Operator Headcount:</h6> |
| | 24 | | </div> |
| | 25 | | <div class="col-lg-2 col-3"> |
| | 26 | | <select class="form-control" id="OperatorHeadcountDays" name="OperatorHeadcountDays"> |
| 0 | 27 | | @for (int i = 0; i <= 15; i++) |
| 0 | 28 | | { |
| 0 | 29 | | <option selected="@(i == Model.OperatorHeadcountDays)">@i</option> |
| 0 | 30 | | } |
| | 31 | | </select> |
| | 32 | | </div> |
| | 33 | | <div class="col-lg-2 col-3"> |
| | 34 | | <select class="form-control" id="OperatorHeadcountNights" name="OperatorHeadcountNights"> |
| 0 | 35 | | @for (int i = 0; i <= 15; i++) |
| 0 | 36 | | { |
| 0 | 37 | | <option selected="@(i == Model.OperatorHeadcountNights)">@i</option> |
| 0 | 38 | | } |
| | 39 | | </select> |
| | 40 | | </div> |
| | 41 | | </div> |
| | 42 | | <div class="row" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 43 | | <div class="col-lg-3 col-6"> |
| | 44 | | <h6 style="padding-top: 10px;">Total Call Outs (Operators):</h6> |
| | 45 | | </div> |
| | 46 | | <div class="col-lg-2 col-3"> |
| | 47 | | <select class="form-control" id="OperatorCallOutsDays" name="OperatorCallOutsDays"> |
| 0 | 48 | | @for (int i = 0; i <= 5; i++) |
| 0 | 49 | | { |
| 0 | 50 | | <option selected="@(i == Model.OperatorCallOutsDays)">@i</option> |
| 0 | 51 | | } |
| | 52 | | </select> |
| | 53 | | </div> |
| | 54 | | <div class="col-lg-2 col-3"> |
| | 55 | | <select class="form-control" id="OperatorCallOutsNights" name="OperatorCallOutsNights"> |
| 0 | 56 | | @for (int i = 0; i <= 5; i++) |
| 0 | 57 | | { |
| 0 | 58 | | <option selected="@(i == Model.OperatorCallOutsNights)">@i</option> |
| 0 | 59 | | } |
| | 60 | | </select> |
| | 61 | | </div> |
| | 62 | | </div> |
| | 63 | | <div class="row" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 64 | | <div class="col-lg-3 col-6"> |
| | 65 | | <h6 style="padding-top: 10px;">Engineering Headcount:</h6> |
| | 66 | | </div> |
| | 67 | | <div class="col-lg-2 col-3"> |
| | 68 | | <select class="form-control" id="EngineeringHeadcountDays" name="EngineeringHeadcountDays"> |
| 0 | 69 | | @for (int i = 0; i <= 5; i++) |
| 0 | 70 | | { |
| 0 | 71 | | <option selected="@(i == Model.EngineeringHeadcountDays)">@i</option> |
| 0 | 72 | | } |
| | 73 | | </select> |
| | 74 | | </div> |
| | 75 | | <div class="col-lg-2 col-3"> |
| | 76 | | <select class="form-control" id="EngineeringHeadcountNights" name="EngineeringHeadcountNights"> |
| 0 | 77 | | @for (int i = 0; i <= 5; i++) |
| 0 | 78 | | { |
| 0 | 79 | | <option selected="@(i == Model.EngineeringHeadcountNights)">@i</option> |
| 0 | 80 | | } |
| | 81 | | </select> |
| | 82 | | </div> |
| | 83 | | </div> |
| | 84 | | <div class="row" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 85 | | <div class="col-lg-3 col-6"> |
| | 86 | | <h6 style="padding-top: 10px;">Total Call Outs (Engineers):</h6> |
| | 87 | | </div> |
| | 88 | | <div class="col-lg-2 col-3"> |
| | 89 | | <select class="form-control" id="EngineerCallOutsDays" name="EngineeringCallOutsDays"> |
| 0 | 90 | | @for (int i = 0; i <= 5; i++) |
| 0 | 91 | | { |
| 0 | 92 | | <option selected="@(i == Model.EngineeringCallOutsDays)">@i</option> |
| 0 | 93 | | } |
| | 94 | | </select> |
| | 95 | | </div> |
| | 96 | | <div class="col-lg-2 col-3"> |
| | 97 | | <select class="form-control" id="EngineerCallOutsNights" name="EngineeringCallOutsNights"> |
| 0 | 98 | | @for (int i = 0; i <= 5; i++) |
| 0 | 99 | | { |
| 0 | 100 | | <option selected="@(i == Model.EngineeringCallOutsNights)">@i</option> |
| 0 | 101 | | } |
| | 102 | | </select> |
| | 103 | | </div> |
| | 104 | | </div> |
| | 105 | | <div class="row" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 106 | | <div class="col-lg-3 col-6"> |
| | 107 | | <h6 style="padding-top: 10px;">Maintenance Headcount:</h6> |
| | 108 | | </div> |
| | 109 | | <div class="col-lg-2 col-3"> |
| | 110 | | <select class="form-control" id="MaintenanceHeadcountDays" name="MaintenanceHeadcountDays"> |
| 0 | 111 | | @for (int i = 0; i <= 5; i++) |
| 0 | 112 | | { |
| 0 | 113 | | <option selected="@(i == Model.MaintenanceHeadcountDays)">@i</option> |
| 0 | 114 | | } |
| | 115 | | </select> |
| | 116 | | </div> |
| | 117 | | <div class="col-lg-2 col-3"> |
| | 118 | | <select class="form-control" id="MaintenanceHeadcountNights" name="MaintenanceHeadcountNights"> |
| 0 | 119 | | @for (int i = 0; i <= 5; i++) |
| 0 | 120 | | { |
| 0 | 121 | | <option selected="@(i == Model.MaintenanceHeadcountNights)">@i</option> |
| 0 | 122 | | } |
| | 123 | | </select> |
| | 124 | | </div> |
| | 125 | | </div> |
| | 126 | | <div class="row" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 127 | | <div class="col-lg-3 col-6"> |
| | 128 | | <h6 style="padding-top: 10px;">Total Call Outs (Maintenance):</h6> |
| | 129 | | </div> |
| | 130 | | <div class="col-lg-2 col-3"> |
| | 131 | | <select class="form-control" id="MaintenanceCallOutsDays" name="MaintenanceCallOutsDays"> |
| 0 | 132 | | @for (int i = 0; i <= 5; i++) |
| 0 | 133 | | { |
| 0 | 134 | | <option selected="@(i == Model.MaintenanceCallOutsDays)">@i</option> |
| 0 | 135 | | } |
| | 136 | | </select> |
| | 137 | | </div> |
| | 138 | | <div class="col-lg-2 col-3"> |
| | 139 | | <select class="form-control" id="MaintenanceCallOutsNights" name="MaintenanceCallOutsNights"> |
| 0 | 140 | | @for (int i = 0; i <= 5; i++) |
| 0 | 141 | | { |
| 0 | 142 | | <option selected="@(i == Model.MaintenanceCallOutsNights)">@i</option> |
| 0 | 143 | | } |
| | 144 | | </select> |
| | 145 | | </div> |
| | 146 | | </div> |
| | 147 | | <br /><br /> |
| | 148 | | <div id="bottleChanges" class="row myMultiselect" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 149 | | <div class="col-lg-3 col-md-4"> |
| | 150 | | <h6>Bottle Changes:</h6> |
| | 151 | | </div> |
| | 152 | | <div class="form-group col-lg-4 col-md-5"> |
| | 153 | | <div class="mySelectLabel selectBox" onclick="toggleCheckboxArea()"> |
| | 154 | | <select class="form-select" name="BottleChanges"> |
| | 155 | | <option>somevalue</option> |
| | 156 | | </select> |
| | 157 | | <div class="overSelect"></div> |
| | 158 | | </div> |
| | 159 | | <div class="mySelectOptions"> |
| 0 | 160 | | @for (int i = 20; i < 80; i++) |
| 0 | 161 | | { |
| 0 | 162 | | string isMatching = ""; |
| 0 | 163 | | string[] bottleChanges = Model.BottleChanges.Split(','); |
| | 164 | |
|
| 0 | 165 | | for (int j = 0; j < bottleChanges.Length; j++) |
| 0 | 166 | | { |
| 0 | 167 | | if (bottleChanges[j] == "R" + i) |
| 0 | 168 | | isMatching = "checked"; |
| 0 | 169 | | } |
| | 170 | |
|
| 0 | 171 | | <label><input type="checkbox" onchange="checkboxStatusChange()" value="@("R" + i)" @isMatching / |
| 0 | 172 | | } |
| | 173 | | </div> |
| | 174 | | </div> |
| | 175 | | <div class="col-lg-2 col-md-3"> |
| | 176 | | <button class="btn btn-info" type="button" onclick="clearList()">Clear List</button> |
| | 177 | | </div> |
| | 178 | | </div> |
| | 179 | | <div id="dailyPartChanges" class="row myMultiselect" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 180 | | <div class="col-lg-3 col-md-4"> |
| | 181 | | <h6>Daily Part Changes:</h6> |
| | 182 | | </div> |
| | 183 | | <div class="form-group col-lg-4 col-md-5"> |
| | 184 | | <div class="mySelectLabel selectBox" onclick="toggleCheckboxArea()"> |
| | 185 | | <select class="form-select" name="DailyPartChanges"> |
| | 186 | | <option>somevalue</option> |
| | 187 | | </select> |
| | 188 | | <div class="overSelect"></div> |
| | 189 | | </div> |
| | 190 | | <div class="mySelectOptions"> |
| 0 | 191 | | @for (int i = 20; i < 80; i++) |
| 0 | 192 | | { |
| 0 | 193 | | string isMatching = ""; |
| 0 | 194 | | string[] dailyPartChanges = Model.DailyPartChanges.Split(','); |
| | 195 | |
|
| 0 | 196 | | for (int j = 0; j < dailyPartChanges.Length; j++) |
| 0 | 197 | | { |
| 0 | 198 | | if (dailyPartChanges[j] == "R" + i) |
| 0 | 199 | | isMatching = "checked"; |
| 0 | 200 | | } |
| | 201 | |
|
| 0 | 202 | | <label><input type="checkbox" onchange="checkboxStatusChange()" value="@("R" + i)" @isMatching / |
| 0 | 203 | | } |
| | 204 | | </div> |
| | 205 | | </div> |
| | 206 | | <div class="col-lg-2 col-md-3"> |
| | 207 | | <button class="btn btn-info" type="button" onclick="clearList()">Clear List</button> |
| | 208 | | </div> |
| | 209 | | </div> |
| | 210 | | <div id="weeklyPartChanges" class="row myMultiselect" style="padding-top: 5px; padding-bottom: 5px;"> |
| | 211 | | <div class="col-lg-3 col-md-4"> |
| | 212 | | <h6>Weekly Part Changes:</h6> |
| | 213 | | </div> |
| | 214 | | <div class="form-group col-lg-4 col-md-5"> |
| | 215 | | <div class="mySelectLabel selectBox" onclick="toggleCheckboxArea()"> |
| | 216 | | <select class="form-select" name="WeeklyPartChanges"> |
| | 217 | | <option>somevalue</option> |
| | 218 | | </select> |
| | 219 | | <div class="overSelect"></div> |
| | 220 | | </div> |
| | 221 | | <div class="mySelectOptions"> |
| 0 | 222 | | @for (int i = 20; i < 80; i++) |
| 0 | 223 | | { |
| 0 | 224 | | string isMatching = ""; |
| 0 | 225 | | string[] weeklyPartChanges = Model.WeeklyPartChanges.Split(','); |
| | 226 | |
|
| 0 | 227 | | for (int j = 0; j < weeklyPartChanges.Length; j++) |
| 0 | 228 | | { |
| 0 | 229 | | if (weeklyPartChanges[j] == "R" + i) |
| 0 | 230 | | isMatching = "checked"; |
| 0 | 231 | | } |
| | 232 | |
|
| 0 | 233 | | <label><input type="checkbox" onchange="checkboxStatusChange()" value="@("R" + i)" @isMatching / |
| 0 | 234 | | } |
| | 235 | | </div> |
| | 236 | | </div> |
| | 237 | | <div class="col-lg-2 col-md-3"> |
| | 238 | | <button class="btn btn-info" type="button" onclick="clearList()">Clear List</button> |
| | 239 | | </div> |
| | 240 | | </div> |
| | 241 | | <button type="submit" value="Submit" class="btn btn-light" style="margin-top: 5px;">Submit</button> |
| | 242 | | </form> |
| | 243 | |
|
| | 244 | | </div> |