| Id:\r\n | \r\n\r\n"); WriteLiteral(" "); #line 23 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(Html.DisplayFor(model => model.DeviceBatch.Id)); #line default #line hidden WriteLiteral("\r\n | \r\n||||||||
|---|---|---|---|---|---|---|---|---|---|
| Name:\r\n " + " | \r\n\r\n"); #line 30 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" #line default #line hidden #line 30 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" if (canConfig) { #line default #line hidden #line 32 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(Html.EditorFor(model => model.DeviceBatch.Name)); #line default #line hidden #line 32 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" #line default #line hidden #line 33 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(AjaxHelpers.AjaxSave()); #line default #line hidden #line 33 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" #line default #line hidden #line 34 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(AjaxHelpers.AjaxLoader()); #line default #line hidden #line 34 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" #line default #line hidden WriteLiteral(" \r\n"); #line 45 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" } else { #line default #line hidden #line 48 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(Model.DeviceBatch.Name); #line default #line hidden #line 48 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" } #line default #line hidden WriteLiteral(" | \r\n||||||||
| Default Device Mo" + "del:\r\n | \r\n");
#line 55 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
if (canConfig)
{
#line default
#line hidden
#line 57 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(Html.DropDownListFor(model => model.DeviceBatch.DefaultDeviceModelId, Model.DeviceModels.ToSelectListItems(null, true)));
#line default
#line hidden
#line 57 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
#line 58 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(AjaxHelpers.AjaxSave());
#line default
#line hidden
#line 58 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
#line 59 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(AjaxHelpers.AjaxLoader());
#line default
#line hidden
#line 59 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
WriteLiteral(" \r\n");
#line 70 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
if (Model.DefaultDeviceModel == null)
{
#line default
#line hidden
WriteLiteral("<None Specified>");
#line 74 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
#line default
#line hidden
#line 76 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(Model.DefaultDeviceModel.ToString());
#line default
#line hidden
#line 76 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
;
}
}
#line default
#line hidden
WriteLiteral(" \r\n Devices added offline will default to this Device Model.\r\n On" + "ce a device enrols the Device Model will be accurately represented.\r\n " + " | \r\n ||||||||
| Devices | \r\n " + "\r\n");
#line 87 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
#line 87 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
if (Model.DeviceModelMembers.Count > 0)
{
#line default
#line hidden
WriteLiteral("
No device models are referenced in this batch. \r\n");
#line 132 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
#line default
#line hidden
WriteLiteral(" ");
#line 133 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
if (Model.DeviceBatch.UnitQuantity.HasValue && Model.DeviceBatch.UnitQuantity.Value > Model.DeviceCount)
{
var missingCount = Model.DeviceBatch.UnitQuantity.Value - Model.DeviceCount;
#line default
#line hidden
WriteLiteral(" \r\n \r\n");
WriteLiteral(" ");
#line 138 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(Model.DeviceCount.ToString("n0"));
#line default
#line hidden
WriteLiteral(" of ");
#line 138 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(Model.DeviceBatch.UnitQuantity.Value.ToString("n0"));
#line default
#line hidden
WriteLiteral(" purchased devices are managed by Disco. ");
#line 138 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(missingCount.ToString("n0"));
#line default
#line hidden
WriteLiteral(" ");
#line 138 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(missingCount == 1 ? "is" : "are");
#line default
#line hidden
WriteLiteral(" not managed.\r\n \r\n");
#line 140 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
#line default
#line hidden
WriteLiteral(" | \r\n ||||||||
| Purchase:\r\n " + " | \r\n\r\n
\r\n \r\n \r\n Details ");
#line 263 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(AjaxHelpers.AjaxLoader("ajaxPurchaseDetails"));
#line default
#line hidden
WriteLiteral("\r\n \r\n");
#line 265 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
#line 265 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
if (canConfig)
{
#line default
#line hidden
#line 267 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(Html.EditorFor(model => model.DeviceBatch.PurchaseDetails));
#line default
#line hidden
#line 267 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
WriteLiteral(" \r\n");
#line 319 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
if (string.IsNullOrEmpty(Model.DeviceBatch.PurchaseDetails))
{
#line default
#line hidden
WriteLiteral("<None Specified>");
#line 323 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
#line default
#line hidden
#line 325 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(new HtmlString(Model.DeviceBatch.PurchaseDetails));
#line default
#line hidden
#line 325 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
}
#line default
#line hidden
WriteLiteral(" | \r\n ||||||||
| Warranty:\r\n | \r\n\r\n
\r\n \r\n \r\n Details ");
#line 366 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(AjaxHelpers.AjaxLoader("ajaxWarrantyDetails"));
#line default
#line hidden
WriteLiteral("\r\n \r\n");
#line 368 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
#line 368 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
if (canConfig)
{
#line default
#line hidden
#line 370 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(Html.EditorFor(model => model.DeviceBatch.WarrantyDetails));
#line default
#line hidden
#line 370 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
WriteLiteral(" \r\n");
#line 422 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
if (string.IsNullOrEmpty(Model.DeviceBatch.WarrantyDetails))
{
#line default
#line hidden
WriteLiteral("<None Specified>");
#line 426 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
#line default
#line hidden
#line 428 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(new HtmlString(Model.DeviceBatch.WarrantyDetails));
#line default
#line hidden
#line 428 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
}
#line default
#line hidden
WriteLiteral(" | \r\n ||||||||
| Insurance:\r\n | \r\n\r\n
\r\n \r\n \r\n Details ");
#line 524 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(AjaxHelpers.AjaxLoader("ajaxInsuranceDetails"));
#line default
#line hidden
WriteLiteral("\r\n \r\n");
#line 526 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
#line 526 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
if (canConfig)
{
#line default
#line hidden
#line 528 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(Html.EditorFor(model => model.DeviceBatch.InsuranceDetails));
#line default
#line hidden
#line 528 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
#line default
#line hidden
WriteLiteral(" \r\n");
#line 578 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
if (string.IsNullOrEmpty(Model.DeviceBatch.InsuranceDetails))
{
#line default
#line hidden
WriteLiteral("<None Specified>");
#line 582 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
else
{
#line default
#line hidden
#line 584 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
Write(new HtmlString(Model.DeviceBatch.InsuranceDetails));
#line default
#line hidden
#line 584 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml"
}
}
#line default
#line hidden
WriteLiteral(" | \r\n ||||||||
| Comments: \r\n"); WriteLiteral(" "); #line 591 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(AjaxHelpers.AjaxLoader("ajaxComments")); #line default #line hidden WriteLiteral("\r\n | \r\n "); #line 593 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" if (canConfig) { #line default #line hidden #line 595 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(Html.EditorFor(model => model.DeviceBatch.Comments)); #line default #line hidden #line 595 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" #line default #line hidden WriteLiteral(" \r" + "\n"); #line 645 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" } else { if (string.IsNullOrEmpty(Model.DeviceBatch.Comments)) { #line default #line hidden WriteLiteral("<None Specified>"); #line 649 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" } else { #line default #line hidden #line 651 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" Write(new HtmlString(Model.DeviceBatch.Comments)); #line default #line hidden #line 651 "..\..\Areas\Config\Views\DeviceBatch\Show.cshtml" } } #line default #line hidden WriteLiteral(" | \r\n