@extends('layouts.mail')
@section('content')
    <p style="font-size: 16px">Dear Program Manager,</p>
    <p style="font-size: 16px">Following is the details about the processed file</p>

    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr style="background-color: #0071bd">
            <td align="center" width="100%" style="padding:3px;color: #fff;">
                <strong>Import Information</strong>
            </td>
        </tr>
        <tr>
            <td align="center" valign="top">
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td style="padding:5px 0 25px 5px">
                            Original File Name:
                        </td>
                        <td align="right" style="padding-bottom: 25px">
                            {{ $data['file_name'] }}
                        </td>
                    </tr>

                    <tr>
                        <td style="padding:5px 5px 25px 5px">
                            Number of records:
                        </td>
                        <td align="right" style="padding-bottom: 25px" valign="top">
                            {{ $data['total_records'] }}
                        </td>
                    </tr>

                    <tr>
                        <td style="padding:5px 5px 25px 5px">
                            Number of records imported successfully:
                        </td>
                        <td align="right" style="padding-bottom: 25px" valign="top">
                            {{ $data['total_records_imported'] }}
                        </td>
                    </tr>

                    <tr>
                        <td style="padding:5px 5px 25px 5px">
                            Number of records imported in errors if any:
                        </td>
                        <td align="right" style="padding-bottom: 25px" valign="top">
                            {{ $data['total_rejected'] }}
                        </td>
                    </tr>

                    <tr>
                        <td style="padding:5px 5px 25px 5px">
                            Import Date and Time:
                        </td>
                        <td align="right" style="padding-bottom: 25px" valign="top">
                            {{ $data['import_run_at'] }}
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
@endsection
