import { AppShell } from "@/components/layout/app-shell";
import { SimpleMasterCrud } from "@/components/master-data/simple-master-crud";

export default async function WarehousesPage() {
  return (
    <AppShell
      pathname="/warehouses"
      title="Gudang"
      description="Master gudang untuk penerimaan, penempatan lot, transfer, dan laporan stok."
    >
      <SimpleMasterCrud
        kind="warehouse"
        endpoint="/api/v1/warehouses"
        title="Gudang"
        helper="Tahap berikutnya kita bisa tambah sub-master lokasi gudang di bawah setiap gudang."
      />
    </AppShell>
  );
}
