Wire DocumentNumberSequence allocator, ledger-based subsidiary/detail reports, and posted-voucher reopen flow without mock ops forms. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
882 B
TypeScript
24 lines
882 B
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="گردش کالا"
|
|
description="ثبت گردش موجودی با مرجع انبار و مبلغ ارزش."
|
|
module="inventory"
|
|
docType="movement"
|
|
createLabel="گردش جدید"
|
|
fields={[
|
|
{ key: "warehouse_code", label: "کد انبار", kind: "text" },
|
|
{ key: "movement_type", label: "نوع گردش", kind: "select", options: [
|
|
{ value: "in", label: "ورود" },
|
|
{ value: "out", label: "خروج" },
|
|
{ value: "transfer", label: "انتقال" },
|
|
]},
|
|
{ key: "amount", label: "ارزش", kind: "money" },
|
|
{ key: "qty", label: "تعداد", kind: "text" },
|
|
]}
|
|
/>
|
|
);
|
|
}
|