Technician
This commit is contained in:
@@ -473,7 +473,7 @@
|
||||
placeholder="P.O. Number, Authorization Code, etc.">
|
||||
</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"
|
||||
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>
|
||||
|
||||
@@ -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