From bb439e534de957089648b75746a85b7d1b3780b1 Mon Sep 17 00:00:00 2001 From: Esha Jha <149310101+Eshajha19@users.noreply.github.com> Date: Fri, 6 Mar 2026 09:21:31 +0000 Subject: [PATCH 1/3] created receipt scanner page --- public/index.html | 1 + public/receipt.css | 474 ++++++++++++++++++++++++++++++++++++++++++++ public/receipt.html | 103 ++++++++++ public/receipt.js | 254 ++++++++++++++++++++++++ 4 files changed, 832 insertions(+) create mode 100644 public/receipt.css create mode 100644 public/receipt.html create mode 100644 public/receipt.js diff --git a/public/index.html b/public/index.html index ccb4bd6e..f1a5dddd 100644 --- a/public/index.html +++ b/public/index.html @@ -496,6 +496,7 @@ Analytics Goals Net Worth + Receipt
Upload a receipt and ExpenseFlow will detect your expense automatically
+ +Drag receipt or upload image
+ +๐ฐ Amount: -
+๐ Date: -
+๐ท Category: -
+ + + +No scan yet+
No saved expenses
"; +return; + +} + +receipts.reverse().forEach(r => { + +const card = document.createElement("div"); + +card.className = "receipt-card"; + +card.innerHTML = ` + +๐ท ${r.category}
+ +๐ ${r.date}
+ +${r.ocr}
+© 2026 ExpenseFlow. All rights reserved.
© 2026 ExpenseFlow. All rights reserved.
+ +