"use client";
import { SpecializedOpsPage } from "@/src/modules/accounting/components/SpecializedOpsPage";
export function InventoryMovementsPage() {
  return (
    <SpecializedOpsPage
      title="گردش کالا"
      description="ثبت گردش موجودی با مرجع انبار و مبلغ ارزش."
      module="inventory"
      docType="movement"
      createLabel="گردش جدید"
      fields={[
        { key: "warehouse_code", label: "کد انبار", kind: "text" },
        { key: "movement_type", label: "نوع گردش", kind: "select", options: [
          { value: "in", label: "ورود" },
          { value: "out", label: "خروج" },
          { value: "transfer", label: "انتقال" },
        ]},
        { key: "amount", label: "ارزش", kind: "money" },
        { key: "qty", label: "تعداد", kind: "text" },
      ]}
    />
  );
}
