+
ItemFlux
+
+ @Html.ValidationSummary(true, "", new { @class = "text-danger" })
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
+
+
+
ItemFlux
+
+
+ -
+ @Html.DisplayNameFor(model => model.ExtLocationID)
+
+
+ -
+ @Html.DisplayFor(model => model.ExtLocationID)
+
+
+ -
+ @Html.DisplayNameFor(model => model.dtMov)
+
+
+ -
+ @Html.DisplayFor(model => model.dtMov)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Qta)
+
+
+ -
+ @Html.DisplayFor(model => model.Qta)
+
+
+ -
+ @Html.DisplayNameFor(model => model.TotValue)
+
+
+ -
+ @Html.DisplayFor(model => model.TotValue)
+
+
+ -
+ @Html.DisplayNameFor(model => model.UnitVal)
+
+
+ -
+ @Html.DisplayFor(model => model.UnitVal)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Note)
+
+
+ -
+ @Html.DisplayFor(model => model.Note)
+
+
+ -
+ @Html.DisplayNameFor(model => model.dtExport)
+
+
+ -
+ @Html.DisplayFor(model => model.dtExport)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Item.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Item.Descr)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Location.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Location.Descr)
+
+
+ -
+ @Html.DisplayNameFor(model => model.MovType.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.MovType.Descr)
+
+
+
+
+ @using (Html.BeginForm()) {
+ @Html.AntiForgeryToken()
+
+
+ |
+ @Html.ActionLink("Back to List", "Index")
+
+ }
+
diff --git a/StockManMVC/Views/ItemFluxes/Details.cshtml b/StockManMVC/Views/ItemFluxes/Details.cshtml
new file mode 100644
index 0000000..7cd16cd
--- /dev/null
+++ b/StockManMVC/Views/ItemFluxes/Details.cshtml
@@ -0,0 +1,98 @@
+@model StockManMVC.Models.ItemFlux
+
+@{
+ ViewBag.Title = "Details";
+}
+
+
+ @Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |
+ @Html.ActionLink("Back to List", "Index")
+
diff --git a/StockManMVC/Views/ItemFluxes/Edit.cshtml b/StockManMVC/Views/ItemFluxes/Edit.cshtml
new file mode 100644
index 0000000..8f6d80a
--- /dev/null
+++ b/StockManMVC/Views/ItemFluxes/Edit.cshtml
@@ -0,0 +1,114 @@
+@model StockManMVC.Models.ItemFlux
+
+@{
+ ViewBag.Title = "Edit";
+}
+
+
+
ItemFlux
+
+ @Html.ValidationSummary(true, "", new { @class = "text-danger" })
+ @Html.HiddenFor(model => model.ID)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
+
+
+
+@{
+ ViewBag.Title = "Index";
+}
+
+Index
+
+
+ @Html.ActionLink("Create New", "Create")
+
+
+
+ |
+ @Html.DisplayNameFor(model => model.ExtLocationID)
+ |
+
+ @Html.DisplayNameFor(model => model.dtMov)
+ |
+
+ @Html.DisplayNameFor(model => model.Qta)
+ |
+
+ @Html.DisplayNameFor(model => model.TotValue)
+ |
+
+ @Html.DisplayNameFor(model => model.UnitVal)
+ |
+
+ @Html.DisplayNameFor(model => model.Note)
+ |
+
+ @Html.DisplayNameFor(model => model.dtExport)
+ |
+
+ @Html.DisplayNameFor(model => model.Item.Descr)
+ |
+
+ @Html.DisplayNameFor(model => model.Location.Descr)
+ |
+
+ @Html.DisplayNameFor(model => model.MovType.Descr)
+ |
+ |
+
+
+@foreach (var item in Model) {
+
+ |
+ @Html.DisplayFor(modelItem => item.ExtLocationID)
+ |
+
+ @Html.DisplayFor(modelItem => item.dtMov)
+ |
+
+ @Html.DisplayFor(modelItem => item.Qta)
+ |
+
+ @Html.DisplayFor(modelItem => item.TotValue)
+ |
+
+ @Html.DisplayFor(modelItem => item.UnitVal)
+ |
+
+ @Html.DisplayFor(modelItem => item.Note)
+ |
+
+ @Html.DisplayFor(modelItem => item.dtExport)
+ |
+
+ @Html.DisplayFor(modelItem => item.Item.Descr)
+ |
+
+ @Html.DisplayFor(modelItem => item.Location.Descr)
+ |
+
+ @Html.DisplayFor(modelItem => item.MovType.Descr)
+ |
+
+ @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
+ @Html.ActionLink("Details", "Details", new { id=item.ID }) |
+ @Html.ActionLink("Delete", "Delete", new { id=item.ID })
+ |
+
+}
+
+
diff --git a/StockManMVC/Views/ItemStocks/Create.cshtml b/StockManMVC/Views/ItemStocks/Create.cshtml
new file mode 100644
index 0000000..09e8632
--- /dev/null
+++ b/StockManMVC/Views/ItemStocks/Create.cshtml
@@ -0,0 +1,72 @@
+@model StockManMVC.Models.ItemStock
+
+@{
+ ViewBag.Title = "Create";
+}
+
+Create
+
+
+@using (Html.BeginForm())
+{
+ @Html.AntiForgeryToken()
+
+
+}
+
+
+ @Html.ActionLink("Back to List", "Index")
+
+
+@section Scripts {
+ @Scripts.Render("~/bundles/jqueryval")
+}
diff --git a/StockManMVC/Views/ItemStocks/Delete.cshtml b/StockManMVC/Views/ItemStocks/Delete.cshtml
new file mode 100644
index 0000000..782cc17
--- /dev/null
+++ b/StockManMVC/Views/ItemStocks/Delete.cshtml
@@ -0,0 +1,64 @@
+@model StockManMVC.Models.ItemStock
+
+@{
+ ViewBag.Title = "Delete";
+}
+
+Delete
+
+Are you sure you want to delete this?
+
+
ItemStock
+
+
+ -
+ @Html.DisplayNameFor(model => model.QtyConf)
+
+
+ -
+ @Html.DisplayFor(model => model.QtyConf)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Note)
+
+
+ -
+ @Html.DisplayFor(model => model.Note)
+
+
+ -
+ @Html.DisplayNameFor(model => model.dtLastUpd)
+
+
+ -
+ @Html.DisplayFor(model => model.dtLastUpd)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Item.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Item.Descr)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Location.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Location.Descr)
+
+
+
+
+ @using (Html.BeginForm()) {
+ @Html.AntiForgeryToken()
+
+
+ |
+ @Html.ActionLink("Back to List", "Index")
+
+ }
+
diff --git a/StockManMVC/Views/ItemStocks/Details.cshtml b/StockManMVC/Views/ItemStocks/Details.cshtml
new file mode 100644
index 0000000..f0d2f99
--- /dev/null
+++ b/StockManMVC/Views/ItemStocks/Details.cshtml
@@ -0,0 +1,58 @@
+@model StockManMVC.Models.ItemStock
+
+@{
+ ViewBag.Title = "Details";
+}
+
+Details
+
+
+
ItemStock
+
+
+ -
+ @Html.DisplayNameFor(model => model.QtyConf)
+
+
+ -
+ @Html.DisplayFor(model => model.QtyConf)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Note)
+
+
+ -
+ @Html.DisplayFor(model => model.Note)
+
+
+ -
+ @Html.DisplayNameFor(model => model.dtLastUpd)
+
+
+ -
+ @Html.DisplayFor(model => model.dtLastUpd)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Item.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Item.Descr)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Location.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Location.Descr)
+
+
+
+
+
+ @Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |
+ @Html.ActionLink("Back to List", "Index")
+
diff --git a/StockManMVC/Views/ItemStocks/Edit.cshtml b/StockManMVC/Views/ItemStocks/Edit.cshtml
new file mode 100644
index 0000000..8338779
--- /dev/null
+++ b/StockManMVC/Views/ItemStocks/Edit.cshtml
@@ -0,0 +1,74 @@
+@model StockManMVC.Models.ItemStock
+
+@{
+ ViewBag.Title = "Edit";
+}
+
+Edit
+
+
+@using (Html.BeginForm())
+{
+ @Html.AntiForgeryToken()
+
+
+}
+
+
+ @Html.ActionLink("Back to List", "Index")
+
+
+@section Scripts {
+ @Scripts.Render("~/bundles/jqueryval")
+}
diff --git a/StockManMVC/Views/ItemStocks/Index.cshtml b/StockManMVC/Views/ItemStocks/Index.cshtml
new file mode 100644
index 0000000..dc71a39
--- /dev/null
+++ b/StockManMVC/Views/ItemStocks/Index.cshtml
@@ -0,0 +1,57 @@
+@model IEnumerable
+
+@{
+ ViewBag.Title = "Index";
+}
+
+Index
+
+
+ @Html.ActionLink("Create New", "Create")
+
+
+
+ |
+ @Html.DisplayNameFor(model => model.QtyConf)
+ |
+
+ @Html.DisplayNameFor(model => model.Note)
+ |
+
+ @Html.DisplayNameFor(model => model.dtLastUpd)
+ |
+
+ @Html.DisplayNameFor(model => model.Item.Descr)
+ |
+
+ @Html.DisplayNameFor(model => model.Location.Descr)
+ |
+ |
+
+
+@foreach (var item in Model) {
+
+ |
+ @Html.DisplayFor(modelItem => item.QtyConf)
+ |
+
+ @Html.DisplayFor(modelItem => item.Note)
+ |
+
+ @Html.DisplayFor(modelItem => item.dtLastUpd)
+ |
+
+ @Html.DisplayFor(modelItem => item.Item.Descr)
+ |
+
+ @Html.DisplayFor(modelItem => item.Location.Descr)
+ |
+
+ @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
+ @Html.ActionLink("Details", "Details", new { id=item.ID }) |
+ @Html.ActionLink("Delete", "Delete", new { id=item.ID })
+ |
+
+}
+
+
diff --git a/StockManMVC/Views/Items/Create.cshtml b/StockManMVC/Views/Items/Create.cshtml
new file mode 100644
index 0000000..2e478c2
--- /dev/null
+++ b/StockManMVC/Views/Items/Create.cshtml
@@ -0,0 +1,96 @@
+@model StockManMVC.Models.Item
+
+@{
+ ViewBag.Title = "Create";
+}
+
+Create
+
+
+@using (Html.BeginForm())
+{
+ @Html.AntiForgeryToken()
+
+
+
Item
+
+ @Html.ValidationSummary(true, "", new { @class = "text-danger" })
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
+
+
+ @Html.ActionLink("Back to List", "Index")
+
+
+@section Scripts {
+ @Scripts.Render("~/bundles/jqueryval")
+}
diff --git a/StockManMVC/Views/Items/Delete.cshtml b/StockManMVC/Views/Items/Delete.cshtml
new file mode 100644
index 0000000..49152f6
--- /dev/null
+++ b/StockManMVC/Views/Items/Delete.cshtml
@@ -0,0 +1,88 @@
+@model StockManMVC.Models.Item
+
+@{
+ ViewBag.Title = "Delete";
+}
+
+Delete
+
+Are you sure you want to delete this?
+
+
Item
+
+
+ -
+ @Html.DisplayNameFor(model => model.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Descr)
+
+
+ -
+ @Html.DisplayNameFor(model => model.CodInt)
+
+
+ -
+ @Html.DisplayFor(model => model.CodInt)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Family)
+
+
+ -
+ @Html.DisplayFor(model => model.Family)
+
+
+ -
+ @Html.DisplayNameFor(model => model.CodExt)
+
+
+ -
+ @Html.DisplayFor(model => model.CodExt)
+
+
+ -
+ @Html.DisplayNameFor(model => model.DescrExt)
+
+
+ -
+ @Html.DisplayFor(model => model.DescrExt)
+
+
+ -
+ @Html.DisplayNameFor(model => model.QtaMin)
+
+
+ -
+ @Html.DisplayFor(model => model.QtaMin)
+
+
+ -
+ @Html.DisplayNameFor(model => model.QtaBatch)
+
+
+ -
+ @Html.DisplayFor(model => model.QtaBatch)
+
+
+ -
+ @Html.DisplayNameFor(model => model.CurrValue)
+
+
+ -
+ @Html.DisplayFor(model => model.CurrValue)
+
+
+
+
+ @using (Html.BeginForm()) {
+ @Html.AntiForgeryToken()
+
+
+ |
+ @Html.ActionLink("Back to List", "Index")
+
+ }
+
diff --git a/StockManMVC/Views/Items/Details.cshtml b/StockManMVC/Views/Items/Details.cshtml
new file mode 100644
index 0000000..8d45914
--- /dev/null
+++ b/StockManMVC/Views/Items/Details.cshtml
@@ -0,0 +1,82 @@
+@model StockManMVC.Models.Item
+
+@{
+ ViewBag.Title = "Details";
+}
+
+Details
+
+
+
Item
+
+
+ -
+ @Html.DisplayNameFor(model => model.Descr)
+
+
+ -
+ @Html.DisplayFor(model => model.Descr)
+
+
+ -
+ @Html.DisplayNameFor(model => model.CodInt)
+
+
+ -
+ @Html.DisplayFor(model => model.CodInt)
+
+
+ -
+ @Html.DisplayNameFor(model => model.Family)
+
+
+ -
+ @Html.DisplayFor(model => model.Family)
+
+
+ -
+ @Html.DisplayNameFor(model => model.CodExt)
+
+
+ -
+ @Html.DisplayFor(model => model.CodExt)
+
+
+ -
+ @Html.DisplayNameFor(model => model.DescrExt)
+
+
+ -
+ @Html.DisplayFor(model => model.DescrExt)
+
+
+ -
+ @Html.DisplayNameFor(model => model.QtaMin)
+
+
+ -
+ @Html.DisplayFor(model => model.QtaMin)
+
+
+ -
+ @Html.DisplayNameFor(model => model.QtaBatch)
+
+
+ -
+ @Html.DisplayFor(model => model.QtaBatch)
+
+
+ -
+ @Html.DisplayNameFor(model => model.CurrValue)
+
+
+ -
+ @Html.DisplayFor(model => model.CurrValue)
+
+
+
+
+
+ @Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |
+ @Html.ActionLink("Back to List", "Index")
+
diff --git a/StockManMVC/Views/Items/Edit.cshtml b/StockManMVC/Views/Items/Edit.cshtml
new file mode 100644
index 0000000..c8dabf0
--- /dev/null
+++ b/StockManMVC/Views/Items/Edit.cshtml
@@ -0,0 +1,98 @@
+@model StockManMVC.Models.Item
+
+@{
+ ViewBag.Title = "Edit";
+}
+
+Edit
+
+
+@using (Html.BeginForm())
+{
+ @Html.AntiForgeryToken()
+
+
+
Item
+
+ @Html.ValidationSummary(true, "", new { @class = "text-danger" })
+ @Html.HiddenFor(model => model.ID)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+}
+
+
+ @Html.ActionLink("Back to List", "Index")
+
+
+@section Scripts {
+ @Scripts.Render("~/bundles/jqueryval")
+}
diff --git a/StockManMVC/Views/Items/Index.cshtml b/StockManMVC/Views/Items/Index.cshtml
new file mode 100644
index 0000000..96babb8
--- /dev/null
+++ b/StockManMVC/Views/Items/Index.cshtml
@@ -0,0 +1,75 @@
+@model IEnumerable
+
+@{
+ ViewBag.Title = "Anagrafica Articoli";
+}
+
+Anagrafica Articoli
+
+
+ @Html.ActionLink("Create New", "Create")
+
+
+
+ |
+ @Html.DisplayNameFor(model => model.Descr)
+ |
+
+ @Html.DisplayNameFor(model => model.CodInt)
+ |
+
+ @Html.DisplayNameFor(model => model.Family)
+ |
+
+ @Html.DisplayNameFor(model => model.CodExt)
+ |
+
+ @Html.DisplayNameFor(model => model.DescrExt)
+ |
+
+ @Html.DisplayNameFor(model => model.QtaMin)
+ |
+
+ @Html.DisplayNameFor(model => model.QtaBatch)
+ |
+
+ @Html.DisplayNameFor(model => model.CurrValue)
+ |
+ |
+
+
+@foreach (var item in Model) {
+
+ |
+ @Html.DisplayFor(modelItem => item.Descr)
+ |
+
+ @Html.DisplayFor(modelItem => item.CodInt)
+ |
+
+ @Html.DisplayFor(modelItem => item.Family)
+ |
+
+ @Html.DisplayFor(modelItem => item.CodExt)
+ |
+
+ @Html.DisplayFor(modelItem => item.DescrExt)
+ |
+
+ @Html.DisplayFor(modelItem => item.QtaMin)
+ |
+
+ @Html.DisplayFor(modelItem => item.QtaBatch)
+ |
+
+ @Html.DisplayFor(modelItem => item.CurrValue)
+ |
+
+ @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
+ @Html.ActionLink("Details", "Details", new { id=item.ID }) |
+ @Html.ActionLink("Delete", "Delete", new { id=item.ID })
+ |
+
+}
+
+
diff --git a/StockManMVC/Views/Shared/_Layout.cshtml b/StockManMVC/Views/Shared/_Layout.cshtml
index b53a7d5..59858a7 100644
--- a/StockManMVC/Views/Shared/_Layout.cshtml
+++ b/StockManMVC/Views/Shared/_Layout.cshtml
@@ -23,12 +23,13 @@
@Html.ActionLink("Home", "Index", "Home")
@*@Html.ActionLink("About", "About", "Home")
@Html.ActionLink("Contact", "Contact", "Home")*@
- @Html.ActionLink("Items", "Index", "Items")
- @Html.ActionLink("Stock", "Index", "ItemStocks")
- @Html.ActionLink("Flux", "Index", "ItemFluxs")
- @Html.ActionLink("Locations", "Index", "Locations")
- @Html.ActionLink("Location Type", "Index", "LocTypes")
- @Html.ActionLink("Move Type", "Index", "MovTypes")
+ @Html.ActionLink("Articoli", "Index", "Items")
+ @Html.ActionLink("Magazzino Articoli", "Index", "ItemStockStatus")
+ @*@Html.ActionLink("Stock", "Index", "ItemStocks")
+ @Html.ActionLink("Flux", "Index", "ItemFluxes")*@
+ @Html.ActionLink("Posizioni", "Index", "Locations")
+ @Html.ActionLink("Tipo Posizioni", "Index", "LocTypes")
+ @Html.ActionLink("Tipo Movimenti", "Index", "MovTypes")
Hello, @User.Identity.Name!
diff --git a/StockManMVC/bin/StockManMVC.dll b/StockManMVC/bin/StockManMVC.dll
index 5625de4..9cefc67 100644
Binary files a/StockManMVC/bin/StockManMVC.dll and b/StockManMVC/bin/StockManMVC.dll differ