Highlight Advance Payment in type dropdown with separator and color

Adds a visual separator line before Advance Payment in the adjustment
type dropdown and styles it with blue color and a triangle marker to
distinguish it from regular adjustment types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Konrad du Plessis 2026-02-19 23:47:07 +02:00
parent 51ff1d464b
commit d6d2d1a8c4

View File

@ -472,7 +472,12 @@
<label class="form-label">Type</label> <label class="form-label">Type</label>
<select name="type" class="form-select" required> <select name="type" class="form-select" required>
{% for code, label in adjustment_types %} {% for code, label in adjustment_types %}
{% if code == 'ADVANCE' %}
<option disabled>────────────────</option>
<option value="{{ code }}" style="color: #0d6efd; font-weight: bold;">&#9654; {{ label }}</option>
{% else %}
<option value="{{ code }}">{{ label }}</option> <option value="{{ code }}">{{ label }}</option>
{% endif %}
{% endfor %} {% endfor %}
</select> </select>
</div> </div>