Wire DocumentNumberSequence allocator, ledger-based subsidiary/detail reports, and posted-voucher reopen flow without mock ops forms. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
1.2 KiB
TypeScript
26 lines
1.2 KiB
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="ضمانتها"
|
|
description="ثبت ضمانتنامههای بانکی/حسن انجام کار با سررسید و مبلغ — ذخیره واقعی در سرویس حسابداری."
|
|
module="treasury"
|
|
docType="guarantee"
|
|
createLabel="ضمانت جدید"
|
|
fields={[
|
|
{ key: "party", label: "ذینفع / طرف حساب", kind: "party", module: "purchase" },
|
|
{ key: "guarantee_type", label: "نوع ضمانت", kind: "select", options: [
|
|
{ value: "performance", label: "حسن انجام کار" },
|
|
{ value: "advance", label: "پیشپرداخت" },
|
|
{ value: "bid", label: "شرکت در مناقصه" },
|
|
]},
|
|
{ key: "amount", label: "مبلغ", kind: "money" },
|
|
{ key: "bank_name", label: "بانک صادرکننده", kind: "text" },
|
|
{ key: "issue_date", label: "تاریخ صدور", kind: "date" },
|
|
{ key: "due_date", label: "سررسید", kind: "date" },
|
|
]}
|
|
/>
|
|
);
|
|
}
|