Browse Source

chore: testing different icons for invoice buttons

document-upload-removal-layout-update
nic 11 months ago
parent
commit
c908210abe
  1. 10
      templates/partials/invoice_search_results.html

10
templates/partials/invoice_search_results.html

@ -42,12 +42,12 @@
<button hx-put="{{.Action}}" hx-confirm="{{.ConfirmText}}" hx-target="#invoice-search-results" <button hx-put="{{.Action}}" hx-confirm="{{.ConfirmText}}" hx-target="#invoice-search-results"
class="compact-button {{.Class}}" title="{{.Label}}" data-status="{{.Status}}"> class="compact-button {{.Class}}" title="{{.Label}}" data-status="{{.Status}}">
<span class="icon"> <span class="icon">
{{if eq .Status "draft"}}📝 {{if eq .Status "draft"}}✏️
{{else if eq .Status "ok"}} {{else if eq .Status "ok"}}✔️
{{else if eq .Status "failed"}}❌ {{else if eq .Status "failed"}}❌
{{else if eq .Status "pending_accounting"}} {{else if eq .Status "pending_accounting"}}🧾
{{else if eq .Status "processed"}}📊 {{else if eq .Status "processed"}}💰
{{else if eq .Status "void"}}🚫 {{else if eq .Status "void"}} 🛑
{{end}} {{end}}
</span> </span>
</button> </button>

Loading…
Cancel
Save