@include('admin.layout.css.style') Employee Invoice

Dear {{ $data['emp_name'] }}
We wanted to inform you that there is a pending commission invoice for your recent activities. Please find the invoice details below for your reference. Kindly review the invoice, and feel free to reach out if you have any questions or concerns.
Thank you for your continued collaboration!

user avatar @foreach($data->get('commissions') as $com)
{{$com?->importInfo?->period?->name}}
Total Deposit Amount {{$com->importInfo?->period?->deposit?->depositEmployees?->sum('plus_minus')}}
Total Deposit {{$com->importInfo?->period?->deposit?->depositEmployees?->count()}}
FTD {{$com->importInfo?->period?->deposit?->depositEmployees?->where('first_deposit','!=','N')->count()}}
Total Win/loss {{$com->member_WL}}
Active Player {{$com->active_member}}
Commission {{$com->due_commission}}
@endforeach @foreach($data->get('adjustments') as $adjustment) @endforeach
Adjustments
{{$adjustment?->period?->name}} @if($adjustment->adjustment_type == 1) -{{number_format($adjustment->adjustment_amount,2)}} @else {{number_format($adjustment?->adjustment_amount,2)}} @endif
Total Commission {{number_format($data->get('commissions')->sum('due_commission'),2)}}
Total Adjustment {{number_format($data->get('adjustments')->where('adjustment_type', 2)->sum('adjustment_amount') - $data->get('adjustments')->where('adjustment_type', 1)->sum('adjustment_amount'),2)}}
Total Payable {{number_format($data['commissions_sum_total_commission'],2)}}
@include('admin.layout.js.script')