Add payment module, BFF proxy, hub/dashboard/ops/PSP/merchant screens wired to real APIs, and mark payment-frontend complete in project status. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
809 B
TypeScript
25 lines
809 B
TypeScript
"use client";
|
|
|
|
import { PaymentListPage } from "@/modules/payment/components/PaymentListPage";
|
|
import { paymentApi } from "@/modules/payment/services/payment-api";
|
|
|
|
export const PaymentAudit = function PaymentAuditPage() {
|
|
return (
|
|
<PaymentListPage
|
|
title="حسابرسی"
|
|
description="لاگ تغییرات domain در سرویس پرداخت."
|
|
resourceKey="audit"
|
|
fetcher={(tenantId) => paymentApi.audit.list(tenantId)}
|
|
filterKey="entity_type"
|
|
columns={[
|
|
{ key: "action", header: "عمل" },
|
|
{ key: "entity_type", header: "نوع موجودیت" },
|
|
{ key: "entity_id", header: "شناسه" },
|
|
{ key: "created_at", header: "تاریخ", type: "datetime" },
|
|
]}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default PaymentAudit;
|