Project Staff Payment History/Transactions

@if (count($all_staff_payments) > 0) @foreach ($all_staff_payments as $staff_payment)
STAFF NAME : {{ strtoupper($staff_payment['staff']->first_name ?? '') }} {{ strtoupper($staff_payment['staff']->last_name ?? '') }}
Payment Budget/Allocation:

# Allocated Amount Paid Balance Created At
{{ $loop->iteration }} {{ number_format($staff_payment['allocated'], 2) }} {{ number_format($staff_payment['paid'], 2) }} {{ number_format($staff_payment['balance'], 2) }} {{ short_date_time($staff_payment['created_at']) }}

Payment History/Transactions:

@foreach ($staff_payment['individual_payments'] as $index => $payment) {{-- update project staff payment modal --}} {{-- end of update project staff payment modal --}} @if ($loop->last) @endif @endforeach @if (count($staff_payment['individual_payments']) === 0) @endif
# Date Amount Paid Notes Created At Actions
{{ $loop->iteration }} {{ short_date($payment->payment_date) }} {{ number_format($payment->amount_paid, 2) }} {{ $payment->notes }} {{ short_date_time($payment->created_at) }}
{{-- @if (Auth::user()->can('project-staff-payment-show')) @endif --}} @if (Auth::user()->can('project-staff-payment-edit')) @endif @if (Auth::user()->can('project-staff-payment-delete'))
@csrf @method('DELETE')
@endif
Total Staff Payments : {{ number_format($staff_payment['individual_payments']->sum('amount_paid'), 2) . ' UGX' ?? '0' }}
No payments yet
@endforeach @else

No staff payments made for this project yet

@endif
{{-- add new project staff payment budget/allocation --}}
Add New Project Staff Payment

@csrf
{{-- $all_projects --}}




{{-- end of add new project staff payment budget/allocation --}}