Wire DocumentNumberSequence allocator, ledger-based subsidiary/detail reports, and posted-voucher reopen flow without mock ops forms. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
908 B
TypeScript
24 lines
908 B
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="پیشدریافتها"
|
|
description="ثبت پیشدریافت از مشتریان با مبلغ و سررسید."
|
|
module="sales"
|
|
docType="pre_receipt"
|
|
createLabel="پیشدریافت جدید"
|
|
fields={[
|
|
{ key: "party", label: "مشتری", kind: "party", module: "sales" },
|
|
{ key: "amount", label: "مبلغ", kind: "money" },
|
|
{ key: "due_date", label: "سررسید", kind: "date" },
|
|
{ key: "method", label: "روش دریافت", kind: "select", options: [
|
|
{ value: "cash", label: "نقد" },
|
|
{ value: "bank", label: "بانک" },
|
|
{ value: "cheque", label: "چک" },
|
|
]},
|
|
]}
|
|
/>
|
|
);
|
|
}
|