Spaltennamen an CSV-Datei angepasst
This commit is contained in:
@@ -336,13 +336,20 @@
|
||||
card.className = 'card result-card';
|
||||
card.innerHTML = `
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
${customer.Vorname} ${customer.Nachname}
|
||||
<span class="customer-number ms-2">(Kunde: ${createCustomerLink(customer.Nummer)})</span>
|
||||
</h5>
|
||||
<h5 class="card-title">${customer.Vorname} ${customer.Nachname}</h5>
|
||||
<p class="card-text">
|
||||
<strong>Kundennummer:</strong> ${customer.Nummer}<br>
|
||||
<strong>Fachrichtung:</strong> ${customer.Fachrichtung || 'N/A'}<br>
|
||||
<strong>Adresse:</strong> ${createAddressLink(customer.Strasse, customer.PLZ, customer.Ort)}<br>
|
||||
<strong>Adresse:</strong> ${createAddressLink(customer.Strasse, customer.PLZ, customer.Ort)}
|
||||
${customer.weather ? `
|
||||
<span class="weather-info">
|
||||
<img src="http://openweathermap.org/img/wn/${customer.weather.icon}@2x.png"
|
||||
alt="${customer.weather.description}"
|
||||
title="${customer.weather.description}">
|
||||
${customer.weather.temperature}°C
|
||||
</span>
|
||||
` : ''}
|
||||
<br>
|
||||
<strong>Telefon:</strong> ${createPhoneLink(customer.Tel)}<br>
|
||||
<strong>E-Mail:</strong> ${createEmailLink(customer.mail)}
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user