"use client";
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
export default function Page() {
  return (
    <SpecializedOpsPage
      title="تسهیم هزینه حقوق"
      description="تخصیص هزینه حقوق به مراکز هزینه/پروژه."
      module="payroll"
      docType="allocation"
      createLabel="تسهیم جدید"
      fields={[
        { key: "cost_center_code", label: "مرکز هزینه", kind: "text" },
        { key: "project_code", label: "پروژه", kind: "text", required: false },
        { key: "amount", label: "مبلغ تسهیم", kind: "money" },
        { key: "period_label", label: "دوره", kind: "text" },
    ]}
    />
  );
}
