Compare commits
No commits in common. "35c6727dbf80e5c8568b1bdd5b944fa79a65e7a2" and "ecfc1095070b6457d538b4843b734ca2a95a3d27" have entirely different histories.
35c6727dbf
...
ecfc109507
@ -201,7 +201,7 @@ namespace VirtualTask.Controllers
|
|||||||
{
|
{
|
||||||
model.chdata = DateTime.Now;
|
model.chdata = DateTime.Now;
|
||||||
}
|
}
|
||||||
//model.chdtapp = model.chdata;
|
model.chdtapp = model.chdata;
|
||||||
model.chdtass = model.chdata;
|
model.chdtass = model.chdata;
|
||||||
model.chtipo = "A";//X=creato da app, A creato da adhoc. DEVO METTERE A perche altrimenti l'app lo tratta come una chiamata da commessa
|
model.chtipo = "A";//X=creato da app, A creato da adhoc. DEVO METTERE A perche altrimenti l'app lo tratta come una chiamata da commessa
|
||||||
model.chmodrac = "EMAIL";
|
model.chmodrac = "EMAIL";
|
||||||
@ -214,16 +214,9 @@ namespace VirtualTask.Controllers
|
|||||||
//model.chmin = min;
|
//model.chmin = min;
|
||||||
//model.chminapi = min;
|
//model.chminapi = min;
|
||||||
//model.chminass = min;
|
//model.chminass = min;
|
||||||
|
int year = model.chdata.Value.Year;
|
||||||
//MF 25/10/2024 Anno, ore e minuti prendono data appuntamento e non più data apertura chiamata
|
int hour = model.chdata.Value.Hour;
|
||||||
//int year = model.chdata.Value.Year;
|
int minute = model.chdata.Value.Minute;
|
||||||
//int hour = model.chdata.Value.Hour;
|
|
||||||
//int minute = model.chdata.Value.Minute;
|
|
||||||
|
|
||||||
int year = model.chdtapp.Value.Year;
|
|
||||||
int hour = model.chdtapp.Value.Hour;
|
|
||||||
int minute = model.chdtapp.Value.Minute;
|
|
||||||
|
|
||||||
model.chora = hour;
|
model.chora = hour;
|
||||||
model.chmin = minute;
|
model.chmin = minute;
|
||||||
model.choraapi = hour;
|
model.choraapi = hour;
|
||||||
@ -368,19 +361,11 @@ namespace VirtualTask.Controllers
|
|||||||
client = new HttpClient();
|
client = new HttpClient();
|
||||||
client.BaseAddress = baseAddress;
|
client.BaseAddress = baseAddress;
|
||||||
|
|
||||||
//model.chdtapp = model.chdata;
|
model.chdtapp = model.chdata;
|
||||||
|
model.chdtass = model.chdata;
|
||||||
//model.chdtass = model.chdata;
|
int year = model.chdata.Value.Year;
|
||||||
model.chdtass = model.chdtapp;
|
int hour = model.chdata.Value.Hour;
|
||||||
|
int minute = model.chdata.Value.Minute;
|
||||||
//int year = model.chdata.Value.Year;
|
|
||||||
//int hour = model.chdata.Value.Hour;
|
|
||||||
//int minute = model.chdata.Value.Minute;
|
|
||||||
|
|
||||||
int year = model.chdtapp.Value.Year;
|
|
||||||
int hour = model.chdtapp.Value.Hour;
|
|
||||||
int minute = model.chdtapp.Value.Minute;
|
|
||||||
|
|
||||||
model.chora = hour;
|
model.chora = hour;
|
||||||
model.chmin = minute;
|
model.chmin = minute;
|
||||||
model.choraapi = hour;
|
model.choraapi = hour;
|
||||||
@ -478,16 +463,8 @@ namespace VirtualTask.Controllers
|
|||||||
}
|
}
|
||||||
#endregion DELETE
|
#endregion DELETE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#region metodi interni
|
#region metodi interni
|
||||||
|
|
||||||
private byte GetImgFromRapp_New()
|
|
||||||
{
|
|
||||||
var img = new Byte();
|
|
||||||
return img;
|
|
||||||
}
|
|
||||||
|
|
||||||
private List<SelectListItem> getImpianti(string impianto)
|
private List<SelectListItem> getImpianti(string impianto)
|
||||||
{
|
{
|
||||||
SessionHelper helper = new SessionHelper(this);
|
SessionHelper helper = new SessionHelper(this);
|
||||||
|
|||||||
@ -63,13 +63,15 @@ namespace VirtualTask.Controllers
|
|||||||
if (dataIni.Date != DateTime.MinValue)
|
if (dataIni.Date != DateTime.MinValue)
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(x => x.data_rapportino.Date >= dataIni.Date).ToList();
|
modelList = modelList.Where(x => x.data_rapportino.Date >= dataIni.Date).ToList();
|
||||||
|
|
||||||
ViewData["dataIni"] = dataIni;
|
ViewData["dataIni"] = dataIni;
|
||||||
|
//ViewData["dataFin"] = dataFin;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ViewData["dataIni"] = null;
|
ViewData["dataIni"] = null;
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
if (dataFin.Date != DateTime.MinValue)
|
if (dataFin.Date != DateTime.MinValue)
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(x => x.data_rapportino.Date <= dataFin.Date).ToList();
|
modelList = modelList.Where(x => x.data_rapportino.Date <= dataFin.Date).ToList();
|
||||||
@ -78,6 +80,7 @@ namespace VirtualTask.Controllers
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
ViewData["dataFin"] = null;
|
ViewData["dataFin"] = null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(Codbuono))
|
if (!string.IsNullOrEmpty(Codbuono))
|
||||||
@ -171,8 +174,6 @@ namespace VirtualTask.Controllers
|
|||||||
{
|
{
|
||||||
SessionHelper helper = new SessionHelper(this);
|
SessionHelper helper = new SessionHelper(this);
|
||||||
|
|
||||||
id = "V000000135";
|
|
||||||
|
|
||||||
token = helper.GetStringValue("tok");
|
token = helper.GetStringValue("tok");
|
||||||
|
|
||||||
apiUrl = helper.GetStringValue("apiUrl");
|
apiUrl = helper.GetStringValue("apiUrl");
|
||||||
@ -360,46 +361,6 @@ namespace VirtualTask.Controllers
|
|||||||
|
|
||||||
#endregion DELETE
|
#endregion DELETE
|
||||||
|
|
||||||
#region IMMAGINE
|
|
||||||
|
|
||||||
public IActionResult Immagine(string id)
|
|
||||||
{
|
|
||||||
SessionHelper helper = new SessionHelper(this);
|
|
||||||
token = helper.GetStringValue("tok");
|
|
||||||
|
|
||||||
apiUrl = helper.GetStringValue("apiUrl");
|
|
||||||
admin = helper.GetStringValue("admin");
|
|
||||||
ViewBag.Admin = admin;
|
|
||||||
urlBase = apiUrl + "rappnewList";
|
|
||||||
urlBase = urlBase + "?token=" + token;
|
|
||||||
Uri baseAddress = new Uri(urlBase);
|
|
||||||
client = new HttpClient();
|
|
||||||
client.BaseAddress = baseAddress;
|
|
||||||
|
|
||||||
Rapp_New rapp = new Rapp_New();
|
|
||||||
|
|
||||||
List<Rapp_New> modelList = new List<Rapp_New>();
|
|
||||||
|
|
||||||
HttpResponseMessage response = client.GetAsync(baseAddress).Result;
|
|
||||||
|
|
||||||
if (response.IsSuccessStatusCode)
|
|
||||||
{
|
|
||||||
string data = response.Content.ReadAsStringAsync().Result;
|
|
||||||
modelList = JsonConvert.DeserializeObject<List<Rapp_New>>(data);
|
|
||||||
rapp = modelList.Where(x => x.seriale_rapportino.Equals(id)).First();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
errMes = response.Content.ReadAsStringAsync().Result;
|
|
||||||
helper.SetStringValue("errMsg", errMes);
|
|
||||||
return RedirectToAction("Error");
|
|
||||||
}
|
|
||||||
|
|
||||||
return View(rapp);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
//metodo per riempire combobox con la tabella tecnici
|
//metodo per riempire combobox con la tabella tecnici
|
||||||
private List<SelectListItem> GetTecnici()
|
private List<SelectListItem> GetTecnici()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -78,29 +78,36 @@ namespace VirtualTask.Controllers
|
|||||||
{
|
{
|
||||||
modelList = modelList.Where(s => s.codice_impianto.Contains(impianto)).ToList();
|
modelList = modelList.Where(s => s.codice_impianto.Contains(impianto)).ToList();
|
||||||
|
|
||||||
ViewData["impianto"] = impianto;
|
ViewData["CurrentFilter"] = impianto;
|
||||||
|
|
||||||
ViewBag.Impianto = impianto;
|
ViewBag.Impianto = impianto;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ViewData["impianto"] = null;
|
ViewData["CurrentFilter"] = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (dataIni.Date != DateTime.MinValue)
|
if (dataIni.Date != DateTime.MinValue)
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date >= dataIni.Date).ToList();
|
modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date >= dataIni.Date).ToList();
|
||||||
ViewData["dataIni"] = dataIni;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
ViewData["dataIni"] = null;
|
|
||||||
|
|
||||||
if (dataFin.Date != DateTime.MinValue)
|
if (dataFin.Date != DateTime.MinValue)
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date <= dataFin.Date).ToList();
|
modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date <= dataFin.Date).ToList();
|
||||||
ViewData["dataFin"] = dataFin;
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
ViewData["dataFin"] = null;
|
|
||||||
|
//if (!dataFin.ToString().Substring(0, 10).Equals("01/01/0001"))
|
||||||
|
//{
|
||||||
|
// modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date >= dataIni.Date && x.data_rapportino.GetValueOrDefault().Date <= dataFin.Date).ToList();
|
||||||
|
//}
|
||||||
|
//else
|
||||||
|
//{
|
||||||
|
// modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date >= dataIni.Date).ToList();
|
||||||
|
//}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (page != null && page < 1)
|
if (page != null && page < 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -489,95 +489,12 @@ namespace VirtualTask.Controllers
|
|||||||
|
|
||||||
HttpResponseMessage response = client.GetAsync(baseAddress).Result;
|
HttpResponseMessage response = client.GetAsync(baseAddress).Result;
|
||||||
|
|
||||||
if (response.IsSuccessStatusCode)
|
|
||||||
{
|
|
||||||
//string data = response.Content.ReadAsStringAsync().Result;
|
|
||||||
//string e = JsonConvert.DeserializeObject<string>(data);
|
|
||||||
|
|
||||||
return RedirectToAction("Index");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
errMes = response.Content.ReadAsStringAsync().Result;
|
|
||||||
helper.SetStringValue("errMsg", "Errore in attivazione");
|
|
||||||
return RedirectToAction("Error");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
helper.SetStringValue("errMsg", "Utente non abilitato per la funzione");
|
|
||||||
return RedirectToAction("Error");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region DISATTIVA
|
|
||||||
|
|
||||||
[HttpGet]
|
|
||||||
public IActionResult Disattiva(int id)
|
|
||||||
{
|
|
||||||
SessionHelper helper = new SessionHelper(this);
|
|
||||||
|
|
||||||
//token = helper.GetStringValue("tok");
|
|
||||||
|
|
||||||
apiUrl = helper.GetStringValue("apiUrl");
|
|
||||||
urlBase = apiUrl + "RegistrazioniList";
|
|
||||||
//urlBase = "http://10.0.0.187:8000/api/Polo/RegistrazioniList";
|
|
||||||
//urlBase = urlBase + "?token=" + token;
|
|
||||||
Uri baseAddress = new Uri(urlBase);
|
|
||||||
client = new HttpClient();
|
|
||||||
client.BaseAddress = baseAddress;
|
|
||||||
|
|
||||||
admin = helper.GetStringValue("admin");
|
|
||||||
ViewBag.Admin = admin;
|
|
||||||
|
|
||||||
Registrazione reg = new Registrazione();
|
|
||||||
List<Registrazione> modelList = new List<Registrazione>();
|
|
||||||
HttpResponseMessage response = client.GetAsync(baseAddress).Result;
|
|
||||||
|
|
||||||
if (response.IsSuccessStatusCode)
|
if (response.IsSuccessStatusCode)
|
||||||
{
|
{
|
||||||
string data = response.Content.ReadAsStringAsync().Result;
|
string data = response.Content.ReadAsStringAsync().Result;
|
||||||
modelList = JsonConvert.DeserializeObject<List<Registrazione>>(data);
|
string e = JsonConvert.DeserializeObject<string>(data);
|
||||||
reg = modelList.Where(x => x.id.Equals(id)).First();
|
|
||||||
return View(reg);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
errMes = response.Content.ReadAsStringAsync().Result;
|
|
||||||
helper.SetStringValue("errMsg", errMes);
|
|
||||||
return RedirectToAction("Error");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
[HttpPost]
|
|
||||||
public IActionResult Disattiva(Registrazione model)
|
|
||||||
{
|
|
||||||
SessionHelper helper = new SessionHelper(this);
|
|
||||||
apiUrl = helper.GetStringValue("apiUrl");
|
|
||||||
token = helper.GetStringValue("tok");
|
|
||||||
string errore = string.Empty;
|
|
||||||
admin = helper.GetStringValue("admin");
|
|
||||||
// prima verifico che l'utente connesso sia SA
|
|
||||||
if (!string.IsNullOrEmpty(admin) && admin.Equals("S"))
|
|
||||||
{
|
|
||||||
urlBase = apiUrl + "DisattivazioneStored";
|
|
||||||
urlBase = urlBase + "?token=" + token;
|
|
||||||
urlBase = urlBase + "&id=" + model.id;
|
|
||||||
Uri baseAddress = new Uri(urlBase);
|
|
||||||
client = new HttpClient();
|
|
||||||
client.BaseAddress = baseAddress;
|
|
||||||
|
|
||||||
HttpResponseMessage response = client.GetAsync(baseAddress).Result;
|
|
||||||
|
|
||||||
if (response.IsSuccessStatusCode)
|
|
||||||
{
|
|
||||||
//string data = response.Content.ReadAsStringAsync().Result;
|
|
||||||
//string e = JsonConvert.DeserializeObject<string>(data);
|
|
||||||
|
|
||||||
return RedirectToAction("Index");
|
return RedirectToAction("Index");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -593,8 +510,12 @@ namespace VirtualTask.Controllers
|
|||||||
helper.SetStringValue("errMsg", "Utente non abilitato per la funzione");
|
helper.SetStringValue("errMsg", "Utente non abilitato per la funzione");
|
||||||
return RedirectToAction("Error");
|
return RedirectToAction("Error");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||||
|
|||||||
@ -66,36 +66,27 @@ namespace VirtualTask.Controllers
|
|||||||
if (dataIni.Date != DateTime.MinValue)
|
if (dataIni.Date != DateTime.MinValue)
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(x => x.data_timbratura.GetValueOrDefault().Date >= dataIni.Date).ToList();
|
modelList = modelList.Where(x => x.data_timbratura.GetValueOrDefault().Date >= dataIni.Date).ToList();
|
||||||
ViewData["dataIni"] = dataIni;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
ViewData["dataIni"] = null;
|
|
||||||
|
|
||||||
if (dataFin.Date != DateTime.MinValue)
|
if (dataFin.Date != DateTime.MinValue)
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(x => x.data_timbratura.GetValueOrDefault().Date <= dataFin.Date).ToList();
|
modelList = modelList.Where(x => x.data_timbratura.GetValueOrDefault().Date <= dataFin.Date).ToList();
|
||||||
ViewData["dataFin"] = dataFin;
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
ViewData["dataFin"] = null;
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(commessa))
|
if (!string.IsNullOrEmpty(commessa))
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(s => s.commessa.Contains(commessa)).ToList();
|
modelList = modelList.Where(s => s.commessa.Contains(commessa)).ToList();
|
||||||
|
|
||||||
ViewData["commessa"] = commessa;
|
// ViewData["CurrentFilter"] = commessa;
|
||||||
|
|
||||||
|
//ViewBag.Timbrature = commessa;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ViewData["commessa"] = null;
|
//ViewData["CurrentFilter"] = null;
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(tecnico))
|
if (!string.IsNullOrEmpty(tecnico))
|
||||||
{
|
{
|
||||||
modelList = modelList.Where(s => s.tecnico.ToLower().Contains(tecnico.ToLower())).ToList();
|
modelList = modelList.Where(s => s.tecnico.ToLower().Contains(tecnico.ToLower())).ToList();
|
||||||
ViewData["tecnico"] = tecnico;
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
ViewData["tecnico"] = null;
|
|
||||||
|
|
||||||
if (page != null && page < 1)
|
if (page != null && page < 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -24,7 +24,7 @@ namespace VirtualTask.Models
|
|||||||
[Column(TypeName = "decimal(10, 0)")]
|
[Column(TypeName = "decimal(10, 0)")]
|
||||||
public decimal? chnumero { get; set; }
|
public decimal? chnumero { get; set; }
|
||||||
|
|
||||||
[Display(Name = "Data apertura chiamata")]
|
[Display(Name = "Data Appuntamento")]
|
||||||
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")]
|
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")]
|
||||||
public DateTime? chdata { get; set; }
|
public DateTime? chdata { get; set; }
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ namespace VirtualTask.Models
|
|||||||
public int? chopchi { get; set; }
|
public int? chopchi { get; set; }
|
||||||
public string? chaziimp { get; set; }
|
public string? chaziimp { get; set; }
|
||||||
public string? chtmanut { get; set; }
|
public string? chtmanut { get; set; }
|
||||||
[Display(Name = "Data appuntamento")]
|
[Display(Name = "Data")]
|
||||||
public DateTime? chdtapp { get; set; }
|
public DateTime? chdtapp { get; set; }
|
||||||
public int? choraapi { get; set; }
|
public int? choraapi { get; set; }
|
||||||
public int? chminapi { get; set; }
|
public int? chminapi { get; set; }
|
||||||
@ -238,9 +238,5 @@ namespace VirtualTask.Models
|
|||||||
|
|
||||||
public string? andescri { get; set; }
|
public string? andescri { get; set; }
|
||||||
public string? ancodice { get; set; }
|
public string? ancodice { get; set; }
|
||||||
|
|
||||||
/// <summary>RAPP_NEW: seriale chiamata chiusa</summary>
|
|
||||||
public string? ser_rapp_chiu { get; set; }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -82,7 +82,5 @@ namespace VirtualTask.Models
|
|||||||
[StringLength(50)]
|
[StringLength(50)]
|
||||||
public string? RagioneSociale { get; set; }
|
public string? RagioneSociale { get; set; }
|
||||||
|
|
||||||
public int? numtec { get; set; }
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,48 +19,22 @@
|
|||||||
</p>
|
</p>
|
||||||
@using (Html.BeginForm())
|
@using (Html.BeginForm())
|
||||||
{
|
{
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Ricerca</h5>
|
<div>
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per Rag. Sociale", @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@* <div>
|
|
||||||
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per Rag. Sociale", @class = "agy-form-field require" })</div>
|
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per Rag. Sociale", @class = "agy-form-field require" })</div>
|
||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
||||||
|
|
||||||
</div> *@
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
}
|
||||||
<h5 class="card-header">Clienti</h5>
|
<table class="table">
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Codice</th>
|
<th>Codice</th>
|
||||||
<th>Rag. Sociale</th>
|
<th>Rag. Sociale</th>
|
||||||
<th>Codice Fiscale</th>
|
<th>Codice Fiscale</th>
|
||||||
<th>Partita Iva</th>
|
<th>Partita Iva</th>
|
||||||
<th></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -97,9 +71,6 @@
|
|||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||||
|
|||||||
@ -18,32 +18,14 @@
|
|||||||
|
|
||||||
@using (Html.BeginForm())
|
@using (Html.BeginForm())
|
||||||
{
|
{
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Ricerca</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per tecnico", @class = "agy-form-field require" })</span>
|
|
||||||
|
|
||||||
</td>
|
<div>
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@* <div>
|
|
||||||
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per tecnico", @class = "agy-form-field require" })</div>
|
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per tecnico", @class = "agy-form-field require" })</div>
|
||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
*@
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
|
|||||||
@ -32,12 +32,20 @@
|
|||||||
<span asp-validation-for="chstato" class="text-danger"></span>
|
<span asp-validation-for="chstato" class="text-danger"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
||||||
<div class="form-group" style="width: 40%;">
|
<div class="form-group" style="width: 100%;">
|
||||||
<h5><label asp-for="chdtapp" class="agy-client-quote"></label></h5>
|
<table>
|
||||||
<input asp-for="chdtapp" class="agy-form-field require" placeholder="Data" />
|
<tr>
|
||||||
|
<th style="width: 40%;">
|
||||||
|
<h5><label asp-for="chdata" class="agy-client-quote"></label></h5>
|
||||||
|
<input asp-for="chdata" class="agy-form-field require" placeholder="Data" />
|
||||||
@* <input asp-for="chrifer" class="form-control" /> *@
|
@* <input asp-for="chrifer" class="form-control" /> *@
|
||||||
<span asp-validation-for="chrifer" class="text-danger"></span>
|
<span asp-validation-for="chrifer" class="text-danger"></span>
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
<p>Se la data dell'appuntamento non è specificata verrà valorizzata con la data sistema (data del giorno).</p>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
||||||
<div class="form-group" style="width: 40%;">
|
<div class="form-group" style="width: 40%;">
|
||||||
|
|||||||
@ -30,9 +30,10 @@
|
|||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<b>@Html.DisplayNameFor(model => model.chdata)</b> @Html.DisplayFor(model => model.chdata)
|
<b>@Html.DisplayNameFor(model => model.chdata)</b> @Html.DisplayFor(model => model.chdata)
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.chdtapp)</b> @Html.DisplayFor(model => model.chdtapp)
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<b>@Html.DisplayNameFor(model => model.chcodimp)</b> @Html.DisplayFor(model => model.chcodimp)
|
<b>@Html.DisplayNameFor(model => model.chcodimp)</b> @Html.DisplayFor(model => model.chcodimp)
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -40,12 +40,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<h5><label asp-for="chdtapp" class="agy-client-quote"></label></h5>
|
<h5><label asp-for="chdata" class="agy-client-quote"></label></h5>
|
||||||
<input asp-for="chdtapp" class="agy-form-field require" placeholder="Data" />
|
|
||||||
<span asp-validation-for="chdtapp" class="text-danger"></span>
|
|
||||||
@* <h5><label asp-for="chdata" class="agy-client-quote"></label></h5>
|
|
||||||
<input asp-for="chdata" class="agy-form-field require" placeholder="Data" />
|
<input asp-for="chdata" class="agy-form-field require" placeholder="Data" />
|
||||||
<span asp-validation-for="chdata" class="text-danger"></span> *@
|
|
||||||
|
<span asp-validation-for="chdata" class="text-danger"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@ -103,8 +101,7 @@
|
|||||||
@Html.HiddenFor(x => x.chopchi)
|
@Html.HiddenFor(x => x.chopchi)
|
||||||
@Html.HiddenFor(x => x.chaziimp)
|
@Html.HiddenFor(x => x.chaziimp)
|
||||||
@Html.HiddenFor(x => x.chtmanut)
|
@Html.HiddenFor(x => x.chtmanut)
|
||||||
@* @Html.HiddenFor(x => x.chdtapp) *@
|
@Html.HiddenFor(x => x.chdtapp)
|
||||||
@Html.HiddenFor(x => x.chdata)
|
|
||||||
@Html.HiddenFor(x => x.choraapi)
|
@Html.HiddenFor(x => x.choraapi)
|
||||||
@Html.HiddenFor(x => x.chminapi)
|
@Html.HiddenFor(x => x.chminapi)
|
||||||
@Html.HiddenFor(x => x.choraapf)
|
@Html.HiddenFor(x => x.choraapf)
|
||||||
|
|||||||
@ -117,6 +117,11 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
<div style="width:100%;height:30px;">
|
<div style="width:100%;height:30px;">
|
||||||
|
|
||||||
@ -130,7 +135,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>Data appuntamento</th>
|
<th>Data</th>
|
||||||
<th>Impianto</th>
|
<th>Impianto</th>
|
||||||
<th>Cliente</th>
|
<th>Cliente</th>
|
||||||
<th>Tecnico</th>
|
<th>Tecnico</th>
|
||||||
@ -152,8 +157,7 @@
|
|||||||
@Html.DisplayFor(modelItem => item.numIntero)
|
@Html.DisplayFor(modelItem => item.numIntero)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@* @Html.DisplayFor(modelItem => item.chdata) *@
|
@Html.DisplayFor(modelItem => item.chdata)
|
||||||
@Html.DisplayFor(modelItem => item.chdtapp)
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.chcodimp) - @Html.DisplayFor(modelItem => item.indirizzoBreve)
|
@Html.DisplayFor(modelItem => item.chcodimp) - @Html.DisplayFor(modelItem => item.indirizzoBreve)
|
||||||
@ -217,16 +221,7 @@
|
|||||||
// link = "http://testapi.poloinformatico.it:9001/VIRTU/";
|
// link = "http://testapi.poloinformatico.it:9001/VIRTU/";
|
||||||
// link = link + item.ser_buono_chiu + ".jpg";
|
// link = link + item.ser_buono_chiu + ".jpg";
|
||||||
// <td><a href="@link" target="_blank">@item.ser_buono_chiu</a></td>
|
// <td><a href="@link" target="_blank">@item.ser_buono_chiu</a></td>
|
||||||
|
<td>@item.ser_buono_chiu</td>
|
||||||
// <td>@item.ser_buono_chiu - @item.ser_rapp_chiu</td>
|
|
||||||
|
|
||||||
<td><a href="" onclick="openNewWindow();">@item.ser_buono_chiu</a></td>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
function openNewWindow() {
|
|
||||||
window.open("/Rapp_New/Immagine?id=@item.ser_rapp_chiu", "MyWindow", "top=0,left=0,height=1020,width=1020");
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -19,38 +19,13 @@
|
|||||||
</p>
|
</p>
|
||||||
@using (Html.BeginForm())
|
@using (Html.BeginForm())
|
||||||
{
|
{
|
||||||
<div class="card">
|
<div>
|
||||||
<h5 class="card-header">Ricerca</h5>
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per descrizione", @class = "agy-form-field require"})</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@* <div>
|
|
||||||
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per descrizione", @class = "agy-form-field require" })</div>
|
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per descrizione", @class = "agy-form-field require" })</div>
|
||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
||||||
</div> *@
|
|
||||||
}
|
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
<div class="card">
|
<table class="table">
|
||||||
<h5 class="card-header">Tipi intervento</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Azienda</th>
|
<th>Azienda</th>
|
||||||
@ -94,10 +69,6 @@
|
|||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||||
|
|||||||
@ -20,45 +20,16 @@
|
|||||||
|
|
||||||
@using (Html.BeginForm())
|
@using (Html.BeginForm())
|
||||||
{
|
{
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Ricerca</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per commessa", @class = "agy-form-field require"})</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
|
||||||
@* <div>
|
|
||||||
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per commessa", @class = "agy-form-field require" })</div>
|
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per commessa", @class = "agy-form-field require" })</div>
|
||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
||||||
|
|
||||||
</div> *@
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
}
|
||||||
<div class="card">
|
<table class="table">
|
||||||
<h5 class="card-header">Commesse</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th hidden>Seriale Commessa</th>
|
<th hidden>Seriale Commessa</th>
|
||||||
@ -77,7 +48,6 @@
|
|||||||
<th hidden>scala</th>
|
<th hidden>scala</th>
|
||||||
<th hidden>CAP</th>
|
<th hidden>CAP</th>
|
||||||
<th hidden>provincia</th>
|
<th hidden>provincia</th>
|
||||||
<th></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -160,10 +130,6 @@
|
|||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||||
|
|||||||
@ -14,11 +14,7 @@
|
|||||||
<p>
|
<p>
|
||||||
<a asp-action="Create" ><img src="~/assets/images/icons8-nuovo-50.png" alt="Crea un nuovo elemento" /></a>
|
<a asp-action="Create" ><img src="~/assets/images/icons8-nuovo-50.png" alt="Crea un nuovo elemento" /></a>
|
||||||
</p>
|
</p>
|
||||||
|
<table class="table">
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header"></h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
@ -40,8 +36,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model)
|
@foreach (var item in Model) {
|
||||||
{
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
@ -88,8 +83,4 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
@ -5,26 +5,11 @@
|
|||||||
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="agy-project-wrapper agy-project-page-wrapper">
|
<div style="text-align:center; width:80%;height:80%;width:100%">
|
||||||
<div class="container">
|
<img src="~/assets/images/diagramma_statico.png" alt="Diagramma di flusso" />
|
||||||
<div class="row">
|
|
||||||
<div style="text-align:center;">
|
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
<br />
|
|
||||||
<h4><b>Scarica il manuale d'uso al link qua sotto:</b></h4>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<br />
|
|
||||||
<a href="~/assets/Manuale_VirtualTask_Ts_Rev.3.0.pdf" download="Manuale_VirtualTask_Ts_Rev.3.0.pdf">Manuale_VirtualTask_Ts_Rev.3.0.pdf</a>
|
|
||||||
<br />
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@*<script src="https://unpkg.com/gojs@2.3.16/release/go.js"></script>
|
@*<script src="https://unpkg.com/gojs@2.3.16/release/go.js"></script>
|
||||||
|
|
||||||
<div id="allSampleContent" class="p-4 w-full" style="text-align:center;">
|
<div id="allSampleContent" class="p-4 w-full" style="text-align:center;">
|
||||||
|
|||||||
@ -48,9 +48,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
@* <p>
|
<p>
|
||||||
<b>Nuova funzionalità Time Sheet in Virtual Task</b>
|
<b>Nuova funzionalità Time Sheet in Virtual Task</b>
|
||||||
</p> *@
|
</p>
|
||||||
Per ogni utente/dispositivo € 2,00 mese.
|
Per ogni utente/dispositivo € 2,00 mese.
|
||||||
Non attivabile nella versione free.
|
Non attivabile nella versione free.
|
||||||
</div>
|
</div>
|
||||||
@ -83,9 +83,6 @@
|
|||||||
<div class="row" style="float:right; width:40%;">
|
<div class="row" style="float:right; width:40%;">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<div>
|
<div>
|
||||||
<p>
|
|
||||||
<b>Nuova funzionalità Time Sheet in Virtual Task</b>
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
<h4>Abbonamento Virtual Task Time Sheet</h4>
|
<h4>Abbonamento Virtual Task Time Sheet</h4>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Impianti</h5>
|
<h5 class="card-header">IMPIANTI</h5>
|
||||||
<div class="table-responsive text-nowrap">
|
<div class="table-responsive text-nowrap">
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
@ -18,43 +18,17 @@
|
|||||||
</p> *@
|
</p> *@
|
||||||
@using (Html.BeginForm())
|
@using (Html.BeginForm())
|
||||||
{
|
{
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Ricerca</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per tipo", @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@* <div>
|
<div>
|
||||||
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per tipo", @class = "agy-form-field require" })</div>
|
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per tipo", @class = "agy-form-field require" })</div>
|
||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
||||||
|
|
||||||
</div> *@
|
</div>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
<table class="table">
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Progressivi</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Azienda</th>
|
<th>Azienda</th>
|
||||||
@ -94,9 +68,6 @@
|
|||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||||
|
|||||||
@ -1,31 +0,0 @@
|
|||||||
@model VirtualTask.Models.Rapp_New
|
|
||||||
|
|
||||||
@{
|
|
||||||
ViewData["Title"] = "Dettaglio";
|
|
||||||
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
|
||||||
}
|
|
||||||
|
|
||||||
<div class="agy-project-wrapper agy-project-page-wrapper">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="row" style="float:left;width:80%;">
|
|
||||||
@{
|
|
||||||
var imgSrc = "";
|
|
||||||
|
|
||||||
if (Model.img2 != null)
|
|
||||||
{
|
|
||||||
//byte[] appo = Model.img2;
|
|
||||||
var base64 = Convert.ToBase64String(Model.img2);
|
|
||||||
imgSrc = String.Format("data:image/gif;base64,{0}", base64);
|
|
||||||
<img src="@imgSrc" style="align-content:center" height="800" width="800" />
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<img src="~/assets/images/No_image.png" height="512" width="512" />
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@ -66,9 +66,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Buoni Intervento</h5>
|
<h5 class="card-header">BUONI INTERVENTO</h5>
|
||||||
<div class="table-responsive text-nowrap">
|
<div class="table-responsive text-nowrap">
|
||||||
|
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -139,7 +138,6 @@
|
|||||||
@foreach (var item in Model)
|
@foreach (var item in Model)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
@Html.HiddenFor(modelItem => item.seriale_rapportino)
|
|
||||||
@Html.HiddenFor(modelItem => item.tipo_rapportino)
|
@Html.HiddenFor(modelItem => item.tipo_rapportino)
|
||||||
@Html.HiddenFor(modelItem => item.azienda_impianto)
|
@Html.HiddenFor(modelItem => item.azienda_impianto)
|
||||||
@Html.HiddenFor(modelItem => item.azienda_chiamata)
|
@Html.HiddenFor(modelItem => item.azienda_chiamata)
|
||||||
@ -168,6 +166,7 @@
|
|||||||
@Html.HiddenFor(modelItem => item.incarico)
|
@Html.HiddenFor(modelItem => item.incarico)
|
||||||
@Html.HiddenFor(modelItem => item.data_validita)
|
@Html.HiddenFor(modelItem => item.data_validita)
|
||||||
@Html.HiddenFor(modelItem => item.immagine)
|
@Html.HiddenFor(modelItem => item.immagine)
|
||||||
|
@Html.HiddenFor(modelItem => item.ser_buono)
|
||||||
@Html.HiddenFor(modelItem => item.data_effettiva)
|
@Html.HiddenFor(modelItem => item.data_effettiva)
|
||||||
@Html.HiddenFor(modelItem => item.codice_intervento)
|
@Html.HiddenFor(modelItem => item.codice_intervento)
|
||||||
@Html.HiddenFor(modelItem => item.difetti_riscontrati)
|
@Html.HiddenFor(modelItem => item.difetti_riscontrati)
|
||||||
@ -197,8 +196,7 @@
|
|||||||
@Html.HiddenFor(modelItem => item.rafoto9)
|
@Html.HiddenFor(modelItem => item.rafoto9)
|
||||||
@Html.DisplayFor(modelItem => item.rafoto10)
|
@Html.DisplayFor(modelItem => item.rafoto10)
|
||||||
<td>
|
<td>
|
||||||
@* @Html.DisplayFor(modelItem => item.seriale_rapportino) *@
|
@Html.DisplayFor(modelItem => item.seriale_rapportino)
|
||||||
@Html.DisplayFor(modelItem => item.ser_buono)
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.data_rapportino)
|
@Html.DisplayFor(modelItem => item.data_rapportino)
|
||||||
@ -237,8 +235,8 @@
|
|||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, /* searchString = @ViewData["CurrentFilter"], */
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString = @ViewData["CurrentFilter"],
|
||||||
CodBuono = @ViewData["Codbuono"], tecnico = @ViewData["tecnico"], dataIni = @ViewData["dataIni"], dataFin=@ViewData["dataFin"]}), new PagedListRenderOptions()
|
CodBuono = ViewData["Codbuono"], tecnico = @ViewData["tecnico"], dataIni = ViewData["dataIni"], dataFin=@ViewData["dataFin"]}), new PagedListRenderOptions()
|
||||||
{
|
{
|
||||||
ActiveLiElementClass = "active",
|
ActiveLiElementClass = "active",
|
||||||
PageClasses = new[]{ "page-link"},
|
PageClasses = new[]{ "page-link"},
|
||||||
|
|||||||
@ -15,73 +15,47 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
@using (Html.BeginForm("Index", "Rapportini"))
|
@using (Html.BeginForm("Index", "Rapportini"))
|
||||||
{
|
{
|
||||||
<div class="card">
|
<div>
|
||||||
<h5 class="card-header">Ricerca</h5>
|
<div style="float:left;width:40%;padding:0 20px;">
|
||||||
<div class="table-responsive text-nowrap">
|
<th><b>Impianto:</b></th>
|
||||||
<table class="table">
|
@Html.DropDownList("impianto", ViewBag.Rapportini, null, new { @class = "agy-form-field require" })
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
@* <div style="float:left;width:40%;padding:0 20px;"> *@
|
||||||
<td>
|
<th><b>Data da:</b></th>
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Impianto:</i>
|
@Html.TextBox("dataIni", null, new { type = "date", @class = "agy-form-field require" })
|
||||||
<span class="fw-medium">@Html.DropDownList("impianto", ViewBag.Rapportini, null, new { @class = "agy-form-field require" })</span>
|
@* </div> *@
|
||||||
</td>
|
|
||||||
<td>
|
@* <div style="float:left;width:40%;padding:0 20px;"> *@
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Data da:</i>
|
<th><b>Data a:</b></th>
|
||||||
<span class="fw-medium">@Html.TextBox("dataIni", null, new { type = "date", @class = "agy-form-field require" })</span>
|
@Html.TextBox("dataFin", null, new { type = "date", @class = "agy-form-field require" })
|
||||||
</td>
|
@* </div> *@
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Data a:</i>
|
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
||||||
<span class="fw-medium">@Html.TextBox("dataFin", null, new { type = "date", @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div style="float:left;width:2%;"> </div>
|
||||||
|
<div style="float:left;width:2%;"> </div>
|
||||||
|
<div style="float:left;width:2%;"> </div>
|
||||||
|
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
<br>
|
||||||
|
<br>
|
||||||
</div>
|
<br>
|
||||||
|
|
||||||
@using (Html.BeginForm("ExportDataToExcel", "Rapportini"))
|
@using (Html.BeginForm("ExportDataToExcel", "Rapportini"))
|
||||||
{
|
{
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Estrai</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
@Html.Hidden("dataIni", ViewBag.Rapportini, null)
|
@Html.Hidden("dataIni", ViewBag.Rapportini, null)
|
||||||
@Html.Hidden("dataFin", ViewBag.Rapportini, null)
|
@Html.Hidden("dataFin", ViewBag.Rapportini, null)
|
||||||
@Html.Hidden("impianto", ViewBag.Rapportini, null)
|
@Html.Hidden("impianto", ViewBag.Rapportini, null)
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Esporta excel" name="Esporta excel" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div style="float:left;width:40%;padding:0 20px;">
|
||||||
|
<input type="submit" value="Esporta excel" name="Esporta excel" class="agy-btn submitForm" />
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<table class="table">
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header"></h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Seriale buono</th>
|
<th>Seriale buono</th>
|
||||||
@ -108,19 +82,33 @@
|
|||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.codice_impianto)
|
@Html.DisplayFor(modelItem => item.codice_impianto)
|
||||||
</td>
|
</td>
|
||||||
|
@* <td>
|
||||||
|
@Html.DisplayFor(modelItem => item.seriale_commessa)
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
@Html.DisplayFor(modelItem => item.data_rapportino)
|
||||||
|
</td>
|
||||||
|
*@
|
||||||
|
@* <td>
|
||||||
|
<a href="@Url.Action("Edit", "Anag", new { id=item.seriale_rapportino })" title="Modifica" class="links">
|
||||||
|
<img alt="Modifica" src="@Url.Content("~/assets/images/icons8-modificare-64.png")" style="width:30px;height:30px;">
|
||||||
|
</a>
|
||||||
|
|
|
||||||
|
<a href="@Url.Action("Details", "Anag", new { id=item.seriale_rapportino })" title="Dettaglio" class="links">
|
||||||
|
<img alt="Dettaglio" src="@Url.Content("~/assets/images/icons8-visualizza-file-64.png")" style="width:30px;height:30px;">
|
||||||
|
</a>
|
||||||
|
|
|
||||||
|
<a href="@Url.Action("Delete", "Anag", new { id=item.seriale_rapportino })" title="Elimina" class="links">
|
||||||
|
<img alt="Elimina" src="@Url.Content("~/assets/images/icons8-elimina-50.png")" style="width:30px;height:30px;">
|
||||||
|
</a>
|
||||||
|
</td> *@
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, impianto = @ViewData["impianto"], dataIni = @ViewData["dataIni"],
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString = @ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||||
dataFin = @ViewData["dataFin"]}), new PagedListRenderOptions()
|
|
||||||
{
|
{
|
||||||
ActiveLiElementClass = "active",
|
ActiveLiElementClass = "active",
|
||||||
PageClasses = new[] { "page-link" },
|
PageClasses = new[] { "page-link" },
|
||||||
|
|||||||
@ -1,244 +0,0 @@
|
|||||||
@model VirtualTask.Models.Registrazione
|
|
||||||
|
|
||||||
|
|
||||||
@{
|
|
||||||
ViewData["Title"] = "Disattiva";
|
|
||||||
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
<div class="agy-project-wrapper agy-project-page-wrapper">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-4">
|
|
||||||
<form asp-action="Disattiva">
|
|
||||||
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.id)</b> @Html.DisplayFor(model => model.id)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.nome)</b> @Html.DisplayFor(model => model.nome)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.cognome)</b> @Html.DisplayFor(model => model.cognome)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.RagioneSociale)</b> @Html.DisplayFor(model => model.RagioneSociale)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.telefono)</b> @Html.DisplayFor(model => model.telefono)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.cellulare)</b> @Html.DisplayFor(model => model.cellulare)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.email)</b> @Html.DisplayFor(model => model.email)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.emailConf)</b> @Html.DisplayFor(model => model.emailConf)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.azienda)</b> @Html.DisplayFor(model => model.azienda)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.username)</b> @Html.DisplayFor(model => model.username)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.passwd)</b> @Html.DisplayFor(model => model.passwd)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.citta)</b> @Html.DisplayFor(model => model.citta)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.provincia)</b> @Html.DisplayFor(model => model.provincia)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.nazione)</b> @Html.DisplayFor(model => model.nazione)
|
|
||||||
</div>
|
|
||||||
<div class="col-md-10">
|
|
||||||
<b>@Html.DisplayNameFor(model => model.attivato)</b> @Html.DisplayFor(model => model.attivato)
|
|
||||||
</div>
|
|
||||||
@Html.HiddenFor(model => model.id)
|
|
||||||
@Html.HiddenFor(model => model.nome)
|
|
||||||
@Html.HiddenFor(model => model.cognome)
|
|
||||||
@Html.HiddenFor(model => model.telefono)
|
|
||||||
@Html.HiddenFor(model => model.cellulare)
|
|
||||||
@Html.HiddenFor(model => model.email)
|
|
||||||
@Html.HiddenFor(model => model.emailConf)
|
|
||||||
@Html.HiddenFor(model => model.azienda)
|
|
||||||
@Html.HiddenFor(model => model.username)
|
|
||||||
@Html.HiddenFor(model => model.passwd)
|
|
||||||
@Html.HiddenFor(model => model.citta)
|
|
||||||
@Html.HiddenFor(model => model.provincia)
|
|
||||||
@Html.HiddenFor(model => model.nazione)
|
|
||||||
@Html.HiddenFor(model => model.attivato)
|
|
||||||
@Html.HiddenFor(model => model.token)
|
|
||||||
@Html.HiddenFor(model => model.privacy1)
|
|
||||||
@Html.HiddenFor(model => model.privacy2)
|
|
||||||
@Html.HiddenFor(model => model.privacy3)
|
|
||||||
@Html.HiddenFor(model => model.privacy4)
|
|
||||||
@Html.HiddenFor(model => model.ModuloTimesheet)
|
|
||||||
@Html.HiddenFor(model => model.ModuloRapportini)
|
|
||||||
@Html.HiddenFor(model => model.RagioneSociale)
|
|
||||||
|
|
||||||
<input type="submit" value="Disabilita" class="agy-btn submitForm" />
|
|
||||||
</form>
|
|
||||||
<div>
|
|
||||||
<a asp-action="Index" value="Torna alla lista" class="agy-btn submitForm">Torna alla lista</a>
|
|
||||||
@* <input type="submit" value="Torna alla lista" class="agy-btn submitForm" /> *@
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@* <div>
|
|
||||||
<h4>Registrazione</h4>
|
|
||||||
<hr />
|
|
||||||
<dl class="row">
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.id)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.id)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cognome)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cognome)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.telefono)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.telefono)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.cellulare)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.cellulare)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.email)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.email)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.emailConf)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.emailConf)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.azienda)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.azienda)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.username)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.username)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.passwd)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.passwd)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.citta)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.citta)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.provincia)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.provincia)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.nazione)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.nazione)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.attivato)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.attivato)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.token)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.token)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy1)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy1)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy2)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy2)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy3)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy3)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.privacy4)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.privacy4)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ModuloTimesheet)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ModuloTimesheet)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ModuloRapportini)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ModuloRapportini)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.RagioneSociale)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.RagioneSociale)
|
|
||||||
</dd>
|
|
||||||
<dt class = "col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.numtec)
|
|
||||||
</dt>
|
|
||||||
<dd class = "col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.numtec)
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
@Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) |
|
|
||||||
<a asp-action="Index">Back to List</a>
|
|
||||||
</div> *@
|
|
||||||
@ -92,18 +92,9 @@
|
|||||||
<a href="@Url.Action("Delete", "Registrazioni", new { id=item.id })" title="Elimina" class="links">
|
<a href="@Url.Action("Delete", "Registrazioni", new { id=item.id })" title="Elimina" class="links">
|
||||||
<img alt="Elimina" src="@Url.Content("~/assets/images/icons8-elimina-50.png")" style="width:30px;height:30px;">
|
<img alt="Elimina" src="@Url.Content("~/assets/images/icons8-elimina-50.png")" style="width:30px;height:30px;">
|
||||||
</a>
|
</a>
|
||||||
@if(item.numtec == null || item.numtec == 0)
|
<a href="@Url.Action("Attiva", "Registrazioni", new { id=item.id })" title="Attiva" class="links">
|
||||||
{
|
|
||||||
<a href="@Url.Action("Attiva", "Registrazioni", new { id=item.id })" title="Attiva utente" class="links">
|
|
||||||
<img alt="Attiva" src="@Url.Content("~/assets/images/icons8-pulsante-di-spegnimento-50.png")" style="width:30px;height:30px;">
|
<img alt="Attiva" src="@Url.Content("~/assets/images/icons8-pulsante-di-spegnimento-50.png")" style="width:30px;height:30px;">
|
||||||
</a>
|
</a>
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<a href="@Url.Action("Disattiva", "Registrazioni", new { id=item.id })" title="Disattiva utente" class="links">
|
|
||||||
<img alt="Disattiva" src="@Url.Content("~/assets/images/icons8-rimuovere-l'utente-uomo-50.png")" style="width:30px;height:30px;">
|
|
||||||
</a>
|
|
||||||
}
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -20,41 +20,14 @@
|
|||||||
</p>
|
</p>
|
||||||
@using (Html.BeginForm())
|
@using (Html.BeginForm())
|
||||||
{
|
{
|
||||||
<div class="card">
|
<div>
|
||||||
<h5 class="card-header">Ricerca</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per descrizione", @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@* <div>
|
|
||||||
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per descrizione", @class = "agy-form-field require" })</div>
|
<div style="float:left;width:40%;padding:0 20px;">@Html.TextBox("SearchString", null, new { placeholder = "Cerca per descrizione", @class = "agy-form-field require" })</div>
|
||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
<div style="float:left;width:57%;"><input type="submit" value="Cerca" class="agy-btn submitForm" /></div>
|
||||||
|
|
||||||
</div> *@
|
|
||||||
}
|
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
<div class="card">
|
<table class="table">
|
||||||
<h5 class="card-header">Tecnici</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thread>
|
<thread>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Codice</th>
|
<th>Codice</th>
|
||||||
@ -66,7 +39,6 @@
|
|||||||
<th hidden>Costo notturno</th>
|
<th hidden>Costo notturno</th>
|
||||||
<th hidden>Costo straordinario</th>
|
<th hidden>Costo straordinario</th>
|
||||||
<th hidden>Costo festivo</th>
|
<th hidden>Costo festivo</th>
|
||||||
<th></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thread>
|
</thread>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -118,10 +90,6 @@
|
|||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||||
|
|||||||
@ -16,45 +16,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
@using (Html.BeginForm("Index", "Timbrature"))
|
@using (Html.BeginForm("Index", "Timbrature"))
|
||||||
{
|
{
|
||||||
<div class="card">
|
<div>
|
||||||
<h5 class="card-header">Ricerca</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Data da:</i>
|
|
||||||
<span class="fw-medium">@Html.TextBox("dataIni", null, new { type = "date", @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Data a:</i>
|
|
||||||
<span class="fw-medium">@Html.TextBox("dataFin", null, new { type = "date", @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Commessa:</i>
|
|
||||||
<span class="fw-medium">@Html.DropDownList("commessa", ViewBag.Timbrature, null, new { @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3">Tecnico:</i>
|
|
||||||
<span class="fw-medium">@Html.TextBox("tecnico", null, new { placeholder = "", @class = "agy-form-field require" })</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<i class="bx bxl-angular bx-sm text-black me-3"> </i>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
@* <div>
|
|
||||||
<div style="float:left;width:40%;padding:0 20px;">
|
<div style="float:left;width:40%;padding:0 20px;">
|
||||||
<th><b>Data da:</b></th>
|
<th><b>Data da:</b></th>
|
||||||
|
|
||||||
@ -76,55 +38,27 @@
|
|||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
<div style="float:left;width:2%;"> </div>
|
<div style="float:left;width:2%;"> </div>
|
||||||
|
|
||||||
</div> *@
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@* <br>
|
|
||||||
<br>
|
<br>
|
||||||
<br> *@
|
<br>
|
||||||
|
<br>
|
||||||
|
|
||||||
@using (Html.BeginForm("ExportExcel", "Timbrature"))
|
@using (Html.BeginForm("ExportExcel", "Timbrature"))
|
||||||
{
|
{
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Estrai</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table">
|
|
||||||
<tbody class="table-border-bottom-0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
@Html.Hidden("dataIni", ViewBag.Timbrature, null)
|
@Html.Hidden("dataIni", ViewBag.Timbrature, null)
|
||||||
@Html.Hidden("dataFin", ViewBag.Timbrature, null)
|
@Html.Hidden("dataFin", ViewBag.Timbrature, null)
|
||||||
@Html.Hidden("commessa", ViewBag.Timbrature, null)
|
@Html.Hidden("commessa", ViewBag.Timbrature, null)
|
||||||
@Html.Hidden("tecnico", ViewBag.Timbrature, null)
|
@Html.Hidden("tecnico", ViewBag.Timbrature, null)
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<span class="fw-medium"><input type="submit" value="Esporta excel" name="Esporta excel" class="agy-btn submitForm" /></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@*
|
|
||||||
|
|
||||||
<div style="float:left;width:40%;padding:0 20px;">
|
<div style="float:left;width:40%;padding:0 20px;">
|
||||||
<input type="submit" value="Esporta excel" name="Esporta excel" class="agy-btn submitForm" />
|
<input type="submit" value="Esporta excel" name="Esporta excel" class="agy-btn submitForm" />
|
||||||
</div> *@
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
<div style="width:100%;height:30px;">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<table class="table">
|
||||||
<div class="card">
|
|
||||||
<h5 class="card-header">Timbrature</h5>
|
|
||||||
<div class="table-responsive text-nowrap">
|
|
||||||
<table class="table table-striped">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
@ -138,11 +72,9 @@
|
|||||||
<th>Totale ore</th>
|
<th>Totale ore</th>
|
||||||
<th>Giorno sett.</th>
|
<th>Giorno sett.</th>
|
||||||
<th>Tecnico</th>
|
<th>Tecnico</th>
|
||||||
<th></th>
|
|
||||||
<th hidden>Id</th>
|
<th hidden>Id</th>
|
||||||
<th hidden>Azienda</th>
|
<th hidden>Azienda</th>
|
||||||
<th hidden>Note</th>
|
<th hidden>Note</th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -173,14 +105,9 @@
|
|||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<nav>
|
<nav>
|
||||||
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, commessa=@ViewData["commessa"],
|
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString = @ViewData["CurrentFilter"] }), new PagedListRenderOptions()
|
||||||
tecnico=@ViewData["tecnico"], dataIni=@ViewData["dataIni"], dataFin=@ViewData["dataFin"]/* searchString = @ViewData["CurrentFilter"] */ }), new PagedListRenderOptions()
|
|
||||||
{
|
{
|
||||||
ActiveLiElementClass = "active",
|
ActiveLiElementClass = "active",
|
||||||
PageClasses = new[] { "page-link" },
|
PageClasses = new[] { "page-link" },
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
<PackageReference Include="ClosedXML" Version="0.102.1" />
|
||||||
<PackageReference Include="Microsoft.Office.Interop.Excel" Version="15.0.4795.1001" />
|
<PackageReference Include="Microsoft.Office.Interop.Excel" Version="15.0.4795.1001" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.18" />
|
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.17" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
|
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
|
||||||
<PackageReference Include="X.PagedList.Mvc.Core" Version="8.4.7" />
|
<PackageReference Include="X.PagedList.Mvc.Core" Version="8.4.7" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB |
Loading…
Reference in New Issue
Block a user