diff --git a/Controllers/ImpiantiController.cs b/Controllers/ImpiantiController.cs index 81e4215..3e48552 100644 --- a/Controllers/ImpiantiController.cs +++ b/Controllers/ImpiantiController.cs @@ -348,7 +348,7 @@ namespace VirtualTask.Controllers SelectListItem listItemFirst = new SelectListItem(); listItemFirst.Value = string.Empty; - listItemFirst.Text = "- cliente"; + listItemFirst.Text = "--selezionare un cliente--"; selectItems.Add(listItemFirst); foreach (var role in modelList) diff --git a/Controllers/Rapp_NewController.cs b/Controllers/Rapp_NewController.cs index 7db5e9a..137761f 100644 --- a/Controllers/Rapp_NewController.cs +++ b/Controllers/Rapp_NewController.cs @@ -323,7 +323,7 @@ namespace VirtualTask.Controllers #endregion DELETE - //metodo per avere riempire combobox con la tabella delle chiusure + //metodo per riempire combobox con la tabella tecnici private List GetTecnici() { SessionHelper helper = new SessionHelper(this); @@ -377,7 +377,7 @@ namespace VirtualTask.Controllers if (role == modelList.First()) { listItem.Value = string.Empty; - listItem.Text = ""; + listItem.Text = "--Selezionare codice chiusura--"; selectItems.Add(listItem); } else diff --git a/Models/Anag.cs b/Models/Anag.cs index a97087c..b5313f0 100644 --- a/Models/Anag.cs +++ b/Models/Anag.cs @@ -5,63 +5,63 @@ namespace VirtualTask.Models { public class Anag { - [Display(Name = "TIPO")] + [Display(Name = "Tipo")] /// tipo (chiave) public string? antipcon { get; set; } - [Display(Name = "CODICE")] + [Display(Name = "Codice")] /// codice (chiave) public string? ancodice { get; set; } - [Display(Name = "AZIENDA")] + [Display(Name = "Azienda")] /// aziewnda (chiave) public string? ancodazi { get; set; } - [Display(Name = "EMAIL")] + [Display(Name = "Email")] [StringLength(254)] /// email public string? an_email { get; set; } - [Display(Name = "CODICE FISCALE")] + [Display(Name = "Codice fiscale")] [StringLength(16)] /// codice fiscale public string? ancodfis { get; set; } - [Display(Name = "PARTITA IVA")] + [Display(Name = "Partita iva")] [StringLength(12)] /// partita iva public string? anpariva { get; set; } - [Display(Name = "INDIRIZZO")] + [Display(Name = "Indirizzo")] [StringLength(35)] /// indirizzo public string? anindiri { get; set; } - [Display(Name = "TELEFONO")] + [Display(Name = "Telefono")] [StringLength(36)] /// telefono public string? antelefo { get; set; } - [Display(Name = "CELLULARE")] + [Display(Name = "Cellulare")] [StringLength(36)] /// cellulare public string? annumcel { get; set; } - [Display(Name = "PEC")] + [Display(Name = "Pec")] [StringLength(254)] /// pec public string? an_empec { get; set; } - [Display(Name = "RAGIONE SOCIALE"), Required(ErrorMessage = "Ragione sociale obbligatoria")] + [Display(Name = "Ragione sociale"), Required(ErrorMessage = "Ragione sociale obbligatoria")] [StringLength(60)] /// descrizione public string? andescri { get; set; } - [Display(Name = "CODICE LISTINO")] + [Display(Name = "Codice listino")] /// listino cliente public string? annumlis { get; set; } - [Display(Name = "DATA CANCELLAZIONE")] + [Display(Name = "Data cancellazione")] /// cliente eliminato public DateTime? andtobso { get; set; } diff --git a/Models/Chiamate.cs b/Models/Chiamate.cs index c0f6ba9..3579b25 100644 --- a/Models/Chiamate.cs +++ b/Models/Chiamate.cs @@ -8,46 +8,46 @@ namespace VirtualTask.Models { public class Chiamate { - [Display (Name= "AZIENDA")] + [Display (Name= "Azienda")] public string? chcodazi { get; set; } - [Display(Name = "SERIALE")] + [Display(Name = "Seriale")] public string? chserial { get; set; } - [Display(Name = "CODICE ESERCIZIO")] + [Display(Name = "Codice esercizio")] public string? chcodese { get; set; } - [Display(Name = "TIPO")] + [Display(Name = "Tipo")] public string? chtipo { get; set; } - [Display(Name = "NUMERO")] + [Display(Name = "Numero")] [Column(TypeName = "decimal(10, 0)")] public decimal? chnumero { get; set; } - [Display(Name = "DATA")] + [Display(Name = "Data")] [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")] public DateTime? chdata { get; set; } - [Display(Name = "COD. IMPIANTO")] + [Display(Name = "Cod. Impianto")] public string? chcodimp { get; set; } - [Display(Name = "RIFERIMENTO")] + [Display(Name = "Riferimento")] public string? chrifer { get; set; } - [Display(Name = "TELEFONO")] + [Display(Name = "Telefono")] [StringLength(18)] public string? chtelef { get; set; } - [Display(Name = "COD. SEGNALAZIONE")] + [Display(Name = "Cod. Segnalazione")] public string? chcodseg { get; set; } - [Display(Name = "NOTE")] + [Display(Name = "Note")] public string? chnote { get; set; } - [Display(Name = "TECNICO")] + [Display(Name = "Tecnico")] public string? chtchiam { get; set; } - [Display(Name = "STATO")] + [Display(Name = "Stato")] public string? chstato { get; set; } [Display(Name = "Rifiutata")] diff --git a/Models/Chiusure.cs b/Models/Chiusure.cs index b5bae20..897f72d 100644 --- a/Models/Chiusure.cs +++ b/Models/Chiusure.cs @@ -6,19 +6,19 @@ namespace VirtualTask.Models { public class Chiusure { - [Display(Name = "AZIENDA")] + [Display(Name = "Azienda")] public string? cccodazi { get; set; } [StringLength(15)] - [Display(Name = "CODICE"), Required(ErrorMessage = "Inserire codice chiamata")] + [Display(Name = "Codice"), Required(ErrorMessage = "Inserire codice chiamata")] public string? cccodice { get; set; } [StringLength(50)] - [Display(Name = "DESCRIZIONE"), Required(ErrorMessage = "Inserire descrizione")] + [Display(Name = "Descrizione"), Required(ErrorMessage = "Inserire descrizione")] public string? ccdescr { get; set; } - [Display(Name = "DESC. SUPPLEMENTARE"), Required(ErrorMessage = "Inserire Desc. Supplementare")] + [Display(Name = "Desc. Supplementare"), Required(ErrorMessage = "Inserire Desc. Supplementare")] public string? ccdessup { get; set; } diff --git a/Models/Tecnici.cs b/Models/Tecnici.cs index 646850c..636978a 100644 --- a/Models/Tecnici.cs +++ b/Models/Tecnici.cs @@ -6,42 +6,42 @@ namespace VirtualTask.Models { public class Tecnici { - [Display(Name = "AZIENDA")] + [Display(Name = "Azienda")] public string? tccodazi { get; set; } - [Display(Name = "CODICE"), Required(ErrorMessage = "Inserire codice tecnico")] + [Display(Name = "Codice"), Required(ErrorMessage = "Inserire codice tecnico")] [StringLength(15)] public string? tccodice { get; set; } - [Display(Name = "DESCRIZIONE"), Required(ErrorMessage = "Inserire descrizione")] + [Display(Name = "Descrizione"), Required(ErrorMessage = "Inserire descrizione")] [StringLength(40)] public string? tcdescri { get; set;} - [Display(Name = "TELEFONO")] + [Display(Name = "Telefono")] [StringLength(18)] public string? tctelef1 { get; set;} - [Display(Name = "UTENTE"), Required(ErrorMessage = "Inserire Utente")] + [Display(Name = "Utente"), Required(ErrorMessage = "Inserire Utente")] [StringLength(20)] public string? tcuser { get; set;} - [Display(Name = "PASSWORD")] + [Display(Name = "Password")] [StringLength(20)] public string? tcpwd { get; set;} - [Display(Name = "COSTO ORDINARIO")] + [Display(Name = "Costo ordinario")] [Column(TypeName = "decimal(18, 4)")] public decimal? tccoor { get; set;} - [Display(Name = "COSTO NOTTURNO")] + [Display(Name = "Costo notturno")] [Column(TypeName = "decimal(18, 4)")] public decimal? tccono { get; set;} - [Display(Name = "COSTO STRAORDINARIO")] + [Display(Name = "Costo straordinario")] [Column(TypeName = "decimal(18, 4)")] public decimal? tccost { get; set;} - [Display(Name = "COSTO FESTIVO")] + [Display(Name = "Costo festivo")] [Column(TypeName = "decimal(18, 4)")] public decimal? tccofe { get; set;} diff --git a/Views/Anag/Create.cshtml b/Views/Anag/Create.cshtml index dee880f..aeaf467 100644 --- a/Views/Anag/Create.cshtml +++ b/Views/Anag/Create.cshtml @@ -20,49 +20,49 @@ @Html.HiddenFor(x => x.ancodice)
- +
 
