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

@endif
Name : {{$emp->name}}
Designation : {{$emp_details->designation->name}}
Grade : {{$emp_details->grade->name}}


@if($all) @foreach($all as $row) @else N/A @endif @endforeach @endif
# Month of Salary Payment Date Total Salary Paid Due Status
{{ $i++ }} {{ date("M Y", strtotime(@$row->date)) }} @if($row->paid_amount >0) {{ date("d M Y", strtotime(@$row->updated_at)) }} {{ number_format( @$row->gross_amount,2) }} {{ number_format( @$row->paid_amount,2) }} {{ number_format( $total_due = @$row->gross_amount - @$row->paid_amount,2) }} @if($total_due <= 0) @else @endif Receipt
@stop @section('style') @stop @section('script') @stop @if(Session::has('msg'))
×   {{Session::get('msg')}}
@endif