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
1012 B
TypeScript
24 lines
1012 B
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="تعریف بودجه"
|
|
description="ثبت سرفصل بودجه سالانه با مبلغ مصوب (ذخیره عملیاتی تا موتور بودجه اختصاصی)."
|
|
module="budget"
|
|
docType="definition"
|
|
createLabel="بودجه جدید"
|
|
fields={[
|
|
{ key: "fiscal_year_label", label: "سال مالی", kind: "text" },
|
|
{ key: "budget_type", label: "نوع", kind: "select", options: [
|
|
{ value: "operating", label: "عملیاتی" },
|
|
{ value: "capital", label: "سرمایهای" },
|
|
{ value: "cash", label: "نقدی" },
|
|
]},
|
|
{ key: "amount", label: "مبلغ مصوب", kind: "money" },
|
|
{ key: "cost_center_code", label: "کد مرکز هزینه", kind: "text", required: false },
|
|
]}
|
|
/>
|
|
);
|
|
}
|