changed to show this month's orders by default

This commit is contained in:
bronku 2025-04-05 12:08:46 +02:00
parent 939665ea02
commit d95d8b996e
2 changed files with 22 additions and 9 deletions

View file

@ -9,10 +9,10 @@ Orders
<input type="search" name="q" placeholder="Search orders...">
</label>
<label for="from">form</label>
<input type="date" value="{{.Today}}" id="from" name="from">
<label for="from">from</label>
<input type="date" value="{{.First}}" id="from" name="from">
<label for="from">to</label>
<label for="to"></label><input type="date" value="{{.Today}}" id="to" name="to">
<label for="to"></label><input type="date" value="{{.Last}}" id="to" name="to">
<div class="htmx-indicator">
Searching...
@ -48,6 +48,6 @@ Orders
<th>{{.Status}}</th>
<th>{{.Total}}</th>
</tr>
{{end}}</table>
{{end}}
</table>
{{end}}