@extends('dashboard.dashboard_layouts.dashboard_master') @section('admin_dashboard_title') Poll @endsection @section('admin_dashboard_css') {{-- --}} {{-- --}} {{-- --}} @endsection @section('admin_dashboard_content')
{{-- polling list start --}} @if (!empty($polling_1)) @if ($login_user->roles[0]->name == 'Admin')
@can('polling list edit') @endcan @foreach ($pollinglists as $poll) @can('polling list edit') @endcan @endforeach
Template name Total QuestionsAction
{{ $question_count }} Edit Poll
@else {{-- here start --}}
{{-- @php $page = $_GET['page']; // assuming page number is passed via GET parameter $per_page = 1; // assuming 10 items per page $start = ($page - 1) * $per_page; // calculate start position @endphp --}} {{-- {{ dd($page, $per_page, $start) }} --}}

draft polls

search list
search
@if (count($pollinglists) > 0) @foreach ($pollinglists as $key => $poll) @endforeach @else @endif
survey date questions action
{{ $key + 1 }}. {{ $poll->polling_name }} {{ date('M d, Y', strtotime($poll->poll_closing_date)) }} 10 Delete trash

No Data Found

{{-- pagination start --}}
{{--

Showing 1 - 4 of 40 entries

--}}

Showing {{ $pollinglists->firstItem() }} - {{ $pollinglists->lastItem() }} of {{ $pollinglists->total() }} entries

@if ($pollinglists->onFirstPage()) prev @else prev @endif @if ($pollinglists->hasMorePages()) next @else next @endif
{{-- pagination end --}}
{{-- here end --}} @endif {{-- poll modal start --}} @include('poll.poll_modal') {{-- poll modal end --}} @else

Your package is not supported for this feature please upgrade your package, select
package to continue

Select Package
@endif {{-- polling list end --}}
{{-- polling result start --}} @if (!empty($polling_2))
Date Started / Location / Name of Poll Total Number of people who took the poll Closing Date Status Action
@else

Your package is not supported for this feature please upgrade your package, select
package to continue

Select Package
@endif @include('poll.poll_result_modal') {{-- polling result end --}}
@endsection @section('admin_dashboard_script') @endsection