All checks were successful
Build and Test / build-and-test (push) Successful in 37s
Add a global, temporal ai_notes list appended to the classifier prompt (seeded once from no-PII defaults, documented in README), managed inline on a new AI tab with a read-only view of the assembled prompt. Every AI-run upload records the browser-round-tripped suggestion blob + model; misreads are derived (final field != AI guess) and reviewed one by one (image + per-field guess-vs-entered + notes-since), attributing which note fixed each or closing unresolved. Update SPEC (new section 10), DESIGN item 15, README, and changelog (0.0.3). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
{{define "title"}}{{.Title}}{{end}}
|
|
{{define "content"}}
|
|
<header>
|
|
<span><a href="/">← Add receipt</a></span>
|
|
<span><a href="/tally">Tally</a> · <a href="/ai">AI</a> · <a href="/manage">Manage</a> · <a href="/export">Export</a></span>
|
|
</header>
|
|
<h1>{{.Title}}</h1>
|
|
<p class="tabs">
|
|
<a href="/recent"{{if eq .BasePath "/recent"}} class="active"{{end}}>By upload date</a> ·
|
|
<a href="/recent/receipts"{{if eq .BasePath "/recent/receipts"}} class="active"{{end}}>By receipt date</a>
|
|
</p>
|
|
{{if not .Rows}}
|
|
<p><small>No receipts to show.</small></p>
|
|
{{else}}
|
|
<ul class="recent">
|
|
{{range .Rows}}
|
|
<li>
|
|
<a class="amt" href="/receipt/{{.ID}}/file" target="_blank">${{.Amount}}</a>
|
|
<span class="meta">{{.Date}} · {{.Category}}{{if .Who}} · {{.Who}}{{end}}</span>
|
|
{{if .Attachments}}<span class="atts">{{range .Attachments}}<a href="/attachment/{{.ID}}/file" target="_blank" title="{{.Filename}}">📎</a>{{end}}</span>{{end}}
|
|
{{if .Tags}}<span class="tags">{{range .Tags}}<span class="tag">{{.}}</span>{{end}}</span>{{end}}
|
|
<span class="when">{{.When}}</span>
|
|
</li>
|
|
{{end}}
|
|
</ul>
|
|
<p class="pager">
|
|
{{if .PrevURL}}<a href="{{.PrevURL}}">← Newer</a>{{end}}
|
|
{{if and .PrevURL .NextURL}} · {{end}}
|
|
{{if .NextURL}}<a href="{{.NextURL}}">Load next 10 →</a>{{end}}
|
|
</p>
|
|
{{end}}
|
|
{{end}}
|