@foreach ($countries as $country)
@php $translations = parse_translation($country); @endphp
{{ $translations['name'] ?? $country->name }}
{{ $country->code }}
@php
$title = translate('Do you want to move to Trash');
$text = translate('If You trash it,State and city data will be trashed.');
if ($country->trashed()) {
$title = translate('Are you sure you want to delete this permanently');
$text = translate(
'If You delete it, State and city data will be deleted permanently.',
);
}
@endphp
@if ($country->trashed())
@else
@endif