{{-- polling list start --}}
@if (!empty($polling_1))
@if ($login_user->roles[0]->name == 'Admin')
@else
{{-- here start --}}
{{-- here end --}}
@endif
{{-- poll modal start --}}
@include('poll.poll_modal')
{{-- poll modal end --}}
@else
@endif
{{-- polling list end --}}
| Template name | Total Questions | @can('polling list edit')Action | @endcan
|---|---|---|
| {{ $question_count }} | @can('polling list edit')Edit Poll | @endcan
{{-- @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) }} --}}
{{-- pagination start --}}
{{-- pagination end --}}
| survey | date | questions | action | |
|---|---|---|---|---|
| {{ $key + 1 }}. | {{ $poll->polling_name }} | {{ date('M d, Y', strtotime($poll->poll_closing_date)) }} | 10 | Delete
|
|
No Data Found |
||||
Your package is not supported for this feature please
upgrade your package, select
package to continue
{{-- polling result start --}}
@if (!empty($polling_2))
@else
@endif
@include('poll.poll_result_modal')
{{-- polling result end --}}
| Date Started / Location / Name of Poll | Total Number of people who took the poll | Closing Date | Status | Action |
|---|
Your package is not supported for this feature please
upgrade your package, select
package to continue