@extends('hr_main') @section('title', '| ' . $data['pageTitle']) @section('content')

{!! $data['pageTitle'] !!}

@php $searchElements = [['element' => 'project', 'col' => 2, 'attributes' => ['print_order' => '1']], ['element' => 'branchId', 'col' => 2, 'name' => 'branchId', 'attributes' => ['print_order' => '1']], ['element' => 'custom', 'type' => 'text', 'name' => 'employeeName', 'label' => 'Employee Name/ID', 'id' => 'employeeName'], ['element' => 'dateRange', 'col' => 1], ['element' => 'status', 'options'=>[''=> 'All', 'Pending' => 'Pending', 'Approved' => 'Approved'], 'col' => 1, 'name' => 'status'] ]; @endphp @include('partials.searchPanel.main', [ 'searchElements' => $searchElements, 'buttonLevel' => 'Search', ]) {{-- @php $i=0; @endphp @foreach ($incrementHelds as $incrementHeld) @endforeach --}}
SL# Company Project Branch Employee Generate Date Held For
(Month)
Status Action
{{++$i}}. {{$allCompany[$incrementHeld->company_id_fk]}} {{$allProject[$incrementHeld->project_id_fk]}} {{$incrementHeld->branch_id_fk == 0 ? "All Branch" : $allBranch[$incrementHeld->branch_id_fk]}} {{$incrementHeld->user_id_fk == 0 ? "All Employee" : $incrementHeld->user->employee->emp_id ." ". $incrementHeld->user->employee->emp_name_english}} {{date("d-M-Y" ,strtotime($incrementHeld->generate_date))}} {{$incrementHeld->held_for}} {{$incrementHeld->approved_by ? "Approved" : "Pending"}} {{-- --}} {{--
Warning: Undefined variable $incrementHeld in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/hr/incrementHeld/index.blade.php on line 65

Warning: Attempt to read property "approved_by" on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/hr/incrementHeld/index.blade.php on line 65
approved_by ? "disabled" : ""}} class="btn btn-xs btn-info"> approved_by ? "disabled" : ""}} class="btn btn-xs btn-danger">
{{--
Warning: Undefined variable $incrementHelds in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/hr/incrementHeld/index.blade.php on line 78

Fatal error: Uncaught Error: Call to a member function links() on null in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/hr/incrementHeld/index.blade.php:78 Stack trace: #0 {main} thrown in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/hr/incrementHeld/index.blade.php on line 78