added collaborator view.
This commit is contained in:
7
Views/Vehicle/_Collaborators.cshtml
Normal file
7
Views/Vehicle/_Collaborators.cshtml
Normal file
@@ -0,0 +1,7 @@
|
||||
@model List<UserCollaborator>
|
||||
<ul>
|
||||
@foreach (UserCollaborator user in Model)
|
||||
{
|
||||
<li>@user.UserName</li>
|
||||
}
|
||||
</ul>
|
||||
@@ -69,8 +69,16 @@
|
||||
</div>
|
||||
<hr />
|
||||
<div class="row hideOnPrint">
|
||||
<div class="d-flex justify-content-center">
|
||||
<button onclick="generateVehicleHistoryReport()" class="btn btn-secondary btn-md mt-1 mb-1"><i class="bi bi-pencil-square me-2"></i>Generate and Print Vehicle Maintenance Report</button>
|
||||
<div class="col-md-3 col-12">
|
||||
|
||||
</div>
|
||||
<div class="col-md-6 col-12">
|
||||
<div class="d-flex justify-content-center">
|
||||
<button onclick="generateVehicleHistoryReport()" class="btn btn-secondary btn-md mt-1 mb-1"><i class="bi bi-pencil-square me-2"></i>Generate and Print Vehicle Maintenance Report</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3 col-12">
|
||||
@await Html.PartialAsync("_Collaborators", Model.Collaborators)
|
||||
</div>
|
||||
</div>
|
||||
<div id="vehicleHistoryReport" class="showOnPrint"></div>
|
||||
|
||||
Reference in New Issue
Block a user