From 6f9d5af0bbc360515028524cef2adaa214a72790 Mon Sep 17 00:00:00 2001 From: michele Date: Wed, 15 Oct 2025 12:21:32 +0200 Subject: [PATCH] impostato layout Articoli, Impianti,Magazzini --- Views/Articoli/Create.cshtml | 87 +++++++++++++++++- Views/Articoli/Delete.cshtml | 69 ++++++++++++++- Views/Impianti/Create.cshtml | 137 ++++++++++++++++++++++++++--- Views/Impianti/Delete.cshtml | 123 +++++++++++++++++++++++++- Views/Impianti/Edit.cshtml | 150 +++++++++++++++++++++++++------- Views/MagazziniVT/Create.cshtml | 49 ++++++++++- Views/MagazziniVT/Delete.cshtml | 53 ++++++++++- Views/MagazziniVT/Edit.cshtml | 69 +++++++++------ 8 files changed, 666 insertions(+), 71 deletions(-) diff --git a/Views/Articoli/Create.cshtml b/Views/Articoli/Create.cshtml index 77b2a87..e6cee9a 100644 --- a/Views/Articoli/Create.cshtml +++ b/Views/Articoli/Create.cshtml @@ -5,6 +5,91 @@ Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml"; } +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  
@Html.DisplayNameFor(model => model.SlCodice) + + +
@Html.DisplayNameFor(model => model.ArDesArt) + + +
@Html.DisplayNameFor(model => model.SlCodMag) + @Html.DropDownListFor(x => x.SlCodMag, (IEnumerable)ViewBag.Magazzini, new { @class = "agy-form-field require" }) + +
@Html.DisplayNameFor(model => model.SlQtAper) + + +
@Html.DisplayNameFor(model => model.LiPrezzo) + + +
+ + Torna alla lista +
+
+ + + @Html.HiddenFor(x => x.Azienda) + @Html.HiddenFor(model => model.AmCodice) + @Html.HiddenFor(model => model.LoCodice) + @Html.HiddenFor(model => model.LiCodLis) + @Html.HiddenFor(model => model.LiCodArt) + @Html.HiddenFor(model => model.LiDatAtt) + @Html.HiddenFor(model => model.LiQuanti) + @Html.HiddenFor(model => model.LiScont1) + @Html.HiddenFor(model => model.LiScont2) + @Html.HiddenFor(model => model.LiScont3) + @Html.HiddenFor(model => model.LiScont4) + @Html.HiddenFor(model => model.Gest_Matr) + @Html.HiddenFor(model => model.Gest_Lotti) + @Html.HiddenFor(model => model.Desc_sup) + +
+
+
+ + +@section Scripts { + @{ + await Html.RenderPartialAsync("_ValidationScriptsPartial"); + } +} + +@*
@@ -72,4 +157,4 @@ }
-
+ *@ diff --git a/Views/Articoli/Delete.cshtml b/Views/Articoli/Delete.cshtml index 40f263f..0d342a1 100644 --- a/Views/Articoli/Delete.cshtml +++ b/Views/Articoli/Delete.cshtml @@ -7,6 +7,73 @@
+
+ +

+ Sei sicuro di voler eliminare questo tecnico?
+ Questa operazione non può essere annullata. +

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + @Html.HiddenFor(x => x.Azienda) + @Html.HiddenFor(model => model.AmCodice) + @Html.HiddenFor(model => model.LoCodice) + @Html.HiddenFor(model => model.LiCodLis) + @Html.HiddenFor(model => model.LiCodArt) + @Html.HiddenFor(model => model.LiDatAtt) + @Html.HiddenFor(model => model.LiQuanti) + @Html.HiddenFor(model => model.LiScont1) + @Html.HiddenFor(model => model.LiScont2) + @Html.HiddenFor(model => model.LiScont3) + @Html.HiddenFor(model => model.LiScont4) + @Html.HiddenFor(model => model.Gest_Matr) + @Html.HiddenFor(model => model.Gest_Lotti) + @Html.HiddenFor(model => model.Desc_sup) + +
  
+ @Html.DisplayNameFor(model => model.SlCodice) + @Html.DisplayFor(model => model.SlCodice)
+ @Html.DisplayNameFor(model => model.ArDesArt) + @Html.DisplayFor(model => model.ArDesArt)
+ @Html.DisplayNameFor(model => model.SlCodMag) + @Html.DisplayFor(model => model.SlCodMag)
+ @Html.DisplayNameFor(model => model.LiPrezzo) + @Html.DisplayFor(model => model.LiPrezzo)
+
+ +
+ + model.SlCodice) name="id" /> + Torna alla lista +
+
+
+ +@*
@@ -50,4 +117,4 @@
-
+ *@ diff --git a/Views/Impianti/Create.cshtml b/Views/Impianti/Create.cshtml index ae26177..bc29232 100644 --- a/Views/Impianti/Create.cshtml +++ b/Views/Impianti/Create.cshtml @@ -5,6 +5,121 @@ Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml"; } +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  
@Html.DisplayNameFor(model => model.imultcli) + @Html.DropDownListFor(x => x.imultcli, (IEnumerable)ViewBag.AllStockList, new { @class = "agy-form-field require" }) + +
@Html.DisplayNameFor(model => model.imcodimp) + + +
@Html.DisplayNameFor(model => model.imdescri) + + +
@Html.DisplayNameFor(model => model.imindiri1) + + +
@Html.DisplayNameFor(model => model.imindiri2) + + +
@Html.DisplayNameFor(model => model.imindiri3) + + +
@Html.DisplayNameFor(model => model.imindiri4) + + +
@Html.DisplayNameFor(model => model.imindiri5) + + +
@Html.DisplayNameFor(model => model.imlocali) + + +
@Html.DisplayNameFor(model => model.imcodcap) + + +
@Html.DisplayNameFor(model => model.imcomune) + + +
@Html.DisplayNameFor(model => model.improvin) + + +
+ + Torna alla lista +
+
+ +
+
+
+@* @model VirtualTask.Models.Impianto + +@{ + ViewData["Title"] = "Nuovo impianto"; + Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml"; +} +
@@ -34,36 +149,36 @@
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
-
+
*@ @* *@ - + @*
 
@@ -90,26 +205,26 @@
-
 
+
 
*@ @*
@Html.DropDownListFor(x =>x.imultcli,(IEnumerable)ViewBag.AllStockList,new {@class = "form-control"})
 
*@ -
-
+
*@ @* Torna alla lista *@ -
+@*
- + *@ - *@ - -@* *@ - -@* *@ - -@* *@