@include('emails.client_contact.common-finance.header', ['franchise' => $franchise]) @component('emails.common.table') @component('emails.common.td') @component('emails.common.p') Hello Team, @endcomponent @component('emails.common.p') The commission distribution for the following project has been approved for processing: @endcomponent @component('emails.common.p') Project: {{ $project->name }}
Commission Pot: {{ (float)$commissionDetails->distributed_commission }}% @endcomponent @component('emails.common.table_with_border') @component('emails.common.tr') Team Member Final % Commission distribution @endcomponent @foreach ($allocations as $allocation) @component('emails.common.tr') {{ $allocation->user->full_name }} {{ (float)$allocation->commission }} @endcomponent @endforeach @endcomponent @component('emails.common.slogan') @endcomponent @endcomponent @component('emails.common.td') @component('emails.common.p') @if($franchise) {{ $franchise->company_name }}@endif Project @endcomponent @endcomponent @endcomponent @include('emails.client_contact.common-finance.footer', ['franchise' => $franchise])