Wire DocumentNumberSequence allocator, ledger-based subsidiary/detail reports, and posted-voucher reopen flow without mock ops forms. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
1.0 KiB
XML
26 lines
1.0 KiB
XML
"use client";
|
||
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
||
export default function Page() {
|
||
return (
|
||
<SpecializedOpsPage
|
||
title="فرصتهای فروش"
|
||
description="ثبت فرصت فروش با احتمال و مبلغ برآوردی."
|
||
module="sales"
|
||
docType="opportunity"
|
||
createLabel="فرصت جدید"
|
||
fields={[
|
||
{ key: "party", label: "مشتری بالقوه", kind: "party", module: "sales" },
|
||
{ key: "amount", label: "مبلغ برآوردی", kind: "money" },
|
||
{ key: "probability", label: "احتمال (%)", kind: "text" },
|
||
{ key: "stage", label: "مرحله", kind: "select", options: [
|
||
{ value: "lead", label: "سرنخ" },
|
||
{ value: "qualified", label: "واجد شرایط" },
|
||
{ value: "proposal", label: "پیشنهاد" },
|
||
{ value: "won", label: "برنده" },
|
||
{ value: "lost", label: "از دسترفته" },
|
||
]},
|
||
]}
|
||
/>
|
||
);
|
||
}
|