@extends('hr_main') @section('title', '| Gratuity Details' ) @section('content')
Gratuity Fund Details
{{-- --}} @php $sl = 1; $total = 0; @endphp @foreach ($gratuityInfo as $key => $info) @php $total += $info['org']; @endphp @if ($info['date'] == 'Opening Balance') @else @endif @endforeach
SlSl Date Basic Salary Job Age Add Current Period Balance
{{ $info['date'] }} {{ $info['obDate'] }} {{ number_format($info['org'], 2) }} {{ number_format($total, 2) }}{{ $sl++ }} {{ $info['date'] }} {{ number_format($info['basicSalary'], 2) }} {{ $info['jobDuration']['year'].' Year(s) '. $info['jobDuration']['month'].' Month(s)'}} {{ number_format($info['org'], 2) }} {{ number_format($total, 2) }}
{{-- @endif --}}
@endsection