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
1009 B
TypeScript
24 lines
1009 B
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="اسناد تکراری"
|
|
description="تعریف الگوی تکرار صدور سند (زمانبندی) — اجرا از لیست اسناد و Posting Engine."
|
|
module="vouchers"
|
|
docType="recurring"
|
|
createLabel="الگوی تکراری جدید"
|
|
fields={[
|
|
{ key: "frequency", label: "تناوب", kind: "select", options: [
|
|
{ value: "monthly", label: "ماهانه" },
|
|
{ value: "weekly", label: "هفتگی" },
|
|
{ value: "yearly", label: "سالانه" },
|
|
]},
|
|
{ key: "amount", label: "مبلغ مرجع", kind: "money" },
|
|
{ key: "next_run", label: "اجرای بعدی", kind: "date" },
|
|
{ key: "template_ref", label: "ارجاع الگوی سند", kind: "text", required: false },
|
|
]}
|
|
/>
|
|
);
|
|
}
|