| Uploaded | +File Name | +Receipt Info | +Mapped Transaction | +Actions | +
|---|---|---|---|---|
| @r.UploadedAtUtc.ToLocalTime().ToString("yyyy-MM-dd HH:mm") | +
+
+ @if (r.ContentType.StartsWith("image/"))
+ {
+ 🖼️
+ }
+ else if (r.ContentType == "application/pdf")
+ {
+ 📄
+ }
+ @r.FileName
+ (@(r.FileSizeBytes / 1024) KB)
+
+ |
+
+ @if (!string.IsNullOrWhiteSpace(r.Merchant) || r.ReceiptDate.HasValue || r.Total.HasValue)
+ {
+
+ @if (!string.IsNullOrWhiteSpace(r.Merchant))
+ {
+
+ }
+ else
+ {
+ Not parsed
+ }
+ @r.Merchant
+ }
+ @if (r.ReceiptDate.HasValue)
+ {
+ @r.ReceiptDate.Value.ToString("yyyy-MM-dd")
+ }
+ @if (r.Total.HasValue)
+ {
+ @r.Total.Value.ToString("C")
+ }
+ |
+
+ @if (r.TransactionId.HasValue)
+ {
+ Mapped
+
+
+ }
+ else
+ {
+ Unmapped
+ }
+ @r.TransactionName
+
+ @r.TransactionDate?.ToString("yyyy-MM-dd") - @r.TransactionAmount?.ToString("C")
+
+ |
+
+
+
+ View
+
+ @if (!r.TransactionId.HasValue)
+ {
+
+ }
+
+
+ |
+