Wire DocumentNumberSequence allocator, ledger-based subsidiary/detail reports, and posted-voucher reopen flow without mock ops forms. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
815 B
TypeScript
23 lines
815 B
TypeScript
"use client";
|
|
import { SpecializedOpsPage } from "@/components/accounting/SpecializedOpsPage";
|
|
export default function Page() {
|
|
return (
|
|
<SpecializedOpsPage
|
|
title="هشدارها"
|
|
description="هشدارها — ثبت آستانه/شاخص پایش."
|
|
module="monitoring"
|
|
docType="alert"
|
|
createLabel="ثبت هشدارها"
|
|
fields={[
|
|
{ key: "metric_name", label: "نام شاخص", kind: "text" },
|
|
{ key: "threshold", label: "آستانه", kind: "money" },
|
|
{ key: "severity", label: "اولویت", kind: "select", options: [
|
|
{ value: "info", label: "اطلاعات" },
|
|
{ value: "warning", label: "هشدار" },
|
|
{ value: "critical", label: "بحرانی" },
|
|
]},
|
|
]}
|
|
/>
|
|
);
|
|
}
|