@extends('admin.layouts.app') @section('content')
{{!empty($recovery) ? __('Recovery') : __("All Boats")}}
@if(empty($recovery))
{{__("Add new boat")}}
@endif
@include('admin.message')
@if(!empty($rows))
{{csrf_field()}}
{{__(" Bulk Actions ")}}
@if(!empty($recovery))
{{__(" Recovery ")}}
{{__("Permanently delete")}}
@else
{{__(" Publish ")}}
{{__(" Move to Draft ")}}
{{__("Move to Pending")}}
{{__(" Clone ")}}
{{__(" Delete ")}}
@endif
{{__('Apply')}}
@endif
@if(!empty($rows) and $boat_manage_others)
{{ __("Advanced") }}
@include("Core::admin.global.advanced-filter")
@endif
{{__('Search')}}
{{__('Found :total items',['total'=>$rows->total()])}}
@if($rows->total() > 0) @foreach($rows as $row) @endforeach @else @endif
{{ __('Name')}}
{{ __('Location')}}
{{ __('Author')}}
{{ __('Status')}}
{{ __('Reviews')}}
{{ __('Date')}}
@if($row->is_featured)
{{ __("Featured") }}
@endif
{{$row->title}}
{{$row->location->name ?? ''}}
@if(!empty($row->author)) {{$row->author->getDisplayName()}} @else {{__("[Author Deleted]")}} @endif
{{ $row->status }}
{{ $row->getNumberReviewsInService() }}
{{ display_date($row->updated_at)}}
@if(empty($recovery))
{{__('Edit')}}
@endif
{{__("No boat found")}}
{{$rows->appends(request()->query())->links()}}
@endsection