Release v1.2.11: Filterung von intern-Einträgen und verbesserte SQL-Abfrage
This commit is contained in:
@@ -14,7 +14,7 @@ Eine moderne Webanwendung zur Suche und Verwaltung von Kundendaten, die MEDISOFT
|
||||
|
||||
## Version
|
||||
|
||||
Aktuelle Version: v1.2.10
|
||||
Aktuelle Version: v1.2.9
|
||||
|
||||
## Installation
|
||||
|
||||
|
@@ -24,16 +24,6 @@
|
||||
<i class="fas fa-times reset-icon" onclick="clearInput('q')"></i>
|
||||
<i class="fas fa-search search-icon"></i>
|
||||
</div>
|
||||
<div class="search-options mt-2">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="searchOperator" id="searchOr" value="or" checked>
|
||||
<label class="form-check-label" for="searchOr">ODER</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="searchOperator" id="searchAnd" value="and">
|
||||
<label class="form-check-label" for="searchAnd">UND</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="search-fields">
|
||||
@@ -265,7 +255,7 @@
|
||||
<div class="d-flex justify-content-between align-items-start">
|
||||
<h5 class="card-title mb-1">${customer.name}</h5>
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<span class="badge ${customer.tag === 'medisoft' ? 'bg-primary' : 'bg-warning text-dark'}">${customer.tag.toUpperCase()}</span>
|
||||
<span class="badge ${(customer.tag || 'medisoft') === 'medisoft' ? 'bg-primary' : 'bg-warning text-dark'}">${(customer.tag || 'medisoft').toUpperCase()}</span>
|
||||
<button class="btn btn-sm btn-outline-primary" onclick="copyCustomerLink('${customer.nummer}')">
|
||||
<i class="fas fa-share-alt"></i> Teilen
|
||||
</button>
|
||||
@@ -304,7 +294,6 @@
|
||||
const nummer = document.getElementById('nummerInput').value;
|
||||
const plz = document.getElementById('plzInput').value;
|
||||
const fachrichtung = document.getElementById('fachrichtungInput').value;
|
||||
const searchOperator = document.querySelector('input[name="searchOperator"]:checked').value;
|
||||
const selectedTag = document.getElementById('tagFilter').value;
|
||||
|
||||
// Zeige das Lade-Icon
|
||||
@@ -318,7 +307,6 @@
|
||||
if (nummer) params.append('nummer', nummer);
|
||||
if (plz) params.append('plz', plz);
|
||||
if (fachrichtung) params.append('fachrichtung', fachrichtung);
|
||||
if (searchOperator) params.append('operator', searchOperator);
|
||||
if (selectedTag) params.append('tag', selectedTag);
|
||||
|
||||
// Führe die Suche durch
|
||||
|
Reference in New Issue
Block a user