|
|
@ -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> |
|
|
|