@extends('schoolLayout.app') @section('content') @include('successError')
@include('salary.partialHead')
{{--
@csrf
@if ($roles) @foreach ($roles as $role)
title, $input)) checked @endif>
@endforeach @endif
--}}
@csrf @foreach ($stafflists as $staff) @php $totalBonus = ($staff->SalaryStruct->b1 ?? 0) + ($staff->SalaryStruct->b2 ?? 0) + ($staff->SalaryStruct->b3 ?? 0) + ($staff->SalaryStruct->b4 ?? 0) + ($staff->SalaryStruct->b5 ?? 0); @endphp @endforeach
Employee Name Role Bonus Salary Pay amount Select to pay
Date
Student

{{ $staff->full_name }} - {{ $staff->registration_no }}

{{ $staff->email }}

Teacher {{ $totalBonus }} {{ $staff->salary }}
Total Selected Pay Amount: 0.00
@include('salary.component', ['staffs' => $stafflists]) @endsection