Inserita modifica x impedire salvataggio SE commessa chiusa
This commit is contained in:
@@ -17,12 +17,7 @@ namespace C_TRACK
|
||||
routeTemplate: "api/{controller}/{action}/{id}",
|
||||
defaults: new { controller = "Health", action = "Index", id = RouteParameter.Optional }
|
||||
);
|
||||
|
||||
//routes.MapRoute(
|
||||
// name: "Default",
|
||||
// url: "{controller}/{action}/{id}",
|
||||
// defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||
//);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,9 +40,17 @@ namespace C_TRACK.WebUserControls
|
||||
|
||||
protected void lbtCmd_Click(object sender, EventArgs e)
|
||||
{
|
||||
LinkButton lb = (LinkButton)sender;
|
||||
memLayer.ML.setSessionVal("btnCmdPress", lb.CommandArgument, false);
|
||||
segnalaClick();
|
||||
// PROCEDO SOLO SE non ho veto...
|
||||
if (!hasVeto)
|
||||
{
|
||||
LinkButton lb = (LinkButton)sender;
|
||||
memLayer.ML.setSessionVal("btnCmdPress", lb.CommandArgument, false);
|
||||
segnalaClick();
|
||||
}
|
||||
else
|
||||
{
|
||||
updateBtn();
|
||||
}
|
||||
}
|
||||
|
||||
public void updateBtn()
|
||||
|
||||
@@ -19,16 +19,7 @@ namespace C_TRACK.WebUserControls
|
||||
|
||||
public string getImgUrl(object codOpr)
|
||||
{
|
||||
string answ = "";
|
||||
#if false
|
||||
//string targetUrl = string.Format(@"ctrack.steamware.net/elet-scal/jumper?USER_NAME=info@elettronicascalvina.it&UserAuthkey=asdfbqhewrqg7802345bhasdfg78&CodOpr=");
|
||||
//targetUrl = HttpUtility.UrlEncode(targetUrl);
|
||||
// genero obj
|
||||
qrRequest richiesta = new qrRequest();
|
||||
richiesta.valore = answ;
|
||||
// ora serializzo oggetto!
|
||||
answ = JsonConvert.SerializeObject(richiesta);
|
||||
#endif
|
||||
string answ = "";
|
||||
string UrlQRCodeGen = memLayer.ML.CRS("UrlQRCodeGen");
|
||||
string TargetQRCode = memLayer.ML.CRS("TargetQRCode");
|
||||
answ = string.Format(@"{0}/{1}?val={2}", UrlQRCodeGen, TargetQRCode, codOpr);
|
||||
|
||||
Reference in New Issue
Block a user