From a52ab6e20d28ff89d32025faaceb38f14b28ac3a Mon Sep 17 00:00:00 2001 From: James Date: Tue, 10 Feb 2026 04:06:59 -0500 Subject: [PATCH] Document details: two-column layout (category/vendor/amount | date/processed/filename) --- templates/document.html | 92 ++++++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 43 deletions(-) diff --git a/templates/document.html b/templates/document.html index c3676a3..86549ce 100644 --- a/templates/document.html +++ b/templates/document.html @@ -58,49 +58,55 @@

Details

-
-
-
Category
-
- -
-
- {{if .Document.Date}} -
-
Date
-
{{formatDate .Document.Date}}
-
- {{end}} - {{if .Document.Amount}} -
-
Amount
-
{{.Document.Amount}}
-
- {{end}} - {{if .Document.Vendor}} -
-
Vendor
-
{{.Document.Vendor}}
-
- {{end}} - {{if .Document.ProcessedAt}} -
-
Processed
-
{{formatDateTime .Document.ProcessedAt}}
-
- {{end}} - {{if .Document.OriginalFile}} -
-
Original File
-
{{.Document.OriginalFile}}
-
- {{end}} -
+
+ +
+
+
Category
+
+ +
+
+ {{if .Document.Vendor}} +
+
Vendor
+
{{.Document.Vendor}}
+
+ {{end}} + {{if .Document.Amount}} +
+
Amount
+
{{.Document.Amount}}
+
+ {{end}} +
+ +
+ {{if .Document.Date}} +
+
Date
+
{{formatDate .Document.Date}}
+
+ {{end}} + {{if .Document.ProcessedAt}} +
+
Processed
+
{{formatDateTime .Document.ProcessedAt}}
+
+ {{end}} + {{if .Document.OriginalFile}} +
+
Original File
+
{{.Document.OriginalFile}}
+
+ {{end}} +
+