@extends('layouts.app') @section('content')
{{ __('Staff Member') }} | {{ __('Role') }} | {{ __('Transactions') }} | {{ __('Total Sales') }} |
---|---|---|---|
{{ $staff->name }} | {{ ucfirst($staff->role) }} | {{ $staff->payments_count }} | {{ number_format($staff->payments_sum_amount, 2) }} |
{{ __('No staff performance data available for the selected period') }} | |||
{{ __('Total') }} | {{ $staffPerformance->sum('payments_count') }} | {{ number_format($staffPerformance->sum('payments_sum_amount'), 2) }} |