@extends('layouts.master') @section('title',$company->name." | ".trans('app.centers.centers')) @section('content')
@include('companies.sidebar', ['company_id' => $company->id])
@if($q) @else @endif
{{--
--}} {{----}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--
--}}
@if(count($centers)>0) @foreach($centers as $center) @endforeach
{{trans('app.centers.center_name')}} {{trans('app.sectors.sector')}} {{trans('app.services.services')}} {{trans('app.centers.created_at')}} {{trans('app.edit')}}
{{$center->name}}
{{$center->status==1?trans('app.centers.published'):trans('app.centers.under_review')}}
{{$center->sector->name}}
    @foreach($center->services as $sect)
  • {{$sect->name}}
  • @endforeach
{{app()->getLocale()=="ar"?arabic_date($center->created_at->toDayDateTimeString()):$center->created_at->toDayDateTimeString()}} {{trans('app.edit')}}
@else

{{trans('app.centers.not_found')}}

@endif
{{$centers->appends(Request::all())->render()}}
@push('scripts') @endpush @endsection