import { AppShell } from "@/components/layout/app-shell";
import { WashingClient } from "@/features/washing/components/washing-client";
import { getAppSettings } from "@/lib/app-settings";

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

  return (
    <AppShell
      pathname="/washing"
      title="Pencucian"
      description="Kirim lot ke tempat cuci, simpan biaya dan resi, lalu selesaikan hasil cuci dengan pembaruan berat, grade, dan lokasi gudang."
    >
      <WashingClient currencyCode={settings.currency_code} />
    </AppShell>
  );
}
