"use client";
import { SpecializedOpsPage } from "@/src/modules/accounting/components/SpecializedOpsPage";
export function PayrollAllocationPage() {
  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" },
    ]}
    />
  );
}
