"use client" import { useState } from "react" import SafetyChecklistSection from "./report-sections/SafetyChecklistSection" import ProductionPreChecksSection from "./report-sections/ProductionPreChecksSection" import ProductionParametersSection from "./report-sections/ProductionParametersSection" import BottleWeightTrackingSection from "./report-sections/BottleWeightTrackingSection" import HourlyQualityChecksSection from "./report-sections/HourlyQualityChecksSection" import ProductionTrackingSection from "./report-sections/ProductionTrackingSection" import SeamLeakTestSection from "./report-sections/SeamLeakTestSection" import FilmDetailsSection from "./report-sections/FilmDetailsSection" import ProductionDataSection from "./report-sections/ProductionDataSection" export default function ReportForm({ report }: { report: any }) { return (
Date
{new Date(report.shift.shiftDate).toLocaleDateString()}
Operator
{report.worker.firstName} {report.worker.surname} ({report.worker.empNo})
Machine
{report.machine.name}
Shift
{report.shift.name}