@extends('fronted.layout.main') @section('adcontent') @if($errors->any()) @endif
@if($message = Session::get("EmpSuccess")) @php session()->forget('EmpSuccess') @endphp @endif @if($message = Session::get("EmpError")) @php session()->forget('EmpError') @endphp @endif
@php $employeCount = 1; @endphp @foreach($allEmployees as $employe) @php $employeCount++; @endphp @endforeach
S.No Name Email Mobile Designation Payment (current Month) Attendance (current Month) Action
{{$employeCount}} {{strtolower($employe->candidate_name)}} {{$employe->email}} {{$employe->mobile}} {{strtolower($employe->current_designation)}} @php $currentCalculationSalary = round(($employe->current_salary / $employe->attendanceForCurrentMonth['totalDayInMonth']),2) * ($employe->attendanceForCurrentMonth['totalPresent']) @endphp {{ $currentCalculationSalary }} {{$employe->attendanceForCurrentMonth['totalPresent']}}
@endsection