From a0834c511ed9f0f82d7e11a2f651449b5d47182a Mon Sep 17 00:00:00 2001 From: Masroor Ehsan Date: Wed, 29 Jan 2025 18:12:45 +0600 Subject: [PATCH] country hints --- app/DataTables/WorklistDataTable.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/DataTables/WorklistDataTable.php b/app/DataTables/WorklistDataTable.php index 0491b89..da16c07 100644 --- a/app/DataTables/WorklistDataTable.php +++ b/app/DataTables/WorklistDataTable.php @@ -8,6 +8,7 @@ use App\Services\ACL\WorklistButton; use App\Services\ACL\WorklistColumn; use App\Services\ACL\WorklistGuard; +use App\Services\GeoLocation; use Carbon\Carbon; use Carbon\CarbonImmutable; use Closure; @@ -514,8 +515,12 @@ private function renderCustomColumns(): array break; case WorklistColumn::DicomServer: $columns[$col->value] = function (Study $study) { - return sprintf('%s', + $country = GeoLocation::name(strtoupper($study->dicomServer->geo_code)); + + return sprintf('%s', strtolower($study->dicomServer->geo_code), + $country, + $country, $study->dicomServer->server_name); }; break;