@model Disco.Web.Areas.Config.Models.DeviceBatch.ShowModel @{ ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Device Batches", MVC.Config.DeviceBatch.Index(null), Model.DeviceBatch.ToString()); Html.BundleDeferred("~/ClientScripts/Modules/Disco-PropertyChangeHelpers"); Html.BundleDeferred("~/ClientScripts/Modules/Disco-AjaxHelperIcons"); Html.BundleDeferred("~/ClientScripts/Modules/tinymce"); }
| Id: | @Html.DisplayFor(model => model.DeviceBatch.Id) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Name: | @Html.EditorFor(model => model.DeviceBatch.Name) @AjaxHelpers.AjaxSave() @AjaxHelpers.AjaxLoader() | ||||||||
| Device Count: | @if (Model.DeviceBatch.UnitQuantity.HasValue) { @Model.DeviceCount of @(Model.DeviceBatch.UnitQuantity.Value) } else { @Model.DeviceCount } managed by Disco @if (Model.DeviceDecommissionedCount > 0) { (@(Model.DeviceDecommissionedCount) Decommissioned) } | ||||||||
| Purchase: |
Details @AjaxHelpers.AjaxLoader("ajaxPurchaseDetails")
@Html.EditorFor(model => model.DeviceBatch.PurchaseDetails)
|
||||||||
| Default Device Model: |
@Html.DropDownListFor(model => model.DeviceBatch.DefaultDeviceModelId, Model.DeviceModels.ToSelectListItems())
@AjaxHelpers.AjaxSave()
@AjaxHelpers.AjaxLoader()
Devices added offline will default to this Device Model. Once a device enrols the Device Model will be accurately represented. |
||||||||
| Warranty: |
Details @AjaxHelpers.AjaxLoader("ajaxWarrantyDetails")
@Html.EditorFor(model => model.DeviceBatch.WarrantyDetails)
|
||||||||
| Insurance: |
Details @AjaxHelpers.AjaxLoader("ajaxInsuranceDetails")
@Html.EditorFor(model => model.DeviceBatch.InsuranceDetails)
|
||||||||
|
Comments: @AjaxHelpers.AjaxLoader("ajaxComments") |
@Html.EditorFor(model => model.DeviceBatch.Comments) |