import Box from "@mui/material/Box";
import { I18nProvider } from "@/i18n";
import PoWorkbenchPageClient from "./PoWorkbenchPageClient";

/**
 * Purchase Order Workbench page (`/po/workbench`).
 * Translations: `poWorkbench` (nested keys), shared PO filters: `purchaseOrder`, plus `common`.
 */
export default function PoWorkbenchPage() {
  return (
    <Box
      sx={{
        flex: 1,
        minHeight: 0,
        height: "100%",
        display: "flex",
        flexDirection: "column",
      }}
    >
      <I18nProvider namespaces={["poWorkbench","navigation","common","purchaseOrder"]}>
        <PoWorkbenchPageClient />
      </I18nProvider>
    </Box>
  );
}
