Technician

This commit is contained in:
2026-05-26 13:55:27 -05:00
parent 1885224a5a
commit f062bd8168
8 changed files with 216 additions and 23 deletions

View File

@@ -167,6 +167,23 @@
</button>
<div id="upload-status" class="mt-4"></div>
<hr class="my-8 border-gray-200">
<h3 class="text-xl font-semibold mb-4 text-gray-800">Invoice Workers</h3>
<p class="text-gray-600 mb-4">
Comma-separated list of workers available in the invoice "Worker" dropdown.
Example: <code class="bg-gray-100 px-1 rounded">Wallie, Elvin, Andreas</code>
</p>
<div class="mb-4">
<input type="text" id="workers-input"
class="w-full max-w-lg px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"
placeholder="Wallie, Elvin, Andreas">
</div>
<button onclick="saveWorkerSettings()"
class="bg-green-600 hover:bg-green-700 text-white px-6 py-2 rounded-lg">
Save Worker List
</button>
<div id="workers-status" class="mt-4"></div>
<hr class="my-8 border-gray-200">
@@ -448,11 +465,20 @@
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Authorization (optional)</label>
<input type="text" id="invoice-authorization"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"
placeholder="P.O. Number, Authorization Code, etc.">
<div class="grid grid-cols-3 gap-4">
<div class="col-span-2">
<label class="block text-sm font-medium text-gray-700 mb-1">Authorization (optional)</label>
<input type="text" id="invoice-authorization"
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-blue-500 focus:border-blue-500"
placeholder="P.O. Number, Authorization Code, etc.">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Worker</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>
</select>
</div>
</div>
<div>