@page "/EditDailyReport/{Rpt?}" @using ReportingServices.Shared.Models.ProductionReport; Edit Daily Passdown | Mesa Reporting Services

@if (Rpt is null) { } else {

Edit Daily Targets

Operator Headcount:
Total Call Outs (Operators):
Engineering Headcount:
Total Call Outs (Engineers):
Maintenance Headcount:
Total Call Outs (Maintenance):


Bottle Changes:
@for (int i = 20; i < 80; i++) { string isMatching = ""; string[] bottleChanges = !string.IsNullOrEmpty(Rpt.BottleChanges) ? Rpt.BottleChanges.Split(',') : new string[0]; for (int j = 0; j < bottleChanges.Length; j++) { if (bottleChanges[j] == "R" + i) isMatching = "checked"; } if(isMatching is null) { } }
Daily Part Changes:
@for (int i = 20; i < 80; i++) { string isMatching = ""; string[] dailyPartChanges = !string.IsNullOrEmpty(Rpt.DailyPartChanges) ? Rpt.DailyPartChanges.Split(',') : new string[0]; for (int j = 0; j < dailyPartChanges.Length; j++) { if (dailyPartChanges[j] == "R" + i) isMatching = "checked"; } if(isMatching is null) { } }
Weekly Part Changes:
@for (int i = 20; i < 80; i++) { string isMatching = ""; string[] weeklyPartChanges = !string.IsNullOrEmpty(Rpt.WeeklyPartChanges) ? Rpt.WeeklyPartChanges.Split(',') : new string[0]; for (int j = 0; j < weeklyPartChanges.Length; j++) { if (weeklyPartChanges[j] == "R" + i) isMatching = "checked"; } if(isMatching is null) { } }
}