Migrated to using free library of icons for images and fixed button layout for index pages.
This commit is contained in:
@ -63,9 +63,39 @@
|
||||
</ul>
|
||||
<br />
|
||||
<ul>
|
||||
<li>Bottle Change (@rpt.BottleChanges.Split(',').Length): @string.Join(", ", rpt.BottleChanges.Split(','))</li>
|
||||
<li>Daily Part Changes (@rpt.DailyPartChanges.Split(',').Length): @string.Join(", ", rpt.DailyPartChanges.Split(','))</li>
|
||||
<li>Weekly Part Changes (@rpt.WeeklyPartChanges.Split(',').Length): @string.Join(", ", rpt.WeeklyPartChanges.Split(','))</li>
|
||||
@{
|
||||
int bottleChanges = 0;
|
||||
int dailyPartChanges = 0;
|
||||
int weeklyPartChanges = 0;
|
||||
|
||||
string bottle = "";
|
||||
string daily = "";
|
||||
string weekly = "";
|
||||
|
||||
if (!string.IsNullOrEmpty(rpt.BottleChanges))
|
||||
{
|
||||
bottle = string.Join(", ", rpt.BottleChanges.Split(','));
|
||||
bottleChanges = @rpt.BottleChanges.Split(',').Length;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(rpt.DailyPartChanges))
|
||||
{
|
||||
daily = string.Join(", ", rpt.DailyPartChanges.Split(','));
|
||||
dailyPartChanges = @rpt.DailyPartChanges.Split(',').Length;
|
||||
}
|
||||
|
||||
|
||||
if (!string.IsNullOrEmpty(rpt.WeeklyPartChanges))
|
||||
{
|
||||
weekly = string.Join(", ", rpt.WeeklyPartChanges.Split(','));
|
||||
weeklyPartChanges = @rpt.WeeklyPartChanges.Split(',').Length;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<li>Bottle Change (@bottleChanges): @bottle</li>
|
||||
<li>Daily Part Changes (@dailyPartChanges): @daily</li>
|
||||
<li>Weekly Part Changes (@weeklyPartChanges): @weekly</li>
|
||||
</ul>
|
||||
<br />
|
||||
<a class="btn btn-light" asp-controller="ProductionReport" asp-action="EditDailyReport">Edit</a>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-3 d-grid">
|
||||
<a class="btn btn-outline-secondary text-start" asp-area="" asp-controller="ProductionReport" asp-action="DailyReport" onclick="displayBusyIndicator()"><img src="~/Images/ReportFile.png" class="buttonImage float-start" />Production Passdown Report</a>
|
||||
<a class="btn btn-outline-secondary text-start" asp-area="" asp-controller="ProductionReport" asp-action="DailyReport" onclick="displayBusyIndicator()"><span class="float-start"><i class="fa-regular fa-file-alt fa-4x buttonImage align-middle"></i> Production Passdown Report</span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user