<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{{ $data['job']->title }}</title>
</head>

<body>

    <h4>Someone Applied for The Job of {{ $data['job']->title }}</h4>

    <h5>Details:</h5>

    <table>
        <tr>
            <th>Full Name:</th>
            <td>{{ $data['user']->firstName }} {{ $data['user']->lastName }}</td>
        </tr>
        <tr>
            <th>Email:</th>
            <td>{{ $data['user']->email }}</td>
        </tr>
        <tr>
            <th>Gender:</th>
            <td>{{ $data['user']->gender }}</td>
        </tr>
        <tr>
            <th>Phone Number:</th>
            <td>{{ $data['user']->phoneNumber }}</td>
        </tr>
    </table>

    @if ($data['user']->coverLetter != null)
        <br>
        <h3>Cover Letter</h3>
        <p>{{ $data['user']->coverLetter }}</p>
    @endif



</body>

</html>