- +
 
- +
 
- +
 
- +
 
- +
 
- +
 
- +
 
diff --git a/Views/Anag/Edit.cshtml b/Views/Anag/Edit.cshtml index 33717b5..a93abc3 100644 --- a/Views/Anag/Edit.cshtml +++ b/Views/Anag/Edit.cshtml @@ -17,7 +17,7 @@ @Html.HiddenFor(x => x.annumlis)
 
- +
@**@ @Html.HiddenFor(x => x.ancodice) @Html.DisplayFor(model => model.ancodice) @@ -25,49 +25,49 @@
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
diff --git a/Views/AziendaRif/Create.cshtml b/Views/AziendaRif/Create.cshtml index 8c5ec16..6484e4c 100644 --- a/Views/AziendaRif/Create.cshtml +++ b/Views/AziendaRif/Create.cshtml @@ -15,31 +15,31 @@
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
diff --git a/Views/Chiamate/Create.cshtml b/Views/Chiamate/Create.cshtml index 75699e0..dd04a6f 100644 --- a/Views/Chiamate/Create.cshtml +++ b/Views/Chiamate/Create.cshtml @@ -15,45 +15,45 @@
- @* *@ +
@Html.DropDownListFor(x => x.chcodimp,(IEnumerable)ViewBag.Impianti, new {@class = "form-control"})
 
