an updated and hopefully faster version of the ST Toolbox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
697 B

{{define "invoice_search"}}
<h2>Update Invoice Status</h2>
<div class="content">
<h3 class="submenu-header">Search Invoice</h3>
<div id="search-container">
<input class="card-input" type="text" name="search" placeholder="Enter invoice number or id" hx-get="/invoices"
hx-trigger="keyup changed delay:500ms" hx-target="#invoice-search-results" hx-indicator="#loading-indicator" />
<div id="loading-indicator" class="htmx-indicator">
<span>Searching...</span>
<div class="loading-indicator"></div>
</div>
</div>
<br />
<div id="invoice-search-results" class="fade-me-out">
<!-- This is where the invoice details will be loaded -->
</div>
</div>
{{end}}