Made report header partial view which includes report title and date pulled to be included in each report.
This commit is contained in:
parent
c8d712bf8d
commit
c11de01602
@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Weekly Part Changes | Mesa Reporting Services";
|
ViewData["Title"] = "Weekly Part Changes | Mesa Reporting Services";
|
||||||
|
ViewData["ReportTitle"] = "Part Changes Report";
|
||||||
}
|
}
|
||||||
|
|
||||||
<partial name="_BreadCrumbs" />
|
<partial name="_BreadCrumbs" />
|
||||||
|
|
||||||
<h1 class="text-center">Weekly Part Changes</h1>
|
<partial name="_ReportHeader" />
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -14,7 +15,7 @@
|
|||||||
<p>Number of Part Changes: @Model.TotalPartChanges</p>
|
<p>Number of Part Changes: @Model.TotalPartChanges</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<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>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -21,18 +21,12 @@
|
|||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Daily Passdown | Mesa Reporting Services";
|
ViewData["Title"] = "Daily Passdown | Mesa Reporting Services";
|
||||||
|
ViewData["ReportTitle"] = "Daily Report";
|
||||||
}
|
}
|
||||||
|
|
||||||
<partial name="_BreadCrumbs" />
|
<partial name="_BreadCrumbs" />
|
||||||
|
|
||||||
<div class="text-center">
|
<partial name="_ReportHeader" />
|
||||||
<h2>Daily Report</h2>
|
|
||||||
<br /><br />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<p class="text-end fw-bold">Date Pulled: @DateTime.Now</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button class="btn btn-outline-dark float-start dailyReportTable" onclick="toggleWeek()">View Previous Week</button>
|
<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>
|
<button class="btn btn-outline-dark float-end dailyReportTable hidden" onclick="toggleWeek()">View Current Week</button>
|
||||||
|
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Hold Lot Report | Mesa Reporting Services";
|
ViewData["Title"] = "Hold Lot Report | Mesa Reporting Services";
|
||||||
|
ViewData["ReportTitle"] = "Hold Lot Report";
|
||||||
}
|
}
|
||||||
|
|
||||||
<partial name="_BreadCrumbs" />
|
<partial name="_BreadCrumbs" />
|
||||||
|
|
||||||
<h1 class="text-center">Hold Lots</h1>
|
<partial name="_ReportHeader" />
|
||||||
<br /><br />
|
|
||||||
<table class="table text-center" id="sortTable">
|
<table class="table text-center" id="sortTable">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Open NCR Report | Mesa Reporting Services";
|
ViewData["Title"] = "Open NCR Report | Mesa Reporting Services";
|
||||||
|
ViewData["ReportTitle"] = "Open NCR Report";
|
||||||
}
|
}
|
||||||
|
|
||||||
<partial name="_BreadCrumbs" />
|
<partial name="_BreadCrumbs" />
|
||||||
|
|
||||||
<h1 class="text-center">Open NCRs</h1>
|
<partial name="_ReportHeader" />
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
<table class="table text-center" id="sortTable">
|
<table class="table text-center" id="sortTable">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
8
ReportingServices.UI/Views/Shared/_ReportHeader.cshtml
Normal file
8
ReportingServices.UI/Views/Shared/_ReportHeader.cshtml
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user