@extends('admin.layout.master') @section('home')

Bonus Report

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

@if(!empty($_GET['bonus_type_filter']) && $_GET['bonus_type_filter']==1) @else @if(!empty($_GET['bonus_type_filter']) && $_GET['bonus_type_filter']==3) @else @endif @endif @if(!empty($bonus_info)) @php($i=1)@php($j=1) @foreach($bonus_info as $bonus_val) @if(!empty($_GET['bonus_type_filter']) && $_GET['bonus_type_filter']==1) @php($i++) @endforeach @endif @if(!empty($bonus_info)) @endif

BCL (Marketing Division)

@if(!empty($_GET['emp_department'])) {{\App\Models\Payroll\Settings\PayDepartments::find($_GET['emp_department'])->name}}@endif
@if(!empty($_GET['bonus_type_filter'])) @foreach($bonus_types as $b_type) @if($b_type->id==$_GET['bonus_type_filter']) {{$b_type->title}} @endif @endforeach @endif
For the Year Of @if(!empty($_GET['print_month'])){{$_GET['print_month']}}-@endif{{date('Y')}}
Sl# Name Design Station Joining Basic SalaryLeave Day SalaryHalf BonusFull BonusBonusBank NetPayable Signature
{{$j++}} {{$bonus_val->empBasicInfo->emp_name}} {{$bonus_val->empBasicInfo->fetch_designation->name}} {{$bonus_val->empBasicInfo->station_vehicle_no}} @if(!empty($_GET['bonus_type_filter']) && $_GET['bonus_type_filter']==1 && $emp_job_duration<18) {{$bonus_val->empBasicInfo->joining_date}} @elseif(!empty($_GET['bonus_type_filter']) && $_GET['bonus_type_filter']==3 && $emp_job_duration<12) {{$bonus_val->empBasicInfo->joining_date}} @endif {{number_format($basic_salary)}}{{$emp_job_duration}} @else @if(!empty($_GET['bonus_type_filter']) && $_GET['bonus_type_filter']==3) {{number_format($half_bonus_amount)}} @endif @endif {{number_format($bonus_amount)}} {{number_format($bank_amount)}} {{number_format($cash_amount)}}  
Total {{number_format($total_basic)}} @if(!empty($_GET['bonus_type_filter']) && $_GET['bonus_type_filter']==3){{round($total_half_bonus_amount)}}@else   @endif {{number_format($total_bonus_amount)}} {{number_format($total_bank_amount)}} {{number_format($total_cash_amount)}}  

Officer(Accounts)

Asstt Manager(Accounts)

Manager(Accounts)

GM(Accounts & Finance)

GM(Marketing)

Managing Director
@endsection