TorbatYar/frontend/app/accounting/treasury/facilities/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

26 lines
1.1 KiB
TypeScript

"use client";
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
export default function Page() {
return (
<SpecializedOpsPage
title="تسهیلات و اعتبارات"
description="ثبت تسهیلات بانکی، نرخ و سررسید — داده واقعی در /ops."
module="treasury"
docType="facility"
createLabel="تسهیل جدید"
fields={[
{ key: "party", label: "بانک / طرف حساب", kind: "party" },
{ key: "facility_type", label: "نوع", kind: "select", options: [
{ value: "loan", label: "وام" },
{ value: "credit_line", label: "خط اعتباری" },
{ value: "lc", label: "اعتبار اسنادی" },
]},
{ key: "amount", label: "مبلغ اصل", kind: "money" },
{ key: "interest_rate", label: "نرخ سود (%)", kind: "text" },
{ key: "start_date", label: "شروع", kind: "date" },
{ key: "end_date", label: "پایان", kind: "date" },
]}
/>
);
}