@foreach ($bonus as $item) @if (auth()->user()->hasRole('Super Admin')) {{ $item->business->business_name }} @endif {{ $item['bonus_name'] }} {{-- @if ($item['status'] == 1) @endif --}} @if ($item['bonus_type']) @if ($item['bonus_type'] == '1') {{__('accounting.fixed')}} @else {{__('accounting.percentage')}} @endif @endif @if ($item['bonus_for']) @if ($item['bonus_for'] == '1') {{__('core.teacher')}} @else {{__('core.employee')}} @endif @endif {{ $item['bonus_amount'] }} {{ $item['status'] == 1 ? __('core.active') : __('core.inactive') }} @endforeach