diff --git a/app/DataTables/WorklistDataTable.php b/app/DataTables/WorklistDataTable.php index da16c07..21f6b34 100644 --- a/app/DataTables/WorklistDataTable.php +++ b/app/DataTables/WorklistDataTable.php @@ -515,7 +515,7 @@ private function renderCustomColumns(): array break; case WorklistColumn::DicomServer: $columns[$col->value] = function (Study $study) { - $country = GeoLocation::name(strtoupper($study->dicomServer->geo_code)); + $country = sprintf('%s (%s)', GeoLocation::name($study->dicomServer->geo_code), $study->dicomServer->geo_code); return sprintf('%s', strtolower($study->dicomServer->geo_code), diff --git a/app/Services/GeoLocation.php b/app/Services/GeoLocation.php index 8babd5d..e3041b3 100644 --- a/app/Services/GeoLocation.php +++ b/app/Services/GeoLocation.php @@ -264,7 +264,6 @@ public static function codes(): array public static function select(): array { return self::$countries; - // return array_flip(self::$countries); } public static function name(string $code): string