Made report header partial view which includes report title and date pulled to be included in each report.

This commit is contained in:
Daniel Wathen 2023-01-26 15:16:43 -07:00
parent c8d712bf8d
commit c11de01602
5 changed files with 19 additions and 15 deletions

View File

@ -2,11 +2,12 @@
@{
ViewData["Title"] = "Weekly Part Changes | Mesa Reporting Services";
ViewData["ReportTitle"] = "Part Changes Report";
}
<partial name="_BreadCrumbs" />
<h1 class="text-center">Weekly Part Changes</h1>
<partial name="_ReportHeader" />
<div>
<div class="row">
@ -14,7 +15,7 @@
<p>Number of Part Changes: @Model.TotalPartChanges</p>
</div>
<div class="col-6">
<p class="text-end">@Model.StartDate - @Model.EndDate</p>
<p class="text-end">Date Range: @Model.StartDate - @Model.EndDate</p>
</div>
</div>
<div>

View File

@ -21,18 +21,12 @@
@{
ViewData["Title"] = "Daily Passdown | Mesa Reporting Services";
ViewData["ReportTitle"] = "Daily Report";
}
<partial name="_BreadCrumbs" />
<div class="text-center">
<h2>Daily Report</h2>
<br /><br />
</div>
<div>
<p class="text-end fw-bold">Date Pulled: @DateTime.Now</p>
</div>
<partial name="_ReportHeader" />
<button class="btn btn-outline-dark float-start dailyReportTable" onclick="toggleWeek()">View Previous Week</button>
<button class="btn btn-outline-dark float-end dailyReportTable hidden" onclick="toggleWeek()">View Current Week</button>

View File

@ -2,12 +2,13 @@
@{
ViewData["Title"] = "Hold Lot Report | Mesa Reporting Services";
ViewData["ReportTitle"] = "Hold Lot Report";
}
<partial name="_BreadCrumbs" />
<h1 class="text-center">Hold Lots</h1>
<br /><br />
<partial name="_ReportHeader" />
<table class="table text-center" id="sortTable">
<thead>
<tr>

View File

@ -2,13 +2,13 @@
@{
ViewData["Title"] = "Open NCR Report | Mesa Reporting Services";
ViewData["ReportTitle"] = "Open NCR Report";
}
<partial name="_BreadCrumbs" />
<h1 class="text-center">Open NCRs</h1>
<br />
<br />
<partial name="_ReportHeader" />
<table class="table text-center" id="sortTable">
<thead>
<tr>

View File

@ -0,0 +1,8 @@
<div class="text-center">
<h2>@ViewData["ReportTitle"].ToString()</h2>
<br /><br />
</div>
<div>
<p class="text-end fw-bold">Date Pulled: @DateTime.Now</p>
</div>