- @* *@ +
@Html.DropDownListFor(x => x.chtchiam,(IEnumerable)ViewBag.Tecnici, new {@class = "form-control"})
 
- @* *@ +
@Html.DropDownListFor(x => x.chstato,(IEnumerable)ViewBag.StatiChiamata, new {@class = "form-control"})
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@Html.DropDownListFor(x => x.chcodseg,(IEnumerable)ViewBag.CodiciSegnalazione, new {@class = "form-control"})
 
- @* *@ +
@* *@ diff --git a/Views/Chiamate/Edit.cshtml b/Views/Chiamate/Edit.cshtml index 97ad74d..d4ebba5 100644 --- a/Views/Chiamate/Edit.cshtml +++ b/Views/Chiamate/Edit.cshtml @@ -19,69 +19,69 @@ @Html.HiddenFor(x => x.chcodazi)
- +
@Html.HiddenFor(x => x.chserial) @Html.DisplayFor(model => model.chserial)
 
- @* *@ +
@Html.HiddenFor(x => x.chtipo)
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
@Html.DropDownListFor(x => x.chcodimp,(IEnumerable)ViewBag.Impianti, new {@class = "form-control"})
 
- @* *@ +
@Html.DropDownListFor(x => x.chtchiam,(IEnumerable)ViewBag.Tecnici, new {@class = "form-control"})
 
- @* *@ +
@Html.DropDownListFor(x => x.chstato,(IEnumerable)ViewBag.StatiChiamata, new {@class = "form-control"})
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
@Html.DropDownListFor(x => x.chcodseg,(IEnumerable)ViewBag.CodiciSegnalazione, new {@class = "form-control"})
 
- @* *@ +
diff --git a/Views/Chiusure/Create.cshtml b/Views/Chiusure/Create.cshtml index 62e4566..d51eae4 100644 --- a/Views/Chiusure/Create.cshtml +++ b/Views/Chiusure/Create.cshtml @@ -14,18 +14,19 @@
- +
 
- +
 
+
diff --git a/Views/Chiusure/Edit.cshtml b/Views/Chiusure/Edit.cshtml index 7b309cd..7e0664e 100644 --- a/Views/Chiusure/Edit.cshtml +++ b/Views/Chiusure/Edit.cshtml @@ -18,7 +18,7 @@
- +
@**@ @Html.HiddenFor(x => x.cccodice) @Html.DisplayFor(model => model.cccodice) @@ -26,14 +26,14 @@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@ diff --git a/Views/Impianti/Create.cshtml b/Views/Impianti/Create.cshtml index d1fc24a..7a29da8 100644 --- a/Views/Impianti/Create.cshtml +++ b/Views/Impianti/Create.cshtml @@ -14,79 +14,79 @@
- +
 
