diff --git a/Controllers/ChiamateController.cs b/Controllers/ChiamateController.cs index 617473f..424b84e 100644 --- a/Controllers/ChiamateController.cs +++ b/Controllers/ChiamateController.cs @@ -351,7 +351,7 @@ namespace VirtualTask.Controllers SessionHelper helper = new SessionHelper(this); token = helper.GetStringValue("tok"); apiUrl = helper.GetStringValue("apiUrl"); - urlBase = apiUrl + "impiantiList"; + urlBase = apiUrl + "impiantiListMngr"; urlBase = urlBase + "?token=" + token; Uri baseAddress = new Uri(urlBase); client = new HttpClient(); diff --git a/Models/Anag.cs b/Models/Anag.cs index 15c7a0a..cc74670 100644 --- a/Models/Anag.cs +++ b/Models/Anag.cs @@ -56,5 +56,7 @@ namespace VirtualTask.Models [Display(Name = "DATA CANCELLAZIONE")] /// cliente eliminato public DateTime? andtobso { get; set; } + + } } diff --git a/Models/Chiamate.cs b/Models/Chiamate.cs index 40ca537..46d543e 100644 --- a/Models/Chiamate.cs +++ b/Models/Chiamate.cs @@ -49,6 +49,16 @@ namespace VirtualTask.Models [Display(Name = "STATO")] public string? chstato { get; set; } + [Display(Name = "Rifiutata")] + public string? rif { get; set; } + + [Display(Name = "In carico")] + public string? ic { get; set; } + + [Display(Name = "Chiuso")] + public string? ser_buono_chiu { get; set; } + + #region non visualizzati public int? chora { get; set; } public int? chmin { get; set; } diff --git a/Views/Chiamate/Edit.cshtml b/Views/Chiamate/Edit.cshtml index 2b9bfb2..c9862ee 100644 --- a/Views/Chiamate/Edit.cshtml +++ b/Views/Chiamate/Edit.cshtml @@ -40,12 +40,12 @@
- + @Html.DropDownListFor(x => x.chcodimp,(IEnumerable)ViewBag.Impianti, new {@class = "form-control"})
- + @Html.DropDownListFor(x => x.chtchiam,(IEnumerable)ViewBag.Tecnici, new {@class = "form-control"})
@@ -65,7 +65,7 @@
- + @Html.DropDownListFor(x => x.chcodseg,(IEnumerable)ViewBag.CodiciSegnalazione, new {@class = "form-control"})
@@ -73,6 +73,7 @@
+ @Html.HiddenFor(x => x.chora) @Html.HiddenFor(x => x.chmin) @Html.HiddenFor(x => x.chopins) diff --git a/Views/Chiamate/Index.cshtml b/Views/Chiamate/Index.cshtml index 19bf5e3..a5c8d16 100644 --- a/Views/Chiamate/Index.cshtml +++ b/Views/Chiamate/Index.cshtml @@ -29,6 +29,9 @@ Impianto Tecnico Stato + R + IC + C @@ -57,7 +60,9 @@ @Html.DisplayFor(modelItem => item.chstato) - @Html.DisplayFor(modelItem => item.descStato) - + @Html.DisplayFor(modelItem => item.rif) + @Html.DisplayFor(modelItem => item.ic) + @Html.DisplayFor(modelItem => item.ser_buono_chiu) @Html.ActionLink("Modifica", "Edit", new { id=item.chserial }) |