SLLTools.json file and DailyReportInfo.json file automatically clear the first time it runs on Monday, and fixed bug when scrap is resolved as null.
This commit is contained in:
@ -52,6 +52,8 @@ public class ProductionReportController : Controller
|
||||
[HttpPost]
|
||||
public IActionResult EditDailyReport(ManualReportEntries rpt)
|
||||
{
|
||||
rpt.Date = DateTime.Now.Date;
|
||||
|
||||
JsonFileHandler.SaveJSONFile(rpt, _dailyRptFilePath);
|
||||
|
||||
return RedirectToAction("DailyReport");
|
||||
|
Reference in New Issue
Block a user