chiamate
This commit is contained in:
parent
4cb6fc7ddf
commit
ed1d9f5818
@ -351,7 +351,7 @@ namespace VirtualTask.Controllers
|
|||||||
SessionHelper helper = new SessionHelper(this);
|
SessionHelper helper = new SessionHelper(this);
|
||||||
token = helper.GetStringValue("tok");
|
token = helper.GetStringValue("tok");
|
||||||
apiUrl = helper.GetStringValue("apiUrl");
|
apiUrl = helper.GetStringValue("apiUrl");
|
||||||
urlBase = apiUrl + "impiantiList";
|
urlBase = apiUrl + "impiantiListMngr";
|
||||||
urlBase = urlBase + "?token=" + token;
|
urlBase = urlBase + "?token=" + token;
|
||||||
Uri baseAddress = new Uri(urlBase);
|
Uri baseAddress = new Uri(urlBase);
|
||||||
client = new HttpClient();
|
client = new HttpClient();
|
||||||
|
|||||||
@ -56,5 +56,7 @@ namespace VirtualTask.Models
|
|||||||
[Display(Name = "DATA CANCELLAZIONE")]
|
[Display(Name = "DATA CANCELLAZIONE")]
|
||||||
/// <summary> cliente eliminato </summary>
|
/// <summary> cliente eliminato </summary>
|
||||||
public DateTime? andtobso { get; set; }
|
public DateTime? andtobso { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,6 +49,16 @@ namespace VirtualTask.Models
|
|||||||
[Display(Name = "STATO")]
|
[Display(Name = "STATO")]
|
||||||
public string? chstato { get; set; }
|
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
|
#region non visualizzati
|
||||||
public int? chora { get; set; }
|
public int? chora { get; set; }
|
||||||
public int? chmin { get; set; }
|
public int? chmin { get; set; }
|
||||||
|
|||||||
@ -40,12 +40,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="chcodimp" class="control-label"></label>
|
<label asp-for="chcodimp" class="control-label"></label>
|
||||||
<input asp-for="chcodimp" class="form-control" />
|
@Html.DropDownListFor(x => x.chcodimp,(IEnumerable<SelectListItem>)ViewBag.Impianti, new {@class = "form-control"})
|
||||||
<span asp-validation-for="chcodimp" class="text-danger"></span>
|
<span asp-validation-for="chcodimp" class="text-danger"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="chtchiam" class="control-label"></label>
|
<label asp-for="chtchiam" class="control-label"></label>
|
||||||
<input asp-for="chtchiam" class="form-control" />
|
@Html.DropDownListFor(x => x.chtchiam,(IEnumerable<SelectListItem>)ViewBag.Tecnici, new {@class = "form-control"})
|
||||||
<span asp-validation-for="chtchiam" class="text-danger"></span>
|
<span asp-validation-for="chtchiam" class="text-danger"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -65,7 +65,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label asp-for="chcodseg" class="control-label"></label>
|
<label asp-for="chcodseg" class="control-label"></label>
|
||||||
<input asp-for="chcodseg" class="form-control" />
|
@Html.DropDownListFor(x => x.chcodseg,(IEnumerable<SelectListItem>)ViewBag.CodiciSegnalazione, new {@class = "form-control"})
|
||||||
<span asp-validation-for="chcodseg" class="text-danger"></span>
|
<span asp-validation-for="chcodseg" class="text-danger"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -73,6 +73,7 @@
|
|||||||
<input asp-for="chnote" class="form-control" />
|
<input asp-for="chnote" class="form-control" />
|
||||||
<span asp-validation-for="chnote" class="text-danger"></span>
|
<span asp-validation-for="chnote" class="text-danger"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@Html.HiddenFor(x => x.chora)
|
@Html.HiddenFor(x => x.chora)
|
||||||
@Html.HiddenFor(x => x.chmin)
|
@Html.HiddenFor(x => x.chmin)
|
||||||
@Html.HiddenFor(x => x.chopins)
|
@Html.HiddenFor(x => x.chopins)
|
||||||
|
|||||||
@ -29,6 +29,9 @@
|
|||||||
<th>Impianto</th>
|
<th>Impianto</th>
|
||||||
<th>Tecnico</th>
|
<th>Tecnico</th>
|
||||||
<th>Stato</th>
|
<th>Stato</th>
|
||||||
|
<th>R</th>
|
||||||
|
<th>IC</th>
|
||||||
|
<th>C</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -57,7 +60,9 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>@Html.DisplayFor(modelItem => item.chstato) - @Html.DisplayFor(modelItem => item.descStato)</td>
|
<td>@Html.DisplayFor(modelItem => item.chstato) - @Html.DisplayFor(modelItem => item.descStato)</td>
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.rif)</td>
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.ic)</td>
|
||||||
|
<td>@Html.DisplayFor(modelItem => item.ser_buono_chiu)</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
@Html.ActionLink("Modifica", "Edit", new { id=item.chserial }) |
|
@Html.ActionLink("Modifica", "Edit", new { id=item.chserial }) |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user