@extends('layouts.app') @section('title') Pending Payroll @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

Employees Monthly Pending payroll







@if(Session::has('success')) @endif
@php $total_net_salary = 0; $total_bf = 0; $total_advance = 0; $total_loan = 0; @endphp @if($hrmemployees_salaries->count() > 0 ) @foreach($hrmemployees_salaries as $employees_salary ) @foreach($all_employee_salary as $employees_salary_pending ) @php $total = \App\HrmEmployeeMonthlyEarningDeduction::getData($employees_salary->id , $month , $curent_year ) @endphp @if($total[0] > 0 && $total[1] > 0 && $employees_salary_pending->employ_id == $employees_salary->id) @php $net_salary = ($total[0]-$total[1]-$total[3]-$total[4] - $total[5] - $total[6]); @endphp @endif @endforeach @endforeach @endif
Name: Month/Year: Earning: Tax: Benavelent Found: Deduction : Advance : Loan : Net Salary : Action :
{{$employees_salary->name}} {{date('F', mktime(0, 0, 0, $month))}} / {{$curent_year}} {{number_format($total[0])}} {{number_format($total[3])}} {{number_format($total[4])}} {{number_format($total[1])}} {{number_format($total[6])}} {{number_format($total[5])}} {{ number_format($net_salary) }} {{-- View --}} Edit Approve
@stop @section('js') @stop