Technician
This commit is contained in:
@@ -449,7 +449,7 @@ function renderInvoiceRow(invoice) {
|
||||
|
||||
// Erstellt einen kleinen runden Badge mit dem ersten Buchstaben, falls ein Worker gesetzt ist
|
||||
const workerBadge = invoice.worker
|
||||
? `<span title="Worker: ${invoice.worker}" class="ml-4 inline-flex items-center justify-center w-6 h-6 rounded-full bg-gray-200 text-gray-700 text-xs font-bold border border-gray-300 shrink-0 cursor-help">${invoice.worker.charAt(0).toUpperCase()}</span>`
|
||||
? `<span title="Technician: ${invoice.worker}" class="ml-4 inline-flex items-center justify-center w-6 h-6 rounded-full bg-gray-200 text-gray-700 text-xs font-bold border border-gray-300 shrink-0 cursor-help">${invoice.worker.charAt(0).toUpperCase()}</span>`
|
||||
: '';
|
||||
|
||||
return `
|
||||
@@ -584,7 +584,7 @@ export function injectToolbar() {
|
||||
</div>
|
||||
<div class="w-px h-8 bg-gray-300"></div>
|
||||
<div class="flex items-center gap-2">
|
||||
<label class="text-sm font-medium text-gray-700">Worker:</label>
|
||||
<label class="text-sm font-medium text-gray-700">Technician:</label>
|
||||
<select id="invoice-filter-worker" class="px-3 py-1.5 border border-gray-300 rounded-md text-sm bg-white">
|
||||
<option value="">All</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user