@extends('layouts.admin') @push('styles') @endpush @section('content')
Refresh

Create Bonus

Bonus List
@csrf
@if ( count($empList) > 0 ) @php $sl = 1; @endphp @foreach ($empList as $key => $emp) @php $where = []; $where[] = ['ocbonus.emp_id','=',$emp->id]; $where[] = ['ocbonus.salary_month', '=', $month]; $where[] = ['ocbonus.salary_year', '=', $year]; $check = Helper::findData('ocbonus', $where); if ($check) { continue; } $gross_salary = $emp->salary; $bonus_per = ''; $payable_net_amt = 0; @endphp @endforeach @endif
SL Emp.ID Emp.Name Department Designation Mobile No Joining Date BonusType Gross Salary Bonus(%) Bonus Amount Paid Date Action
{{ $sl++ }} {{ $emp->emp_id }} {{ $emp->emp_name }} {{ $emp->department_name }} {{ $emp->designation }} {{ $emp->phone }} {{ Helper::dateFormate($emp->joining_date) }} {{ $gross_salary }}
@endsection @push('scripts') @if(isset($month) && !empty($month) && isset($year) && !empty($year) ) @endif @endpush