diff --git a/StockManMVC/Controllers/ItemFluxesController.cs b/StockManMVC/Controllers/ItemFluxesController.cs index 6772cd2..63151d0 100644 --- a/StockManMVC/Controllers/ItemFluxesController.cs +++ b/StockManMVC/Controllers/ItemFluxesController.cs @@ -479,6 +479,10 @@ namespace StockManMVC.Controllers itemFlux.ItemID = itemFluxOld.ItemID; itemFlux.MovTypeID = itemFluxOld.MovTypeID; if (itemFlux.OperatorID == null) itemFlux.OperatorID = itemFluxOld.OperatorID; + // fix valori opzionali da non annullare... + if (itemFlux.dtMov == null) itemFlux.dtMov = DateTime.Now; + if (itemFlux.Note == null) itemFlux.Note = ""; + if (itemFlux.CodDoc == null) itemFlux.CodDoc = ""; // continuo if (ModelState.IsValid) { diff --git a/StockManMVC/Views/ItemFluxes/Delete.cshtml b/StockManMVC/Views/ItemFluxes/Delete.cshtml index e39d1f9..837a88f 100644 --- a/StockManMVC/Views/ItemFluxes/Delete.cshtml +++ b/StockManMVC/Views/ItemFluxes/Delete.cshtml @@ -4,110 +4,117 @@ ViewBag.Title = "Delete"; } -

Eliminazione movimento

-
-
-
-
- @Html.DisplayNameFor(model => model.dtMov) -
+
+
+ Eliminazione record +
-
- @Html.DisplayFor(model => model.dtMov) -
+
+

Sicuro di voler eliminare questo record?

+
+
+
+ @Html.DisplayNameFor(model => model.dtMov) +
-
- @Html.DisplayNameFor(model => model.Qta) -
+
+ @Html.DisplayFor(model => model.dtMov) +
-
- @Html.DisplayFor(model => model.Qta) -
+
+ @Html.DisplayNameFor(model => model.Qta) +
-
- @Html.DisplayNameFor(model => model.TotValue) -
+
+ @Html.DisplayFor(model => model.Qta) +
-
- @Html.DisplayFor(model => model.TotValue) -
+
+ @Html.DisplayNameFor(model => model.TotValue) +
-
- @Html.DisplayNameFor(model => model.UnitVal) -
+
+ @Html.DisplayFor(model => model.TotValue) +
-
- @Html.DisplayFor(model => model.UnitVal) -
+
+ @Html.DisplayNameFor(model => model.UnitVal) +
-
- @Html.DisplayNameFor(model => model.Note) -
+
+ @Html.DisplayFor(model => model.UnitVal) +
-
- @Html.DisplayFor(model => model.Note) -
+
+ @Html.DisplayNameFor(model => model.Note) +
-
- @Html.DisplayNameFor(model => model.dtExport) -
+
+ @Html.DisplayFor(model => model.Note) +
-
- @Html.DisplayFor(model => model.dtExport) -
+
+ @Html.DisplayNameFor(model => model.dtExport) +
-
- @Html.DisplayNameFor(model => model.Location.Descr) -
+
+ @Html.DisplayFor(model => model.dtExport) +
-
- @Html.DisplayFor(model => model.Location.Descr) -
+
+ @Html.DisplayNameFor(model => model.Location.Descr) +
-
- @Html.DisplayNameFor(model => model.MovType.Descr) -
+
+ @Html.DisplayFor(model => model.Location.Descr) +
-
- @Html.DisplayFor(model => model.MovType.Descr) -
+
+ @Html.DisplayNameFor(model => model.MovType.Descr) +
-
- @Html.DisplayNameFor(model => model.Item.Descr) -
+
+ @Html.DisplayFor(model => model.MovType.Descr) +
-
- @Html.DisplayFor(model => model.Item.Descr) -
+
+ @Html.DisplayNameFor(model => model.Item.Descr) +
-
- @Html.DisplayNameFor(model => model.Operator.CodExt) -
+
+ @Html.DisplayFor(model => model.Item.Descr) +
-
- @Html.DisplayFor(model => model.Operator.CodExt) -
+
+ @Html.DisplayNameFor(model => model.Operator.CodExt) +
-
- @Html.DisplayNameFor(model => model.Location1.Descr) -
+
+ @Html.DisplayFor(model => model.Operator.CodExt) +
-
- @Html.DisplayFor(model => model.Location1.Descr) -
+
+ @Html.DisplayNameFor(model => model.Location1.Descr) +
-
+
+ @Html.DisplayFor(model => model.Location1.Descr) +
- @using (Html.BeginForm()) - { - @Html.AntiForgeryToken() -
-
- -
- +
+ + @using (Html.BeginForm()) + { + @Html.AntiForgeryToken() +
+
+ +
+ +
+ }
- } + diff --git a/StockManMVC/Views/ItemFluxes/Edit.cshtml b/StockManMVC/Views/ItemFluxes/Edit.cshtml index 066ab77..e051dc2 100644 --- a/StockManMVC/Views/ItemFluxes/Edit.cshtml +++ b/StockManMVC/Views/ItemFluxes/Edit.cshtml @@ -105,7 +105,7 @@
- Torna ad elenco + Annulla
diff --git a/StockManMVC/bin/StockManMVC.dll b/StockManMVC/bin/StockManMVC.dll index d01d8cb..e14213e 100644 Binary files a/StockManMVC/bin/StockManMVC.dll and b/StockManMVC/bin/StockManMVC.dll differ