TorbatYar/frontend/app/accounting/sales/opportunities/page.tsx
Mortezakoohjani 7953e47f8b Ship accounting UX: Rial integers, auto doc numbers, reverse-and-edit, real reports, customers nav.
Wire DocumentNumberSequence allocator, ledger-based subsidiary/detail reports, and posted-voucher reopen flow without mock ops forms.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 15:52:06 +03:30

26 lines
1.0 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"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: "از دسترفته" },
]},
]}
/>
);
}