mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 02:51:46 +00:00
Padronização de peso tipográfico em títulos, rótulos de seção, nomes de entidades e valores monetários em toda a interface. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
"use client";
|
|
|
|
import type { PaymentConditionsData } from "@/features/dashboard/payments/payment-conditions-queries";
|
|
import type { PaymentMethodsData } from "@/features/dashboard/payments/payment-methods-queries";
|
|
import { usePaymentOverviewWidgetController } from "@/features/dashboard/use-payment-overview-widget-controller";
|
|
import { PaymentOverviewWidgetView } from "./payment-overview/payment-overview-widget-view";
|
|
|
|
type PaymentOverviewWidgetProps = {
|
|
paymentConditionsData: PaymentConditionsData;
|
|
paymentMethodsData: PaymentMethodsData;
|
|
period: string;
|
|
adminPayerSlug: string | null;
|
|
};
|
|
|
|
export function PaymentOverviewWidget({
|
|
paymentConditionsData,
|
|
paymentMethodsData,
|
|
period,
|
|
adminPayerSlug,
|
|
}: PaymentOverviewWidgetProps) {
|
|
const { activeTab, handleTabChange } = usePaymentOverviewWidgetController();
|
|
|
|
return (
|
|
<PaymentOverviewWidgetView
|
|
activeTab={activeTab}
|
|
paymentConditionsData={paymentConditionsData}
|
|
paymentMethodsData={paymentMethodsData}
|
|
onTabChange={handleTabChange}
|
|
period={period}
|
|
adminPayerSlug={adminPayerSlug}
|
|
/>
|
|
);
|
|
}
|