update bug and report and material
Project and Estimate
ProjectEstimate.php, 1-ProjectPage, estimate.blade.php: the project and estimate page fixes and layout updates. Location Map and Admin (Location, Plant, Area, Department)
Controllers: LocationMapPageController.php and the four controllers under Admin/. Models: Location, LocationPlant, LocationPlantArea and LocationDepartment. View: admin/location/index.blade.php. Soft delete on the four location tables, with the new migration 2026_10_21_000001. Fix for the blank department and location in Scaffold Status and Account. Scaffold Requests (Order)
OrderPage.php and 2-OrderPage.blade.php. Deleting a request now soft-deletes its items, orders, material lines and log rows in one transaction. Planner
PlannerPage.php: cancel erection now soft-deletes the order's material lines and logs and gives back material_out, inside a transaction. Material
MaterialPage.php: SQL-injection fix in the return and actual-usage save (validation, float cast), lost quantity computed from actual, and the stock endpoints on the ledger. materials.blade.php: the order dialog is pre-filled from the request's saved lines and warns on close only if you changed the list. Saves use BusyDialog. New: ProjectStockService.php (the stock ledger), material-request-print and material-summary-print. Approvals
ApprovePage.php and approvals.blade.php: approval and cancel-approval fixes, shortage handling, and the shared dialog. Actions
ActionPage.php and actions.blade.php: action and actual-usage fixes, and the shared material dialog under scaffold/partials/. Inspections
InspectionPage.php and inspections.blade.php: guards, history and deleted filters, and photo previews in a 2x2 grid. This also fixes the 15 production scaffolds that were at risk of re-inspection. Scaffold Status and Account
ScaffoldPage.php, AccountPage.php, scaffold-status.blade.php and scaffold-account.blade.php. Item delete now soft-deletes the material through the new ScaffoldMaterialCleanup.php, inside a transaction. Dashboard
DashboardController.php, the dashboard index, status and timeline views, and the new dashboard/status/ folder. Filter fix: a project-only search no longer locks the Location, and Apply works with only a project. Reports
ReportsPage.php and the new reports_daily: date parsing made null-safe. The old reports_audit_log view is removed (already staged). Menu and layout
topbar.blade.php and menu-flow.blade.php. Workforce routes removed from routes/web.php, plus the other route changes for the modules above. New shared busy-dialog.js.