@extends('dashboard.dashboard_layouts.dashboard_master') @section('admin_dashboard_title') Generate polling question @endsection @section('admin_dashboard_css') {{-- --}} {{-- --}} @endsection @section('admin_dashboard_content')
{{-- --}}
{{-- Polling List --}}
@if (!empty($polling_1))

Polling List

@if ($login_user->roles[0]->name == 'Admin')
@can('polling list edit') @endcan @foreach ($pollinglists as $poll) @php $question_count = App\Models\Question::where( 'polling_id', $poll->id, ) ->where('client_id', $login_user->id) ->count(); @endphp {{-- @can('polling list edit') --}} {{-- @endcan --}} @endforeach
# Template Name Total Questionsaction
{{ $question_count }} Edit Poll
{{--
Showing 1 - 4 of 40 entries
--}}
@else
# survey date questions action
{{--

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

@if ($pollinglists->onFirstPage())
prev
@elseif( $pollinglists->previousPageUrl() )
prev
@endif @if ($pollinglists->hasMorePages())
next
@else
next
@endif
--}}
@endif @include('poll.poll_modal')
@else

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

Select Package
@endif
{{-- Polling Result --}}
@endsection @section('admin_dashboard_script') @endsection