feat(finance): refina fluxos de transacoes e pagadores

This commit is contained in:
Felipe Coutinho
2026-03-09 17:13:44 +00:00
parent 69da27276c
commit ada1377640
58 changed files with 1288 additions and 1559 deletions

View File

@@ -7,6 +7,7 @@ import { toast } from "sonner";
import { deletePagadorShareAction } from "@/app/(dashboard)/pagadores/actions";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { formatDateTime } from "@/lib/utils/date";
interface PagadorLeaveShareCardProps {
shareId: string;
@@ -37,11 +38,12 @@ export function PagadorLeaveShareCard({
});
};
const formattedDate = new Date(createdAt).toLocaleDateString("pt-BR", {
day: "2-digit",
month: "long",
year: "numeric",
});
const formattedDate =
formatDateTime(createdAt, {
day: "2-digit",
month: "long",
year: "numeric",
}) ?? "—";
return (
<Card className="border">