(isDecommissioned ? "decommissioned" : null
+
+ #line default
+ #line hidden
+, 2036), false)
+);
+
+WriteLiteral(">\r\n | \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 50 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(Html.ActionLink(item.Name, MVC.Config.DeviceBatch.Index(item.Id)));
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+ #line 50 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ if (isDecommissioned) {
+
+ #line default
+ #line hidden
+WriteLiteral(" Decommissioned ");
+
+
+ #line 50 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" | \r\n \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 53 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(item.DefaultDeviceModel);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n | \r\n \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 56 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(CommonHelpers.FriendlyDate(item.PurchaseDate));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n | \r\n \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 59 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(CommonHelpers.FriendlyDate(item.WarrantyExpires, "Unknown"));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n | \r\n \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 62 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(CommonHelpers.FriendlyDate(item.InsuredUntil, item.InsuranceSupplier == null ? "N/A" : "Unknown"));
#line default
#line hidden
WriteLiteral("\r\n");
-WriteLiteral(" ");
+WriteLiteral(" ");
- #line 46 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- Write(item.InsuranceSupplier == null ? string.Empty : string.Format("[{0}]", item.InsuranceSupplier));
+ #line 63 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(item.InsuranceSupplier == null ? string.Empty : string.Format("[{0}]", item.InsuranceSupplier));
#line default
#line hidden
-WriteLiteral("\r\n | \r\n \r\n");
+WriteLiteral("\r\n | \r\n \r\n");
- #line 49 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
-
+ #line 66 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+
#line default
#line hidden
- #line 49 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- if (item.PurchaseUnitQuantity.HasValue)
- {
+ #line 66 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ if (item.PurchaseUnitQuantity.HasValue)
+ {
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
- #line 51 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- Write(item.DeviceCount.ToString("n0"));
+ #line 68 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(item.DeviceCount.ToString("n0"));
#line default
@@ -209,8 +292,8 @@ WriteLiteral(" ");
WriteLiteral("/");
- #line 51 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- Write(item.PurchaseUnitQuantity.Value.ToString("n0"));
+ #line 68 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(item.PurchaseUnitQuantity.Value.ToString("n0"));
#line default
@@ -218,59 +301,59 @@ WriteLiteral("/");
WriteLiteral("\r\n");
- #line 52 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- }
- else
- {
-
+ #line 69 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ }
+ else
+ {
+
#line default
#line hidden
- #line 55 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- Write(item.DeviceCount.ToString("n0"));
+ #line 72 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(item.DeviceCount.ToString("n0"));
#line default
#line hidden
- #line 55 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
-
- }
+ #line 72 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+
+ }
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
- #line 57 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- if (item.DeviceDecommissionedCount > 0)
- {
+ #line 74 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ if (item.DeviceDecommissionedCount > 0)
+ {
#line default
#line hidden
-WriteLiteral(" (item.DeviceDecommissionedCount.ToString("n0")
+ #line 76 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+, Tuple.Create(Tuple.Create("", 3523), Tuple.Create(item.DeviceDecommissionedCount.ToString("n0")
#line default
#line hidden
-, 2125), false)
-, Tuple.Create(Tuple.Create(" ", 2173), Tuple.Create("Decommissioned", 2174), true)
+, 3523), false)
+, Tuple.Create(Tuple.Create(" ", 3571), Tuple.Create("Decommissioned", 3572), true)
);
WriteLiteral(">(");
- #line 59 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- Write(item.DeviceDecommissionedCount.ToString("n0"));
+ #line 76 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ Write(item.DeviceDecommissionedCount.ToString("n0"));
#line default
@@ -278,32 +361,34 @@ WriteLiteral(">(");
WriteLiteral(")\r\n");
- #line 60 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- }
+ #line 77 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ }
#line default
#line hidden
-WriteLiteral(" | \r\n
\r\n");
+WriteLiteral(" \r\n \r\n");
- #line 63 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
- }
+ #line 80 "..\..\Areas\Config\Views\DeviceBatch\Index.cshtml"
+ }
#line default
#line hidden
-WriteLiteral("