Wire DocumentNumberSequence allocator, ledger-based subsidiary/detail reports, and posted-voucher reopen flow without mock ops forms. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
819 B
TypeScript
20 lines
819 B
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="اسناد فروش"
|
|
description="اسناد فروش — فهرست و ثبت متادیتای سند (تا اتصال مخزن فایل اختصاصی)."
|
|
module="documents"
|
|
docType="sales"
|
|
createLabel="ثبت در اسناد فروش"
|
|
fields={[
|
|
{ key: "party", label: "طرف مرتبط", kind: "party" },
|
|
{ key: "doc_category", label: "دسته", kind: "text" },
|
|
{ key: "amount", label: "مبلغ مرتبط", kind: "money", required: false },
|
|
{ key: "retention_days", label: "روز نگهداری", kind: "text", required: false },
|
|
]}
|
|
/>
|
|
);
|
|
}
|