@extends('layouts.master') @section('content')
{{$title}}
{{--
@if(\Auth::user()->utype==1) Create Payroll

@endif
--}}
@if($all) @foreach($all as $row) @endforeach @endif
# Employee Name Designation Grade Salary Status Action
{{ @$i++ }} {{ @$row->employee->name }} {{ @$row->designationName->designation['name'] }} {{ @$row->grade->name }} @foreach($row->grade->gradeAmount as $gm) @php $gmt = $gmt + $gm->amount @endphp @endforeach ({{$gmt}} TK.) @if(!empty($row->psHead)) @foreach($row->psHead as $data) @php $salary = $salary + $data->amount @endphp @endforeach @if($salary==0) Salary Not Update @else {{ number_format($salary,2) }} @endif @else Salary Not Update @endif @if($row->type == 4) @else @endif @if(\Auth::user()->utype==1) Update {{-- --}} @endif
@stop @section('style') @stop @section('script') @stop @if(Session::has('msg'))
×   {{Session::get('msg')}}
@endif