From b1ba52a360337d1c10a3e614cda47d730c4d13ff Mon Sep 17 00:00:00 2001 From: Mark Gregory Date: Tue, 7 Jul 2026 17:32:43 +0100 Subject: [PATCH] Major updates --- .../Company/Resources/views/_form.blade.php | 2 +- .../views/partials/address-form.blade.php | 16 +- resources/css/wms-select2.css | 50 +++--- resources/js/app.js | 167 ++++++++++++------ 4 files changed, 149 insertions(+), 86 deletions(-) diff --git a/Modules/Company/Resources/views/_form.blade.php b/Modules/Company/Resources/views/_form.blade.php index 6204e7a8..c80ec9f9 100644 --- a/Modules/Company/Resources/views/_form.blade.php +++ b/Modules/Company/Resources/views/_form.blade.php @@ -58,7 +58,7 @@ > @foreach ($countries as $country) - @endforeach diff --git a/Modules/Company/Resources/views/partials/address-form.blade.php b/Modules/Company/Resources/views/partials/address-form.blade.php index 665dab4b..63ce7586 100644 --- a/Modules/Company/Resources/views/partials/address-form.blade.php +++ b/Modules/Company/Resources/views/partials/address-form.blade.php @@ -1,6 +1,7 @@ @php $address = $address ?? null; $inputClass = 'mt-2 h-12 w-full rounded-xl border-zinc-300 bg-white px-4 text-sm text-zinc-900 shadow-sm outline-none transition focus:border-blue-500 focus:ring-2 focus:ring-blue-500/30 dark:border-zinc-700 dark:bg-zinc-950 dark:text-white'; + $countryFieldId = 'address_country_id_' . md5(($defaultLabel ?? 'address') . '_' . ($address?->id ?? 'new')); @endphp
@@ -45,18 +46,25 @@
- + +