import { AppShell } from "@/components/layout/app-shell";
import { LotMixingClient } from "@/features/lot-transformations/components/lot-mixing-client";
import { getAppSettings } from "@/lib/app-settings";

export default async function SortingPage() {
  const settings = await getAppSettings();

  return (
    <AppShell
      pathname="/sorting"
      title="Mixing Lot / Ubah Grade"
      description="Campurkan beberapa lot aktif menjadi lot hasil baru dengan grade baru, lalu simpan jejak input-output secara penuh."
    >
      <LotMixingClient currencyCode={settings.currency_code} />
    </AppShell>
  );
}
