74 lines
3.1 KiB
Plaintext
74 lines
3.1 KiB
Plaintext
@model OrderClientModel
|
|
|
|
@using LaaProductionWeb.Controllers
|
|
@using LaaProductionWeb.Services.Models
|
|
|
|
@{
|
|
this.Layout = "~/Views/Shared/_PrintLayout.cshtml";
|
|
}
|
|
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th class="align-top p-0 w-100">
|
|
<table class="table table-bordered">
|
|
<tr>
|
|
<td colspan="2" class="py-1 fs-5 white-space-nowrap text-center text-smallcaps">Test Protocol</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="py-1 white-space-nowrap va-middle"><label for="client_name">Client</label></td>
|
|
<td class="p-1 w-75">
|
|
<div class="form-control border-0 rounded-0">
|
|
@if (string.IsNullOrWhiteSpace(this.Model.ClientName))
|
|
{
|
|
<span class="text-white">...</span>
|
|
}
|
|
else
|
|
{
|
|
<span>@this.Model.ClientName</span>
|
|
}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="py-1 white-space-nowrap va-middle"><label for="order_no">Order No.</label></td>
|
|
<td class="p-1 w-75">
|
|
<div class="form-control border-0 rounded-0">
|
|
@if (this.Model.OrderId is null)
|
|
{
|
|
<span class="text-white">...</span>
|
|
}
|
|
else
|
|
{
|
|
<span>@this.Model.OrderId</span>
|
|
}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="border-bottom-0">
|
|
<td class="py-1 white-space-nowrap va-middle">Positions</td>
|
|
<td class="p-1 w-75">
|
|
<div class="form-control border-0 rounded-0">
|
|
@if (string.IsNullOrWhiteSpace(this.Model.Positions))
|
|
{
|
|
<span class="text-white">...</span>
|
|
}
|
|
else
|
|
{
|
|
<span>@this.Model.Positions</span>
|
|
}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</th>
|
|
<th class="text-center va-middle w-auto p-3">
|
|
<img src="~/App_Content/svg/sensus_xylem_logo.svg" width="130" class="mx-5" />
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
@if (this.Model.OrderId > 0)
|
|
{
|
|
this.Html.RenderAction(nameof(ProtocolController.Body), new { orderId = this.Model.OrderId });
|
|
}
|
|
</table> |