TorbatYar/frontend/app/accounting/integration/gateway/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

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 },
]}
/>
);
}