@extends('layouts.page') @section('title') LOP Statement View @endsection @section('navs') @if (Auth::user()->isAdmin() || (Auth::user()->hasAnyRole(['FM','AFM']) && $employee_lop_statement->status == 'approved')) Add Food Deduction @endif Print @endsection @section('content')
Warning: Undefined variable $employee_lop_statement in /var/www/html/pruthvi/resources/views/employee_lop_statement/food_deduction_view.blade.php on line 25
@include ('common.errors') @include ('employee_lop_statement.lop_statement_heading')
@include ('employee_lop_statement.tabs', ['type' => 'food_deduction'])
Food deductions @foreach ($employee_lop_statement->food_deductions as $food_deduction)
Warning: Undefined variable $food_deduction in /var/www/html/pruthvi/resources/views/employee_lop_statement/food_deduction_view.blade.php on line 91

Warning: Attempt to read property "accessed" on null in /var/www/html/pruthvi/resources/views/employee_lop_statement/food_deduction_view.blade.php on line 91

Warning: Undefined variable $food_deduction in /var/www/html/pruthvi/resources/views/employee_lop_statement/food_deduction_view.blade.php on line 92

Warning: Attempt to read property "amount" on null in /var/www/html/pruthvi/resources/views/employee_lop_statement/food_deduction_view.blade.php on line 92
@endforeach
Sno Name of the Staff Department/Zone Designation Accessed Amount
{{ $i++ }} {{ $food_deduction->employee->name}} {{ AppHelper::dropdown($food_deduction->employee->department, 'departments')}} {{ AppHelper::dropdown($food_deduction->employee->designation, 'employee_designations')}} {!! $food_deduction->accessed !!}
@foreach ($food_deduction->records as $ri => $record)
{{$ri+1}}) {{ AppHelper::datetime($record->accessed_at) }}
@endforeach
{!! AppHelper::numberUS($food_deduction->amount) !!}/-
Total {{ AppHelper::numberUS($totalAccessed) }} {{ AppHelper::numberUS($totalAmount) }}/-
@include ('employee_lop_statement.lop_statement_footer', ['type' => 'food']) @endsection