@extends('dashboard.layout.app') @section('style') @endsection @section('content') @include('dashboard.blocks.title',['button' => true, 'route' =>route('offers.create'), 'icon' => 'plus'])
{{__('translation.clear search result')}}

{{\DB::table('offers')->count()}}

{{__('translation.offers count')}}

{{\DB::table('offers')->where('active', 1)->count()}}

{{__('translation.activated offers count')}}

{{\DB::table('offers')->where('active', 0)->count()}}

{{__('translation.deactivated offers count')}}

{{__('translation.result_count')}} ({{$rows->count()}})

@php $i = 1; @endphp @foreach($rows as $item) {{-- --}} @endforeach @if ($rows->count() == 0) @endif
# {{__('translation.image')}} {{__('translation.title')}} {{__('translation.status')}} {{__('translation.actions')}}
{{$i++}} {{$item->title}} id)}}" {!! (isset($item) && $item->active=='1')? 'checked':'' !!} name="active" value="1" data-plugin="switchery" onchange="switchaerych(this)" data-color="#00b19d"/> {{__('translation.show')}} {{__('translation.edit')}} {{__('translation.delete')}}
عفوا لا توجد نتائج .
{{ $rows->appends($search)->links() }}
@endsection @section('script') @endsection