@extends('hr_main') @section('title', '| Appoinment Letter Waiting List') @section('content') {{-- @include('microfin/passBookBalanceViews/PassBookBalanceAjax') --}}

Appointment Letter List


{!! Form::open(array('url' => '/hr/appointment/search', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'filterFormId', 'method'=>'get')) !!}
{{-- Start of Branch Name --}}
{{-- End of Branch Name --}}
{{-- End of name or id --}} {{-- Start of the Submit Button --}}
{{-- {!! Form::label('', '', ['class' => 'control-label col-md-12', 'style' => 'color:#708090; padding-top: 25px;']) !!} --}}
{{-- End of the Submit button --}}
{!! Form::close() !!}
{{-- Start of the table --}}
@php $sLNo = 0; @endphp @if (sizeof($appointmentWaitingList) > 0) {{-- @foreach ($appointmentWaitingListArray as $key => $appointmenArray) @endforeach --}} @foreach ($appointmentWaitingList as $key => $appointmentLetter) @php $branchName = DB::table('gnr_branch') ->select('name') ->where('id', $appointmentLetter->branch_id_fk) ->get(); @endphp @if (sizeof($branchName) > 0) @foreach ($branchName as $key => $value) @endforeach @else @endif @php $department = DB::table('gnr_department') ->select('name') ->where('id', $appointmentLetter->department) ->get(); @endphp @if (sizeof($department) > 0) @foreach ($department as $key => $value) @endforeach @else @endif @php $position = DB::table('hr_settings_position') ->select('name') ->where('id', $appointmentLetter->position_id_fk) ->get(); @endphp @if (sizeof($position) > 0) @foreach ($position as $key => $value) @endforeach @else @endif @php $approval = DB::table('appointment_letter_info') ->where('emp_id_fk', $appointmentLetter->id) ->pluck('emp_id_fk') ->toArray(); if (sizeof($approval) > 0) { $isApproved = DB::table('appointment_letter_info') ->where('emp_id_fk', $approval[0]) ->pluck('isApproved') ->toArray(); } // echo $approval[0]; @endphp
SL. No.
Photo
Name (English)
Employee ID
Branch
Department
Designation
Status
Action
{{++$sLNo}} {{$appointmentLetter->emp_name_english}} {{$appointmentLetter->emp_id}}{{$value->name}}{{$value->name}}{{$value->name}}
Warning: Undefined variable $appointmentLetter in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/appointmentLetterList/appointmentLetterListView.blade.php on line 291

Warning: Attempt to read property "status" on null in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/appointmentLetterList/appointmentLetterListView.blade.php on line 291

Warning: Undefined variable $approval in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/appointmentLetterList/appointmentLetterListView.blade.php on line 318

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/appointmentLetterList/appointmentLetterListView.blade.php:318 Stack trace: #0 {main} thrown in /home/shikkhaplus/public_html/resources_16_05_2024/views/hr/appointmentLetterList/appointmentLetterListView.blade.php on line 318