diff --git a/client/components/tracker/PaymentProgress.jsx b/client/components/tracker/PaymentProgress.jsx index 3620078..07f9e7a 100644 --- a/client/components/tracker/PaymentProgress.jsx +++ b/client/components/tracker/PaymentProgress.jsx @@ -1,7 +1,7 @@ import { cn, fmt } from '@/lib/utils'; import { paymentSummary } from '@/lib/trackerUtils'; -export function PaymentProgress({ row, threshold, onOpen, onMarkFullAmount, compact = false }) { +export function PaymentProgress({ row, threshold, onOpen, onMarkFullAmount, compact = false, className }) { const summary = paymentSummary(row, threshold); const barTone = summary.remaining === 0 ? 'bg-emerald-500' @@ -19,7 +19,7 @@ export function PaymentProgress({ row, threshold, onOpen, onMarkFullAmount, comp const showQuickFix = onMarkFullAmount && summary.partial && summary.paid > 0; return ( -
+
{row.category_name && ( -

{row.category_name}

+

{row.category_name}

)} {/* Monthly notes shown inline under the bill name */} {row.monthly_notes && ( @@ -555,10 +555,11 @@ export function TrackerRow({ row, year, month, refresh, index, onEditBill, moveC {/* Amount paid — mismatch now compares against threshold */} - + setPaymentLedgerOpen(true)} onMarkFullAmount={!isSkipped ? handleMarkFullAmount : undefined} /> @@ -579,7 +580,7 @@ export function TrackerRow({ row, year, month, refresh, index, onEditBill, moveC {/* Status — uses effectiveStatus (accounts for skipped + threshold) */} -
+
{/* Actions */} - -
+ +
{showUpdateNudge ? (
Update default?