inserita bozza creazione mov come partial view (da testare e completare x 3 tipi di movimento...)

This commit is contained in:
Samuele E. Locatelli (WEB DEV)
2016-09-30 00:01:40 +02:00
parent d92ae46dde
commit cb2a9be3c9
5 changed files with 17 additions and 28 deletions
@@ -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