Technician

This commit is contained in:
2026-05-26 14:20:48 -05:00
parent 129e8683ea
commit 7de57cb35e
2 changed files with 3 additions and 3 deletions

View File

@@ -473,7 +473,7 @@
placeholder="P.O. Number, Authorization Code, etc."> placeholder="P.O. Number, Authorization Code, etc.">
</div> </div>
<div> <div>
<label class="block text-sm font-medium text-gray-700 mb-1">Worker</label> <label class="block text-sm font-medium text-gray-700 mb-1">Technician</label>
<select id="invoice-worker" <select id="invoice-worker"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"> class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500">
<option value="">— None —</option> <option value="">— None —</option>

View File

@@ -449,7 +449,7 @@ function renderInvoiceRow(invoice) {
// Erstellt einen kleinen runden Badge mit dem ersten Buchstaben, falls ein Worker gesetzt ist // Erstellt einen kleinen runden Badge mit dem ersten Buchstaben, falls ein Worker gesetzt ist
const workerBadge = invoice.worker 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 ` return `
@@ -584,7 +584,7 @@ export function injectToolbar() {
</div> </div>
<div class="w-px h-8 bg-gray-300"></div> <div class="w-px h-8 bg-gray-300"></div>
<div class="flex items-center gap-2"> <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"> <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> <option value="">All</option>
</select> </select>