inserimento sede
This commit is contained in:
parent
8ab01eb1bd
commit
fe3abd6ae7
@ -708,11 +708,12 @@ namespace ApiSoftway.Controllers
|
|||||||
var ti = await _sbrord.Where(t => t.Brserial.Equals(model.Serial)).FirstAsync();
|
var ti = await _sbrord.Where(t => t.Brserial.Equals(model.Serial)).FirstAsync();
|
||||||
string _committente = ti.Brcodcom;
|
string _committente = ti.Brcodcom;
|
||||||
string _cliFatturazione = ti.Brclifat;
|
string _cliFatturazione = ti.Brclifat;
|
||||||
|
string _codSede = ti.Brcodsed;
|
||||||
int seque = ti.Brnumseq.Value;
|
int seque = ti.Brnumseq.Value;
|
||||||
t.Cca = _committente;
|
t.Cca = _committente;
|
||||||
t.Ccda=_cliFatturazione;
|
t.Ccda=_cliFatturazione;
|
||||||
t.Cprownum = seque;
|
t.Cprownum = seque;
|
||||||
|
t.Piconseg=_codSede;
|
||||||
|
|
||||||
|
|
||||||
//Step 3 : testata
|
//Step 3 : testata
|
||||||
|
|||||||
@ -10,5 +10,6 @@ namespace ApiSoftway.Models
|
|||||||
public string? Brcodcom { get; set; }
|
public string? Brcodcom { get; set; }
|
||||||
public string? Brclifat { get; set; }
|
public string? Brclifat { get; set; }
|
||||||
public int? Brnumseq { get; set; }
|
public int? Brnumseq { get; set; }
|
||||||
|
public string? Brcodsed { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -74,5 +74,5 @@ app.UseAuthorization();
|
|||||||
|
|
||||||
app.MapControllers();
|
app.MapControllers();
|
||||||
|
|
||||||
app.Run();
|
//app.Run();
|
||||||
//app.Run("http://localhost:6000");
|
app.Run("http://localhost:6000");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user