<table width="600" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #ECECEC">
    <tr>
        <td>
            @include('emails.partials.header')

            <table width="600" border="0" align="center" cellpadding="15" style="border-top:1px solid #ECECEC">
                <tbody>
                    <tr>
                        <td align="left" valign="top">

                            <p style="font-family:arial;font-size:13px;color:#000;line-height:18px;font-weight:900">Hi Admin, </p>

                            <p style="font-family:arial;font-size:13px;color:#000;line-height:18px;"> <b>Number of users at the beginning of {{ $users['month'] }} : {{ $users['totalBeginCount'] }}  </b></p>
                            
                            @if($users['usersAtBeginning'] != NULL) 
                            @foreach($users['usersAtBeginning'] as $beginUser)
                            
                            <p style="font-family:arial;font-size:13px;color:#000;line-height:18px;"> {{ $beginUser->userType }} : {{ $beginUser->count }}</p>

                            @endforeach
                            @endif

                            <p style="font-family:arial;font-size:13px;color:#000;line-height:18px;"> <b>Number of users at the end of  {{ $users['month'] }} : {{ $users['totalEndCount'] }}   </b></p>

                            @if ($users['usersAtEnd'] != NULL) 
                            @foreach($users['usersAtEnd'] as $endUser)
                            
                            <p style="font-family:arial;font-size:13px;color:#000;line-height:18px;"> {{ $endUser->userType }} : {{ $endUser->count }}</p>

                            @endforeach
                            @endif

                        </td>
                    </tr>
                </tbody>
            </table>
        </td>
    </tr>
</table>

