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

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

  return (
    <AppShell
      pathname="/sales-regular"
      title="Penjualan Reguler"
      description="Alur penjualan keluar standar dengan pembeli, kurs, jasa pengiriman, retur, dan penyusutan."
    >
      <SalesRegularClient defaultCurrencyCode={settings.currency_code} />
    </AppShell>
  );
}