@Html.HiddenFor(m => m.imcodazi)
- +
 
- +
@* *@
 
- +
@* *@
 
- +
@* *@
 
- +
@* *@
 
- +
@* *@
 
- +
 
- +
 
- +
 
- +
 
- +
@* *@ @Html.DropDownListFor(x =>x.imultcli,(IEnumerable)ViewBag.AllStockList,new {@class = "form-control"}) diff --git a/Views/Impianti/Edit.cshtml b/Views/Impianti/Edit.cshtml index fd8ad62..1d558bb 100644 --- a/Views/Impianti/Edit.cshtml +++ b/Views/Impianti/Edit.cshtml @@ -16,9 +16,8 @@
- +
- @**@ @Html.HiddenFor(x => x.imcodimp) @Html.DisplayFor(model => model.imcodimp) @@ -28,83 +27,83 @@ @Html.HiddenFor(x => x.imcodazi)
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@* *@
 
- @* *@ +
@Html.DropDownListFor(x =>x.imultcli,(IEnumerable)ViewBag.AllStockList,new {@class = "form-control"})
 
- +
@* *@ @* *@ @Html.HiddenFor(x => x.indirizzo) diff --git a/Views/Progressivi/Edit.cshtml b/Views/Progressivi/Edit.cshtml index 1719e2f..0d35fde 100644 --- a/Views/Progressivi/Edit.cshtml +++ b/Views/Progressivi/Edit.cshtml @@ -15,19 +15,19 @@
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
diff --git a/Views/Rapp_New/Create.cshtml b/Views/Rapp_New/Create.cshtml index cd064b9..273c890 100644 --- a/Views/Rapp_New/Create.cshtml +++ b/Views/Rapp_New/Create.cshtml @@ -15,299 +15,354 @@
- +
 
- +
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_1,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_2,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_3,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_4,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_5,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_6,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_7,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_8,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_9,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
@* *@ @Html.DropDownListFor(x => x.codice_chiusura_10,(IEnumerable)ViewBag.Chiusure,new {@class = "form-control"})
 
+
 
+
 
+
 
+
 
+
@* *@ @Html.DropDownListFor(x => x.codice_tecnico,(IEnumerable)ViewBag.Tecnici,new {@class = "form-control"})
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
diff --git a/Views/Registrazioni/Create.cshtml b/Views/Registrazioni/Create.cshtml index 80d5276..5a7e36b 100644 --- a/Views/Registrazioni/Create.cshtml +++ b/Views/Registrazioni/Create.cshtml @@ -20,12 +20,14 @@
+
@* *@
+
@**@
@@ -33,12 +35,14 @@
+
@**@
+
@**@
@@ -46,12 +50,14 @@
+
@**@
+
@**@
@@ -59,12 +65,14 @@
+
@**@
+
@**@
@@ -72,12 +80,14 @@
+
@**@
+
@**@
@@ -85,12 +95,14 @@
+
@* *@
+
@* *@
diff --git a/Views/Registrazioni/Edit.cshtml b/Views/Registrazioni/Edit.cshtml index db5f795..338b2f2 100644 --- a/Views/Registrazioni/Edit.cshtml +++ b/Views/Registrazioni/Edit.cshtml @@ -21,79 +21,79 @@
*@ @Html.HiddenFor(x => x.id)
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
 
- @* *@ +
diff --git a/Views/Tecnici/Create.cshtml b/Views/Tecnici/Create.cshtml index ba24d1a..1b2bbdf 100644 --- a/Views/Tecnici/Create.cshtml +++ b/Views/Tecnici/Create.cshtml @@ -14,51 +14,58 @@
- +
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
- @*
 
*@
 
diff --git a/Views/Tecnici/Edit.cshtml b/Views/Tecnici/Edit.cshtml index b156371..9237449 100644 --- a/Views/Tecnici/Edit.cshtml +++ b/Views/Tecnici/Edit.cshtml @@ -14,49 +14,55 @@
-
- Codice < -
+
+
 
- +
 
+
 
+
 
+
 
+
 
+
 
+
 
+