From 8a6eb74ebba3d6364ba4e8d7ee6296c950ca6425 Mon Sep 17 00:00:00 2001 From: Mark Gregory Date: Mon, 15 Jun 2026 09:35:08 +0100 Subject: [PATCH] added countries support expanded for ISO 3166 standard --- Modules/Countries/Rules/ValidCountryCode.php | 18 ---- Modules/Countries/changelog.yaml | 8 ++ Modules/Countries/module.json | 2 +- .../resources/views/dashboard/index.blade.php | 84 ------------------- 4 files changed, 9 insertions(+), 103 deletions(-) delete mode 100644 Modules/Countries/Rules/ValidCountryCode.php diff --git a/Modules/Countries/Rules/ValidCountryCode.php b/Modules/Countries/Rules/ValidCountryCode.php deleted file mode 100644 index 64e99321..00000000 --- a/Modules/Countries/Rules/ValidCountryCode.php +++ /dev/null @@ -1,18 +0,0 @@ -activeOnly, 'alpha2'))->validate($attribute, $value, $fail); - } -} diff --git a/Modules/Countries/changelog.yaml b/Modules/Countries/changelog.yaml index 481e4cbf..af16b915 100644 --- a/Modules/Countries/changelog.yaml +++ b/Modules/Countries/changelog.yaml @@ -1,4 +1,12 @@ versions: + - version: 1.3.0 + date: 2026-06-15 + changes: + - Exposed all ISO 3166 country parameters in create and edit CRUD forms. + - Added create, store and destroy actions for platform country administration. + - Added professional WMS-styled form layout with red required-field indicators. + - Added editable metadata JSON, source tracking, sync timestamp and operational support flags. + - Updated country index and show views to display full ISO and operational metadata. - version: 1.2.0 date: 2026-06-15 changes: diff --git a/Modules/Countries/module.json b/Modules/Countries/module.json index 28c6f603..5a5086ff 100644 --- a/Modules/Countries/module.json +++ b/Modules/Countries/module.json @@ -1,7 +1,7 @@ { "name": "Countries", "alias": "countries", - "version": "1.2.0", + "version": "1.3.0", "description": "ISO 3166 country reference module with active-country support for WMS and SaaS workflows.", "keywords": [ "countries", diff --git a/Modules/Platform/resources/views/dashboard/index.blade.php b/Modules/Platform/resources/views/dashboard/index.blade.php index 20425a45..587ddd23 100644 --- a/Modules/Platform/resources/views/dashboard/index.blade.php +++ b/Modules/Platform/resources/views/dashboard/index.blade.php @@ -11,15 +11,6 @@ ]" /> -
- @foreach ([['Companies', $companiesCount], ['Active', $activeCompaniesCount], ['Warehouses', $warehousesCount], ['Prices', $pricesCount], ['Licences', $licensesCount]] as [$label, $value]) -
-

{{ $label }}

-

{{ $value }}

-
- @endforeach -
-
@@ -88,81 +79,6 @@
-
-
-
-

Pricing

- -

- Pricing plans -

- -

- Current platform pricing tiers and administration shortcuts. -

-
- - -
- -
- @foreach ($prices as $price) -
-
-
-

- {{ $price->name }} -

- -

- {{ $price->strapline }} -

-
- - @if ($price->badge_label) - - {{ $price->badge_label }} - - @endif -
- -

- £{{ number_format($price->monthly_amount / 100, 0) }} - / month -

- - @if (! empty($price->features)) -
    - @foreach (array_slice($price->features, 0, 3) as $feature) -
  • - - {{ $feature }} -
  • - @endforeach -
- @endif -
- @endforeach -
-