@extends('layouts.app') @section('title') Payroll @stop @section('breadcrumb')
@stop @section('content')Employees | Benefits | Deductions | Net Pay | Action |
---|---|---|---|---|
Basic
{{number_format($employee->basic_salary)}} PKR
|
@foreach($employee->policies as $policy)
@if($policy->policy->type == \App\Policy::allowance)
@elseif($policy->policy->type == \App\Policy::deduction)
@endif
@endforeach
@foreach($employee->policies as $policy)
@if($policy->policy->type == \App\Policy::allowance)
{{$policy->policy->name}}
{{number_format($policy->policy->amount)}} PKR
{{number_format($allowance)}} PKR |
@foreach($employee->policies as $policy)
@if($policy->policy->type == \App\Policy::deduction)
{{$policy->policy->name}}
({{number_format($policy->policy->amount)}}) PKR
({{number_format($deduction)}}) PKR |
{{number_format($employee->basic_salary + $allowance - $deduction)}} PKR | @if($salaryPaid[$employee->id] == true) Run @else Run @endif |