@extends('backend.admin.index') @section('body') Edit General Information {{-- @include('layouts.message')--}} General Details Logo Banner Contact Details {{csrf_field()}} Name * Nature* {{$client->company_nature->name}} Type* type=='Private') selected @endif>Private type=='Public') selected @endif>Public type=='Government') selected @endif>Government Established Date About {!! $client->company_profile !!} Heading {{$client->heading}} @if (isset($client->logo)) @else @endif Logo Choose file (150px X 150px 72ppi) @if (isset($client->banner)) @else @endif Banner Choose file (1350px X 500px 72ppi) About Us Banner Size: H:1200px, L:400px; @if(is_file(public_path('uploads/clients').'/'.$client->user->name.'/brochure'.'/'.$client->brochure) && file_exists(public_path('uploads/clients').'/'.$client->user->name.'/brochure'.'/'.$client->brochure)) Brochure Update Brochure View Brochure @else Brochure Upload Brochure @endif {{-- --}} {{-- --}} {{-- --}} {{-- @if (is_file(public_path('uploads/clients').'/'.$client->user->name.'/featured_image'.'/'.$client->featured_image) && file_exists(public_path('uploads/clients').'/'.$client->user->name.'/featured_image'.'/'.$client->featured_image))--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- Feautred Image--}} {{-- --}} {{-- --}} {{-- --}} {{-- Choose file--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{--Facilities--}} {{----}} {{----}} {{----}} {{--@foreach($facilities as $aKey=>$facility)--}} {{--@php--}} {{--$check_facilities = \App\Client\ClientFacility::where('client_id',$client->id)->where('facility_id',$facility->id)->get();--}} {{--@endphp--}} {{--@if(count($check_facilities)>0)--}} {{--@foreach($check_facilities as $check_facility)--}} {{--{{$check_facility->facility->name}}--}} {{--@endforeach--}} {{--@else--}} {{--{{$facility->name}}--}} {{--@endif--}} {{--@endforeach--}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} Name of Head Head Mobile * Office Contact Office Email Country * --Choose Country-- @foreach($countries as $country) id==$client->country_id) selected @endif>{{$country->name}} @endforeach State/Province * --Choose State-- @foreach($states as $state) id==$client->state_id) selected @endif>{{$state->name}} @endforeach District * --Choose District-- @foreach($districts as $district) id==$client->district_id) selected @endif>{{$district->name}} @endforeach MNP/NP/RM * --Choose-- @foreach($cities as $city) id==$client->city_id) selected @endif>{{$city->name}} {{$city->resident->name}} @endforeach Tole Name Website Map Link {{$client->map_link}} Previous Next Update @endsection @section('script') @endsection