TorbatYar/frontend/app/accounting/purchase/prepayments/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
909 B
TypeScript

"use client";
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
export default function Page() {
return (
<SpecializedOpsPage
title="پیش‌پرداخت‌ها"
description="ثبت پیش‌پرداخت به تأمین‌کنندگان."
module="purchase"
docType="prepayment"
createLabel="پیش‌پرداخت جدید"
fields={[
{ key: "party", label: "تأمین‌کننده", kind: "party", module: "purchase" },
{ key: "amount", label: "مبلغ", kind: "money" },
{ key: "due_date", label: "سررسید", kind: "date" },
{ key: "method", label: "روش پرداخت", kind: "select", options: [
{ value: "cash", label: "نقد" },
{ value: "bank", label: "بانک" },
{ value: "cheque", label: "چک" },
]},
]}
/>
);
}