Jul 10 - Update codes to catch up with the single tenant project
This commit is contained in:
@@ -82,6 +82,24 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% if current_user.role not in ['customer'] %}
|
||||
<div class="col-md-2">
|
||||
<label class="form-label small mb-1">Handled By</label>
|
||||
<select name="handler_type" class="form-select form-select-sm">
|
||||
<option value="">All</option>
|
||||
<option value="internal" {{ 'selected' if handler_type_filter == 'internal' }}>Janitorial Staff</option>
|
||||
<option value="facility" {{ 'selected' if handler_type_filter == 'facility' }}>Facility Staff</option>
|
||||
<option value="vendor" {{ 'selected' if handler_type_filter == 'vendor' }}>External Vendor</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2 d-flex align-items-end">
|
||||
<div class="form-check form-switch mb-0">
|
||||
<input class="form-check-input" type="checkbox" name="unassigned" value="1" id="unassignedCheck"
|
||||
{{ 'checked' if unassigned_filter }}>
|
||||
<label class="form-check-label small" for="unassignedCheck">Unassigned only</label>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="col-auto d-flex align-items-end gap-2 flex-wrap">
|
||||
<button type="submit" class="btn btn-sm btn-outline-primary">Filter</button>
|
||||
<a href="{{ url_for('issues.index') }}" class="btn btn-sm btn-outline-secondary">Clear</a>
|
||||
|
||||
Reference in New Issue
Block a user