From 5f3e3c94f02ae1bcfadf2b2fd1872d73d3883922 Mon Sep 17 00:00:00 2001 From: Vusumuzi Khoza Date: Mon, 8 Dec 2025 14:21:28 +0200 Subject: [PATCH] adding bill product to receipt --- lib/screens/receipt/receipt_screen.dart | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/lib/screens/receipt/receipt_screen.dart b/lib/screens/receipt/receipt_screen.dart index 6b303a5..7468c89 100644 --- a/lib/screens/receipt/receipt_screen.dart +++ b/lib/screens/receipt/receipt_screen.dart @@ -906,6 +906,45 @@ class _ReceiptScreenState extends State const SizedBox( height: 10, ), + if(receiptController + .model + .receiptData?["billProductName"] != null) + Skeletonizer( + enabled: + receiptController + .model + .isLoading, + child: Row( + mainAxisAlignment: + MainAxisAlignment + .spaceBetween, + children: [ + Text( + "Bill Product", + style: TextStyle( + fontSize: 16, + fontWeight: + FontWeight + .bold, + ), + ), + Text( + receiptController + .model + .receiptData?["billProductName"] ?? + "", + style: + TextStyle( + fontSize: + 16, + ), + ), + ], + ), + ), + const SizedBox( + height: 10, + ), Divider( color: Colors.grey[300],