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
1015 B
TypeScript
24 lines
1015 B
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="درگاه پرداخت"
|
|
description="پیکربندی درگاه پرداخت — endpoint و وضعیت اتصال در سرویس حسابداری ذخیره میشود."
|
|
module="integration"
|
|
docType="gateway"
|
|
createLabel="ثبت درگاه پرداخت"
|
|
fields={[
|
|
{ key: "provider", label: "ارائهدهنده", kind: "text" },
|
|
{ key: "endpoint", label: "آدرس / Endpoint", kind: "text" },
|
|
{ key: "status", label: "وضعیت", kind: "select", options: [
|
|
{ value: "active", label: "فعال" },
|
|
{ value: "inactive", label: "غیرفعال" },
|
|
{ value: "error", label: "خطا" },
|
|
]},
|
|
{ key: "amount", label: "سقف/حجم (اختیاری)", kind: "money", required: false },
|
|
]}
|
|
/>
|
|
);
|
|
}
|