note consegna
This commit is contained in:
parent
c22e2ef0e3
commit
d237d4ab96
@ -769,7 +769,6 @@ namespace ApiSoftway.Controllers
|
||||
[HttpGet("listaDestinazioniByAutistaDataMezzoWeb")]
|
||||
public async Task<ActionResult<IEnumerable<Destinazioni_out>>> listaDestinazioniByAutistaDataWeb(string autista, DateTime? dataGiro, string mezzo)
|
||||
{
|
||||
|
||||
List<Destinazioni_out> lst = new List<Destinazioni_out>();
|
||||
_destinazioni = _destinazioni_web_context.Destinazioni;
|
||||
var r = await _destinazioni.Where(t => t.CodAutista != null && t.CodAutista.Equals(autista) && t.DataCarico != null && t.DataCarico == dataGiro && t.CodAutomezzo != null && t.CodAutomezzo.Equals(mezzo)).OrderByDescending(t => t.DataCarico).ThenBy(t => t.Seq).ToListAsync();
|
||||
@ -816,6 +815,7 @@ namespace ApiSoftway.Controllers
|
||||
o.Uova = d.Uova;
|
||||
o.Cist = d.Cist;
|
||||
o.Note = d.Note;
|
||||
o.NoteConsegna = d.NoteConsegna;
|
||||
o.Seq = d.Seq;
|
||||
o.Prog = d.Prog;
|
||||
|
||||
@ -1300,6 +1300,12 @@ namespace ApiSoftway.Controllers
|
||||
sb.Append("<br> ");
|
||||
sb.Append("<b>Note</b> " + _note);
|
||||
}
|
||||
string _noteCon = !string.IsNullOrEmpty(d.NoteConsegna) ? d.NoteConsegna.Trim() : string.Empty;
|
||||
if (!string.IsNullOrEmpty(_noteCon))
|
||||
{
|
||||
sb.Append("<br> ");
|
||||
sb.Append("<b>Note</b> " + _noteCon);
|
||||
}
|
||||
|
||||
item = sb.ToString();
|
||||
sb = null;
|
||||
|
||||
@ -50,6 +50,7 @@ namespace ApiSoftway.Models
|
||||
public int? Uova { get; set; }
|
||||
public int? Cist { get; set; }
|
||||
public string? Note { get; set; }
|
||||
public string? NoteConsegna { get; set; }
|
||||
public int? Seq { get; set; }
|
||||
|
||||
//progressivo- chiave tabella pimodgir
|
||||
|
||||
@ -36,6 +36,7 @@ namespace ApiSoftway.Models
|
||||
public int? Uova { get; set; }
|
||||
public int? Cist { get; set; }
|
||||
public string? Note { get; set; }
|
||||
public string? NoteConsegna { get; set; }
|
||||
public int? Seq { get; set; }
|
||||
|
||||
//progressivo- chiave tabella pimodgir
|
||||
|
||||
@ -111,5 +111,5 @@ app.UseAuthorization();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
//app.Run();
|
||||
app.Run("http://localhost:6000");
|
||||
app.Run();
|
||||
//app.Run("http://localhost:6000");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user