import { AdminPermissionGate } from "@/components/admin/admin-permission-gate";
import { SettlementBatchesConsole } from "@/modules/settlement/settlement-batches-console";
import { PRD_PAYOUT_ACCESS_ANY } from "@/lib/admin-prd";
import { buildPageMetadata } from "@/lib/page-metadata";
import type { Metadata } from "next";

export const metadata: Metadata = buildPageMetadata("settlement", "batchList");

export default function AdminSettlementBatchesPage() {
  return (
    <AdminPermissionGate requiredAny={PRD_PAYOUT_ACCESS_ANY}>
      <SettlementBatchesConsole />
    </AdminPermissionGate>
  );
}
