@php
$url = explode("/",url()->current());
$all = '';
$cronpending = '';
$pending = '';
$processing = '';
$inprogress = '';
$completed = '';
$partial = '';
$canceled = '';
$fail = '';
$api = '';
if(isset($url[4])){
if($url[4] == 'cronpending'){
$cronpending = 'active';
}
if($url[4] == 'pending'){
$pending = 'active';
}
if($url[4] == 'processing'){
$processing = 'active';
}
if($url[4] == 'inprogress'){
$inprogress = 'active';
}
if($url[4] == 'completed'){
$completed = 'active';
}
if($url[4] == 'partial'){
$partial = 'active';
}
if($url[4] == 'canceled'){
$canceled = 'active';
}
if($url[4] == 'fail'){
$fail = 'active';
}
if($url[4] == 'api'){
$api = 'active';
}
}else{
$all = 'active';
}
@endphp
{{--
--}}
@if (Session::has('success'))
@if (Session::get('success'))
--}}
@if (isset($pageContent) &&
!is_null($pageContent) &&
($pageContent->content_place == 'both' || $pageContent->content_place == 'bottom'))
{{ Session::get('success') }}
@endif
@endif
@if (Session::has('error'))
@if (Session::get('error'))
{{ Session::get('error') }}
@endif
@endif
@if (isset($pageContent) &&
!is_null($pageContent) &&
($pageContent->content_place == 'both' || $pageContent->content_place == 'top'))
{!! $pageContent->page_content_top !!}
@endif
{{--
{!! $pageContent->page_content_bottom !!}
@endif