TorbatYar/frontend/app/accounting/monitoring/alerts/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

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: "بحرانی" },
]},
]}
/>
);
}