inserita bozza creazione mov come partial view (da testare e completare x 3 tipi di movimento...)
This commit is contained in:
@@ -220,7 +220,7 @@ namespace StockManMVC.Controllers
|
||||
ViewBag.ExtLocationID = new SelectList(db.Location, "ID", "Descr");
|
||||
break;
|
||||
}
|
||||
return View();
|
||||
return PartialView("_CreatePrecompiled");
|
||||
}
|
||||
|
||||
// POST: ItemFluxes/Create
|
||||
@@ -236,7 +236,7 @@ namespace StockManMVC.Controllers
|
||||
string currOpID = "ND"; // default
|
||||
try
|
||||
{
|
||||
Operator currOp = (Operator)db.Operator.Where(o => o.CodExt == User.Identity.Name || o.CodExt.Contains(User.Identity.Name) || o.ID== User.Identity.Name);
|
||||
Operator currOp = (Operator)db.Operator.Where(o => o.CodExt == User.Identity.Name || o.CodExt.Contains(User.Identity.Name) || o.ID == User.Identity.Name);
|
||||
currOpID = currOp.ID;
|
||||
}
|
||||
catch
|
||||
|
||||
Reference in New Issue
Block a user