TorbatYar/frontend/app/accounting/documents/search/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

20 lines
832 B
TypeScript

"use client";
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
export default function Page() {
return (
<SpecializedOpsPage
title="جستجوی اسناد"
description="جستجوی اسناد — فهرست و ثبت متادیتای سند (تا اتصال مخزن فایل اختصاصی)."
module="documents"
docType="search"
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 },
]}
/>
);
}