Files
ExpSplitter/src/assets/htmx/expenses.html
T
2025-07-21 22:43:07 +01:00

23 lines
703 B
HTML

<table>
<tr>
<th>ID</th>
<th>Desc</th>
<th>Price</th>
<th>Date</th>
<!-- <th>Store</th> -->
<th>Category</th>
<!-- <th>Owner</th> -->
</tr>
{{ range .expenses }}
<tr>
<th><a href="/expenses/{{ .ExpID }}">{{ .ExpID }}</th>
<th spellcheck="false" contenteditable>{{ .Description }}</th>
<th spellcheck="false" contenteditable>{{ formatPrice .Value }}</th>
<th spellcheck="false" contenteditable>{{ formatDate .ExpDate }}</th>
<!-- <th spellcheck="false">{{ .ExpStore.StoreName }}</th> -->
<th spellcheck="false">{{ .ExpCategory.CategoryName }}</th>
<!-- <th spellcheck="false">{{ .OwnerUser.UserName }}</th> -->
</tr>
{{ end }}
</table>