@extends('layouts.admin') @section('styles') @endsection @section('content') @php $country_path = Config::get('path.country_path'); $status = (isset($data[0]['status']) && $data[0]['status'] == 1) ? "Active" : "Inactive"; $status_color = Config::get('constants.status_color.' . $status); $status_btn = \App\GlobalClass\Design::blade('status',$status,$status_color); @endphp

{{(isset($mode)?$mode:'') }} Country {{((isset($data[0]['country_name'])?' - '.$data[0]['country_name']:''))}}

@if (per_hasModuleAccess('Country', 'Edit')) @endif

General information

{{(isset($data[0]['country_name'])?$data[0]['country_name']:'---')}}
{{(isset($data[0]['country_code'])?$data[0]['country_code']:'---')}}
{{(isset($data[0]['isd_code'])?$data[0]['isd_code']:'---')}}
{{(isset($data[0]['display_order'])?$data[0]['display_order']:'---')}}
@if(isset($checkImgArr['img_url']) && $checkImgArr['img_url'] != '') @endif
@php $created_at = (isset($data[0]['created_at']))? date_getFormattedDateTime($data[0]['created_at']): '---'; $updated_at = (isset($data[0]['updated_at']))? date_getFormattedDateTime($data[0]['updated_at']): '---'; @endphp
{{$created_at}}
{{$updated_at}}

Language

@if (!empty($language)) @php $cnt = count($language); @endphp @for ($i = 0; $i < $cnt; $i++)
{{(isset($country_language[$language[$i]['lang_code']])?$country_language[$language[$i]['lang_code']]:"---")}}
@endfor @endif
@endsection @section('scripts') @endsection