@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{{ csrf_field() }}
Name : {{ $single->employee->name }}
Grade : {{ $single->grade->name }}
@php $total=0 @endphp
@foreach($single->psHead as $data)
{{$data->head->name}} |
{{ number_format($data->amount,2) }} |
@php $total = $total + $data->amount @endphp
@endforeach
Total Salary |
{{ number_format($total,2) }} TK. |