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:
Daniel Wathen
2023-01-16 00:55:07 -07:00
parent 11a24b26a0
commit 62df6323d0
7 changed files with 100 additions and 17 deletions

View File

@ -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");