@extends('layouts.header') @section('content') @php $total_records=$TotalRecordsCnt; $page_num=$Page_num; $start_from = ($Page_num-1)*$limit; echo "
";
	//print_r($GetTasknTicketDetail);
echo "
"; $TicketPriority=$GetDropdownLists['62']; $TicketStatus=$GetDropdownLists['64']; $IssueClassificationDD=$GetDropdownLists['66']; $SupportClassificationDD=$GetDropdownLists['18406c3e-0912-11ef-b910-00155d57ea61']; //$a=1; $a=$start_from+1; //echo $start_from; $ModuleId="806867ab-96a5-11eb-948a-56b1773fd56f"; $GetResultQuery=base64_encode($GetResultQuery); @endphp
Total records


    @php $total_pages = ceil($total_records/$limit); $start_loop = $page_num; $difference = $total_pages - $page_num; $active_class=''; @endphp @if($total_records > $limit) @if($difference <= 5) @php $start_loop = $total_pages - 5; @endphp @endif @php $end_loop = $start_loop + 4; @endphp @if($page_num > 1) @php $first=$page_num-1; @endphp
  • <<
  • @endif @for($i=$start_loop; $i<=$end_loop; $i++) @if($i>0) @php if($page_num==$i) $active_class='active'; else $active_class=''; @endphp
  • {{$i}}
  • @endif @endfor @if($page_num <= $end_loop) @php $last=$page_num+1; @endphp
  • >>
  • @endif @endif
@endsection