@model VirtualTask.Models.Chiamate @{ ViewData["Title"] = "Dettaglio chiamata"; Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml"; int numChia = -1; numChia = Convert.ToInt32(Model.chnumero); }
@{ //Unico caso in cui vado a vedere lo stato è il caso S=sospesa (grigio) if (!string.IsNullOrEmpty(Model.chstato) && Model.chstato.Equals("S")) { } else { //Caso rifiutato (nero): devo andare a valutare se il valore di rif è valorizzato e vale S if (!string.IsNullOrEmpty(Model.rif) && Model.rif.Equals("S")) { //rifiutato } else { //caso chiuso: devo andare a valutare che ser_buono_chiu sia valorizzato if (!string.IsNullOrEmpty(Model.ser_buono_chiu)) { //seriale buono presente: chiusa-verde } else { //assegnata(arancio)/non assegnata(giallo) : devo vedere se il tecnico è valorizzato o no if (!string.IsNullOrEmpty(Model.chtchiam)) { } else { } } } } }
   
@Html.DisplayNameFor(model => model.chstato) SOSPESA RIFIUTATA CHIUSA ASSEGNATA NON ASSEGNATA
@Html.DisplayNameFor(model => model.chnumero) @numChia
@Html.DisplayNameFor(model => model.chdtapp) @Html.DisplayFor(model => model.chdtapp)
@Html.DisplayNameFor(model => model.chcodimp) @Html.DisplayFor(model => model.chcodimp) - @Html.DisplayFor(model => model.indirizzo)
@Html.DisplayNameFor(model => model.andescri) @Html.DisplayFor(model => model.andescri)
@Html.DisplayNameFor(model => model.chtchiam) @Html.DisplayFor(model => model.chtchiam) - @Html.DisplayFor(model => model.tcdescri)
@Html.DisplayNameFor(model => model.chtelef) @Html.DisplayFor(model => model.chtelef)
@Html.DisplayNameFor(model => model.chcodseg) @Html.DisplayFor(model => model.chcodseg) - @Html.DisplayFor(model => model.csdescr)
@Html.DisplayNameFor(model => model.chrifer) @Html.DisplayFor(model => model.chrifer)
@Html.DisplayNameFor(model => model.chnote) @Html.DisplayFor(model => model.chnote)
@Html.DisplayNameFor(model => model.chdata) @Html.DisplayFor(model => model.chdata)
@Html.DisplayNameFor(model => model.chcodazi) @Html.DisplayFor(model => model.chcodazi)
@Html.DisplayNameFor(model => model.chserial) @Html.DisplayFor(model => model.chserial)
Torna alla lista
@*

Dettaglio chiamata


@Html.DisplayNameFor(model => model.chcodazi)
@Html.DisplayFor(model => model.chcodazi)
@Html.DisplayNameFor(model => model.chserial)
@Html.DisplayFor(model => model.chserial)
@Html.DisplayNameFor(model => model.chcodese)
@Html.DisplayFor(model => model.chcodese)
@Html.DisplayNameFor(model => model.chtipo)
@Html.DisplayFor(model => model.chtipo)
@Html.DisplayNameFor(model => model.chnumero)
@numChia
@Html.DisplayNameFor(model => model.chdata)
@Html.DisplayFor(model => model.chdata)
@Html.DisplayNameFor(model => model.chcodimp)
@Html.DisplayFor(model => model.chcodimp)
@Html.DisplayNameFor(model => model.chtchiam)
@Html.DisplayFor(model => model.chtchiam)
@Html.DisplayNameFor(model => model.chstato)
@Html.DisplayFor(model => model.chstato)
@Html.DisplayNameFor(model => model.chrifer)
@Html.DisplayFor(model => model.chrifer)
@Html.DisplayNameFor(model => model.chtelef)
@Html.DisplayFor(model => model.chtelef)
@Html.DisplayNameFor(model => model.chcodseg)
@Html.DisplayFor(model => model.chcodseg)
@Html.DisplayNameFor(model => model.chnote)
@Html.DisplayFor(model => model.chnote)
@Html.DisplayNameFor(model => model.indirizzo)
@Html.DisplayFor(model => model.indirizzo)
@Html.ActionLink("Edit", "Edit", new { id = Model.chserial }) | Back to List
*@