import { AppShell } from "@/components/layout/app-shell";
import { SalesJitClient } from "@/features/sales-jit/components/sales-jit-client";
import { getAppSettings } from "@/lib/app-settings";

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

  return (
    <AppShell
      pathname="/sales-jit"
      title="Penjualan Just In Time"
      description="Alur penjualan langsung beli-jual tanpa masuk gudang, tanpa retur, dan close hanya mengunci harga jual aktual."
    >
      <SalesJitClient defaultCurrencyCode={settings.currency_code} />
    </AppShell>
  );
}
