feat/expenses-management #1

Merged
jselesan merged 5 commits from feat/expenses-management into main 2026-05-29 17:57:44 +00:00
46 changed files with 5295 additions and 6437 deletions
Showing only changes of commit e99e97aa14 - Show all commits

View File

@@ -84,6 +84,27 @@ export function ExpensesTable({ data, onPay, page, total, pageSize, onPageChange
);
},
},
{
header: "Fecha de pago",
accessorKey: "paymentDate",
cell: ({ row }) => {
const paymentDate = row.getValue("paymentDate");
if (!paymentDate) {
return <span className="text-muted-foreground">--</span>;
}
const date = new Date(paymentDate as string);
return (
<span className="text-muted-foreground">
{date.toLocaleDateString("es-AR", {
timeZone: "UTC",
day: "2-digit",
month: "2-digit",
year: "numeric",
})}
</span>
);
},
},
{
id: "actions",
cell: ({ row }) => {