@extends('app.layouts.main') @section('content')

Manage {{ucfirst($type)}}

@if (session('success')) @elseif(session('error')) @endif
@if($type=="service") Add {{ucfirst($type)}} @else Add {{ucfirst($type)}} @endif
@if($type!="service") @else @endif @php $i=1@endphp@foreach($serviceList as $service) @if($type!="service") @else @endif @php $i++@endphp@endforeach
ID TitleParent ServiceDisplay to HomeSort Order Status Created Date Actions
{{ $i }} {!! $service->title !!} {!!$service->second_title!!}{!!($service->parent)?$service->parent->title.' '.$service->parent->second_title:'-'!!} {{ date("d-M-Y", strtotime($service->created_at)) }}
@if($type=="service") @else @endif
@endsection