@component('mail::layout') {{-- Header --}} @slot('header') @include('email.admin.includes.header') @endslot {{-- Body --}} {{-- Greeting --}} @if (! empty($greeting)) # {{ $greeting }} @else @if ($level === 'error') # @lang('Whoops!') @else @endif @endif

Dear {{ $firm_admin->fullname }},

A new user, {{ $user->fullname }}, has requested to join your firm on {{ \Carbon\Carbon::parse($user->created_at)->format('d M Y') }}. They have entered the firm code {{ $user->firmcode }} and selected the following state bar(s):

@foreach (getUserBarsNeedTopay($user->id) as $bar)
  • {{ $bar->state_name ?? 'N/A' }}
  • @endforeach

    To activate {{ $user->fullname }}'s account, you have two options:

    1. Accept and Pay: You can choose to cover the cost of {{ $user->fullname }}'s state bar membership(s) on behalf of the firm. This will activate their account immediately. The total cost will be ${{ retrieveTotalProductAmountByUser($user->id) }} for {{ getUserBarsNeedTopay($user->id)->count() }} state bar(s).

    2. Accept without Pay: You can choose to approve {{ $user->fullname }}'s request, but they will need to pay for their own state bar membership(s) within the app. They will receive instructions on how to make the payment upon your approval.

    To review and take action on {{ $user->fullname }}'s request, please log in to the firm admin portal:

    @lang('Admin Portal')

    Best regards,
    The CLEarly Legal Team

    {{-- Subcopy --}} @isset($subcopy) @slot('subcopy') @component('mail::subcopy') {{ $subcopy }} @endcomponent @endslot @endisset {{-- Footer --}} @slot('footer') @if (! empty($salutation)) {{ $salutation }} @else @include('email.admin.includes.footer') @endif @endslot @endcomponent