diff --git a/Views/Rapp_New/Details.cshtml b/Views/Rapp_New/Details.cshtml
index 0e1ca47..ebd4170 100644
--- a/Views/Rapp_New/Details.cshtml
+++ b/Views/Rapp_New/Details.cshtml
@@ -16,7 +16,7 @@
@using (Html.BeginForm("Index", "MagNewVT", FormMethod.Post))
{
-
Mag New
+
Magazzino componenti
}
@@ -36,318 +36,479 @@
@Html.DisplayNameFor(model => model.seriale_rapportino) @Html.DisplayFor(model => model.seriale_rapportino)
-
-
-
-
-
-
-
-
- @Html.DisplayNameFor(model => model.codice_impianto) @Html.DisplayFor(model => model.codice_impianto)
-
-
-
- @{
- if (!string.IsNullOrEmpty(Model.seriale_chiamata)&&!Model.seriale_chiamata.Trim().Equals(string.Empty))
- {
-
- @Html.DisplayNameFor(model => model.seriale_chiamata) @Html.DisplayFor(model => model.seriale_chiamata)
-
- }
- }
-
- @{
- if (!string.IsNullOrEmpty(Model.seriale_commessa) && !Model.seriale_commessa.Trim().Equals(string.Empty))
- {
-
- @Html.DisplayNameFor(model => model.seriale_commessa) @Html.DisplayFor(model => model.seriale_commessa)
-
- }
- }
-
-
-
- @Html.DisplayNameFor(model => model.data_rapportino) @Html.DisplayFor(model => model.data_rapportino)
-
-
- @Html.DisplayNameFor(model => model.ora_ini_rapportino) @Html.DisplayFor(model => model.ora_ini_rapportino):@Html.DisplayFor(model => model.min_ini_rapportino)
-
-
-
- @Html.DisplayNameFor(model => model.ora_fin_rapportino) @Html.DisplayFor(model => model.ora_fin_rapportino):@Html.DisplayFor(model => model.min_fin_rapportino)
-
-
-
-
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_1))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_1) @Html.DisplayFor(model => model.codice_chiusura_1)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_2))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_2) @Html.DisplayFor(model => model.codice_chiusura_2)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_3))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_3) @Html.DisplayFor(model => model.codice_chiusura_3)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_4))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_4) @Html.DisplayFor(model => model.codice_chiusura_4)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_5))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_5) @Html.DisplayFor(model => model.codice_chiusura_5)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_6))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_6) @Html.DisplayFor(model => model.codice_chiusura_6)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_7))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_7) @Html.DisplayFor(model => model.codice_chiusura_7)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_8))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_8) @Html.DisplayFor(model => model.codice_chiusura_8)
-
- }
- }
-
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_9))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_9) @Html.DisplayFor(model => model.codice_chiusura_9)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.codice_chiusura_10))
- {
-
- @Html.DisplayNameFor(model => model.codice_chiusura_10) @Html.DisplayFor(model => model.codice_chiusura_10)
-
- }
- }
-
- @{
- if (!string.IsNullOrEmpty(Model.descrizione_intervento))
- {
-
- @Html.DisplayNameFor(model => model.descrizione_intervento) @Html.DisplayFor(model => model.descrizione_intervento)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.stato_finale) && Model.stato_finale.Trim() != string.Empty)
- {
-
- @Html.DisplayNameFor(model => model.stato_finale) @Html.DisplayFor(model => model.stato_finale)
-
- }
- }
-
-
- @{
- if (!string.IsNullOrEmpty(Model.codice_tecnico))
- {
-
- @Html.DisplayNameFor(model => model.codice_tecnico) @Html.DisplayFor(model => model.codice_tecnico)
-
- }
- }
-
-
- @{
- if (!string.IsNullOrEmpty(Model.firma) && Model.firma.Trim()!=string.Empty)
- {
-
- @Html.DisplayNameFor(model => model.firma) @Html.DisplayFor(model => model.firma)
-
- }
- }
-
-
- @{
- if (!string.IsNullOrEmpty(Model.ser_buono))
- {
-
- @Html.DisplayNameFor(model => model.ser_buono) @Html.DisplayFor(model => model.ser_buono)
-
- }
- }
-
- @{
- if (!string.IsNullOrEmpty(Model.codice_intervento))
- {
-
- @Html.DisplayNameFor(model => model.codice_intervento) @Html.DisplayFor(model => model.codice_intervento)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.difetti_riscontrati))
- {
-
- @Html.DisplayNameFor(model => model.difetti_riscontrati) @Html.DisplayFor(model => model.difetti_riscontrati)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.lavoro_eseguito))
- {
-
- @Html.DisplayNameFor(model => model.lavoro_eseguito) @Html.DisplayFor(model => model.lavoro_eseguito)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.esito_intervento))
- {
-
- @Html.DisplayNameFor(model => model.esito_intervento) @Html.DisplayFor(model => model.esito_intervento)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.note_intervento))
- {
-
- @Html.DisplayNameFor(model => model.note_intervento) @Html.DisplayFor(model => model.note_intervento)
-
- }
- }
-
-
- @{
- if (Model.ore_lavoro!=null)
- {
-
- @Html.DisplayNameFor(model => model.ore_lavoro) @Html.DisplayFor(model => model.ore_lavoro)
-
- }
- }
-
- @{
- if (Model.materiale!=null && Model.materiale>0)
- {
-
- @Html.DisplayNameFor(model => model.materiale) @Html.DisplayFor(model => model.materiale)
-
- }
- }
- @{
- if (Model.diritto_chiamata != null && Model.diritto_chiamata > 0)
- {
-
- @Html.DisplayNameFor(model => model.diritto_chiamata) @Html.DisplayFor(model => model.diritto_chiamata)
-
- }
- }
- @{
- if (Model.manodopera != null && Model.manodopera> 0)
- {
-
- @Html.DisplayNameFor(model => model.manodopera) @Html.DisplayFor(model => model.manodopera)
-
- }
- }
- @{
- if (Model.spese_viaggio != null && Model.spese_viaggio > 0)
- {
-
- @Html.DisplayNameFor(model => model.spese_viaggio) @Html.DisplayFor(model => model.spese_viaggio)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.pagamento))
- {
-
- @Html.DisplayNameFor(model => model.pagamento) @Html.DisplayFor(model => model.pagamento)
-
- }
- }
- @{
- if (Model.anticipo != null && Model.anticipo > 0)
- {
-
- @Html.DisplayNameFor(model => model.anticipo) @Html.DisplayFor(model => model.anticipo)
-
- }
- }
- @{
- if (Model.totale != null && Model.totale > 0)
- {
-
- @Html.DisplayNameFor(model => model.totale) @Html.DisplayFor(model => model.totale)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.note_pagamento))
- {
-
- @Html.DisplayNameFor(model => model.note_pagamento) @Html.DisplayFor(model => model.note_pagamento)
-
- }
- }
- @{
- if (!string.IsNullOrEmpty(Model.tipo_intervento))
- {
-
- @Html.DisplayNameFor(model => model.tipo_intervento) @Html.DisplayFor(model => model.tipo_intervento)
-
- }
- }
-
-
-
- @{
- if (!string.IsNullOrEmpty(Model.rafoto1))
- {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_impianto) @Html.DisplayFor(model => model.codice_impianto)
+ |
+
+ @{
+ if (!string.IsNullOrEmpty(Model.seriale_chiamata) && !Model.seriale_chiamata.Trim().Equals(string.Empty))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.seriale_chiamata) @Html.DisplayFor(model => model.seriale_chiamata)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.seriale_commessa) && !Model.seriale_commessa.Trim().Equals(string.Empty))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.seriale_commessa) @Html.DisplayFor(model => model.seriale_commessa)
+ |
+
+ }
+ }
|
-
- @Html.DisplayNameFor(model => model.rafoto1)
-
+ @Html.DisplayNameFor(model => model.data_rapportino) @Html.DisplayFor(model => model.data_rapportino)
|
-
+
+ |
+ @Html.DisplayNameFor(model => model.ora_ini_rapportino) @Html.DisplayFor(model => model.ora_ini_rapportino):@Html.DisplayFor(model => model.min_ini_rapportino)
+ |
+
+
+ |
+ @Html.DisplayNameFor(model => model.ora_fin_rapportino) @Html.DisplayFor(model => model.ora_fin_rapportino):@Html.DisplayFor(model => model.min_fin_rapportino)
+ |
+
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_1))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_1) @Html.DisplayFor(model => model.codice_chiusura_1)
+ |
+
+ }
}
- }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_2))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_2) @Html.DisplayFor(model => model.codice_chiusura_2)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_3))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_3) @Html.DisplayFor(model => model.codice_chiusura_3)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_4))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_4) @Html.DisplayFor(model => model.codice_chiusura_4)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_5))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_5) @Html.DisplayFor(model => model.codice_chiusura_5)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_6))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_6) @Html.DisplayFor(model => model.codice_chiusura_6)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_7))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_7) @Html.DisplayFor(model => model.codice_chiusura_7)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_8))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_8) @Html.DisplayFor(model => model.codice_chiusura_8)
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_9))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_9) @Html.DisplayFor(model => model.codice_chiusura_9)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_chiusura_10))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_chiusura_10) @Html.DisplayFor(model => model.codice_chiusura_10)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.descrizione_intervento))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.descrizione_intervento) @Html.DisplayFor(model => model.descrizione_intervento)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.stato_finale) && Model.stato_finale.Trim() != string.Empty)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.stato_finale) @Html.DisplayFor(model => model.stato_finale)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_tecnico))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_tecnico) @Html.DisplayFor(model => model.codice_tecnico)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.firma) && Model.firma.Trim() != string.Empty)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.firma) @Html.DisplayFor(model => model.firma)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.ser_buono))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.ser_buono) @Html.DisplayFor(model => model.ser_buono)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.codice_intervento))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.codice_intervento) @Html.DisplayFor(model => model.codice_intervento)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.difetti_riscontrati))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.difetti_riscontrati) @Html.DisplayFor(model => model.difetti_riscontrati)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.lavoro_eseguito))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.lavoro_eseguito) @Html.DisplayFor(model => model.lavoro_eseguito)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.esito_intervento))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.esito_intervento) @Html.DisplayFor(model => model.esito_intervento)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.note_intervento))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.note_intervento) @Html.DisplayFor(model => model.note_intervento)
+ |
+
+ }
+ }
+ @{
+ if (Model.ore_lavoro != null)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.ore_lavoro) @Html.DisplayFor(model => model.ore_lavoro)
+ |
+
+ }
+ }
+
+ @{
+ if (Model.materiale != null && Model.materiale > 0)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.materiale) @Html.DisplayFor(model => model.materiale)
+ |
+
+ }
+ }
+ @{
+ if (Model.diritto_chiamata != null && Model.diritto_chiamata > 0)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.diritto_chiamata) @Html.DisplayFor(model => model.diritto_chiamata)
+ |
+
+ }
+ }
+ @{
+ if (Model.manodopera != null && Model.manodopera > 0)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.manodopera) @Html.DisplayFor(model => model.manodopera)
+ |
+
+ }
+ }
+ @{
+ if (Model.spese_viaggio != null && Model.spese_viaggio > 0)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.spese_viaggio) @Html.DisplayFor(model => model.spese_viaggio)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.pagamento))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.pagamento) @Html.DisplayFor(model => model.pagamento)
+ |
+
+ }
+ }
+ @{
+ if (Model.anticipo != null && Model.anticipo > 0)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.anticipo) @Html.DisplayFor(model => model.anticipo)
+ |
+
+ }
+ }
+ @{
+ if (Model.totale != null && Model.totale > 0)
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.totale) @Html.DisplayFor(model => model.totale)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.note_pagamento))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.note_pagamento) @Html.DisplayFor(model => model.note_pagamento)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.tipo_intervento))
+ {
+
+ |
+ @Html.DisplayNameFor(model => model.tipo_intervento) @Html.DisplayFor(model => model.tipo_intervento)
+ |
+
+ }
+ }
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto1))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto1)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto2))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto2)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto3))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto3)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto4))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto4)
+
+ |
+
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto5))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto5)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto6))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto6)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto7))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto7)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto8))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto8)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto9))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto9)
+
+ |
+
+ }
+ }
+
+ @{
+ if (!string.IsNullOrEmpty(Model.rafoto10))
+ {
+
+ |
+
+ @Html.DisplayNameFor(model => model.rafoto10)
+
+ |
+
+ }
+ }
+