cliente su impianti
This commit is contained in:
parent
c795fbbaa1
commit
336a4ab10f
@ -35,7 +35,7 @@ namespace VirtualTask.Controllers
|
|||||||
return RedirectToAction("Index", "Login");
|
return RedirectToAction("Index", "Login");
|
||||||
|
|
||||||
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.BaseAddress = baseAddress;
|
client.BaseAddress = baseAddress;
|
||||||
@ -128,7 +128,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();
|
||||||
@ -168,7 +168,7 @@ namespace VirtualTask.Controllers
|
|||||||
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();
|
||||||
@ -243,7 +243,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();
|
||||||
|
|||||||
@ -57,6 +57,10 @@ namespace VirtualTask.Models
|
|||||||
/// <summary> cliente associato </summary>
|
/// <summary> cliente associato </summary>
|
||||||
public string? imultcli { get; set; }
|
public string? imultcli { get; set; }
|
||||||
|
|
||||||
|
[Display(Name = "Rag.Soc.")]
|
||||||
|
/// <summary> cliente associato </summary>
|
||||||
|
public string? descCliente { get; set; }
|
||||||
|
|
||||||
public string? indirizzo
|
public string? indirizzo
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|||||||
@ -43,7 +43,7 @@
|
|||||||
@Html.HiddenFor(modelItem => item.imcodazi)
|
@Html.HiddenFor(modelItem => item.imcodazi)
|
||||||
<td>@Html.DisplayFor(modelItem => item.imdescri)</td>
|
<td>@Html.DisplayFor(modelItem => item.imdescri)</td>
|
||||||
<td>@Html.DisplayFor(modelItem => item.indirizzo)</td>
|
<td>@Html.DisplayFor(modelItem => item.indirizzo)</td>
|
||||||
<td>@Html.DisplayFor(modelItem => item.imultcli)</td>
|
<td>@Html.DisplayFor(modelItem => item.imultcli) - @Html.DisplayFor(modelItem => item.descCliente)</td>
|
||||||
<td>
|
<td>
|
||||||
@Html.ActionLink("Modifica", "Edit", new { id=item.imcodimp }) |
|
@Html.ActionLink("Modifica", "Edit", new { id=item.imcodimp }) |
|
||||||
@Html.ActionLink("Dettaglio", "Details", new { id=item.imcodimp }) |
|
@Html.ActionLink("Dettaglio", "Details", new { id=item.imcodimp }) |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user