/home/mip/mip/app/Modules/Client/Views/applicants/includes/applicant-lists-table.blade.php
@extends('Client::reports-table-layouts')
@section('page-body')
    <table class="table table-bordered table-striped table-hover data" id="applicants-table" width="100%">
        <thead>
            <tr>
                <td colspan="4" style="text-align: center;"><h2><strong>Applicants for {{ $job->position }} ({{ $job->no_position }})</strong></h2></td>
            </tr>
            <tr>
                <td colspan="4"></td>
            </tr>
            <tr>
                <th style="text-align: center;">No.</th>
                <th style="text-align: center;">Applicant Name</th>
                <th style="text-align: center;">Mobile No.</th>
                <th style="text-align: center;">Date Applied</th>
            </tr>
        </thead>
        <tbody>
        @foreach($applicants as $count => $applicant)
            <tr>
                <td width="5" style="text-align: center;">{{++$count}}</td>
                <td width="50">{{$applicant->applicant->last_name}}, {{$applicant->applicant->first_name}} {{$applicant->applicant->middle_name}}</td>
                <td width="25" style="text-align: center;">{{$applicant->applicant->mobile_number}}</td>
                <td width="30" style="text-align: center;">{{date('M d, Y', strtotime($applicant->apply_date))}}</td>
            </tr>
        @endforeach
        </tbody>
   </table>
@stop