diff --git a/InventoryTraker.Web/Views/Shared/_Layout.cshtml b/InventoryTraker.Web/Views/Shared/_Layout.cshtml
index fb2dbcc..63074e8 100644
--- a/InventoryTraker.Web/Views/Shared/_Layout.cshtml
+++ b/InventoryTraker.Web/Views/Shared/_Layout.cshtml
@@ -27,7 +27,7 @@
{
}
diff --git a/InventoryTraker.Web/Views/Transaction/Index.cshtml b/InventoryTraker.Web/Views/Transaction/Index.cshtml
index 7efe498..e77b6b1 100644
--- a/InventoryTraker.Web/Views/Transaction/Index.cshtml
+++ b/InventoryTraker.Web/Views/Transaction/Index.cshtml
@@ -1,6 +1,4 @@
-@using InventoryTraker.Web.Helpers
-@using InventoryTraker.Web.Models
-@model dynamic
+@model dynamic
@{
ViewBag.Title = "Inventory";
@@ -8,7 +6,7 @@
diff --git a/InventoryTraker.Web/Web.config b/InventoryTraker.Web/Web.config
index 449d6b5..28dfbb0 100644
--- a/InventoryTraker.Web/Web.config
+++ b/InventoryTraker.Web/Web.config
@@ -106,5 +106,7 @@
-
+
+
+
\ No newline at end of file
diff --git a/InventoryTraker.Web/js/inventory/inventorySvc.js b/InventoryTraker.Web/js/inventory/inventorySvc.js
index 6127937..eeeb9d5 100644
--- a/InventoryTraker.Web/js/inventory/inventorySvc.js
+++ b/InventoryTraker.Web/js/inventory/inventorySvc.js
@@ -47,9 +47,10 @@
}
function update(existingInventory, updatedInventory) {
+
return $http.post("/Inventory/Update", updatedInventory)
.success(function(inventory) {
- angular.extend(existingInventory, inventory);
+ //angular.extend(existingInventory, inventory);
});
}
diff --git a/InventoryTraker.Web/js/inventory/templates/inventoryDistribute.tmpl.cshtml b/InventoryTraker.Web/js/inventory/templates/inventoryDistribute.tmpl.cshtml
index 2cb508e..368a74c 100644
--- a/InventoryTraker.Web/js/inventory/templates/inventoryDistribute.tmpl.cshtml
+++ b/InventoryTraker.Web/js/inventory/templates/inventoryDistribute.tmpl.cshtml
@@ -25,37 +25,49 @@
+
+ @*
+
+ -
+ {{ key }} errors
+
+ - {{ e.$name }} has an error: {{ key }}.
+
+
+
+
*@
+
diff --git a/InventoryTraker.Web/js/inventory/templates/inventoryEdit.tmpl.cshtml b/InventoryTraker.Web/js/inventory/templates/inventoryEdit.tmpl.cshtml
index 7b25f1a..0148740 100644
--- a/InventoryTraker.Web/js/inventory/templates/inventoryEdit.tmpl.cshtml
+++ b/InventoryTraker.Web/js/inventory/templates/inventoryEdit.tmpl.cshtml
@@ -16,7 +16,7 @@