From abe1f44fb487278e347bc0bcc4452b6a93248ffa Mon Sep 17 00:00:00 2001 From: Manish Date: Thu, 20 Nov 2025 12:00:28 +0530 Subject: [PATCH] unwanted code removed --- lib/view/finance/advance_payment_screen.dart | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/lib/view/finance/advance_payment_screen.dart b/lib/view/finance/advance_payment_screen.dart index abff416..4a59de8 100644 --- a/lib/view/finance/advance_payment_screen.dart +++ b/lib/view/finance/advance_payment_screen.dart @@ -413,9 +413,7 @@ class _AdvancePaymentScreenState extends State ? DateFormat('dd MMM yyyy').format(parsedDate) : (dateStr.isNotEmpty ? dateStr : '—'); - // final formattedTime = - // parsedDate != null ? DateFormat('hh:mm a').format(parsedDate) : ''; - + final project = item.name ?? ''; final desc = item.title ?? ''; final amount = (item.amount ?? 0).toDouble(); @@ -445,16 +443,7 @@ class _AdvancePaymentScreenState extends State style: TextStyle(fontSize: 12, color: Colors.grey.shade600), ), - // if (formattedTime.isNotEmpty) ...[ - // const SizedBox(width: 6), - // Text( - // formattedTime, - // style: TextStyle( - // fontSize: 12, - // color: Colors.grey.shade500, - // fontStyle: FontStyle.italic), - // ), - // ] + ], ), const SizedBox(height: 4),