import { AppShell } from "@/components/layout/app-shell";
import { BarcodeLookupClient } from "@/features/barcode/components/barcode-lookup-client";
import { getAppSettings } from "@/lib/app-settings";

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

  return (
    <AppShell
      pathname="/barcode/lookup"
      title="Pencarian Barcode"
      description="Pencarian berbasis QR/barcode dipakai untuk penelusuran cepat, transfer gudang, dan verifikasi pengambilan barang."
    >
      <BarcodeLookupClient currencyCode={settings.currency_code} />
    </AppShell>
  );
}
