Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/admin.priyotama.com/resources/views/file-exports/
Upload File :
Current File : /home/users/unlimited/www/admin.priyotama.com/resources/views/file-exports/employee-list.blade.php

<div class="row">
    <div class="col-lg-12 text-center "><h1 >{{ translate('employee_list') }}</h1></div>
    <div class="col-lg-12">



    <table>
        <thead>
            <tr>
                <th>{{ translate('Analytics') }}</th>
                <th></th>
                <th></th>
                <th>
                    {{ translate('total_employee')  }}- {{ $data['employees']->count() }}
                    <br>
                    {{ translate('active_employee')  }}- {{ $data['employees']->where('status',1)->count() }}
                    <br>
                    {{ translate('inactive_employee')  }}- {{ $data['employees']->where('status',0)->count() }}
                </th>
                <th> </th>
                <th></th>
                <th></th>
                <th></th>
            </tr>
            <tr>
                <th>{{ translate('Search_Criteria') }}</th>
                <th></th>
                <th></th>
                <th>
                    {{ translate('Search_Bar_Content')  }}- {{ $data['search'] ??translate('N/A') }}

                </th>
                <th> </th>
                <th></th>
                <th></th>
                <th></th>
                </tr>
        <tr>
            <th>{{ translate('sl') }}</th>
            <th>{{translate('employee_image')}}</th>
            <th>{{translate('first_name')}}</th>
            <th>{{translate('last_name')}}</th>
            <th>{{translate('phone')}}</th>
            <th>{{translate('email')}}</th>
            <th>{{translate('role')}}</th>
            <th>{{translate('zone')}}</th>
            <th>{{translate('joining_date')}}</th>
        </thead>
        <tbody>
        @foreach($data['employees'] as $key => $employee)
        <tr>
            <td>{{$key+1}}</td>
            <td></td>
            <td>{{  $employee['f_name']  }}</td>
            <td>{{  $employee['l_name']  }}</td>
            <td>{{  $employee['phone']  }}</td>
            <td>{{  $employee['email']  }}</td>
            <td>{{  $employee->role?$employee->role['name']:translate('messages.role_deleted')  }}</td>
            <td>{{  $employee->zones?$employee->zones->name:translate('messages.all')  }}</td>
            <td>
                {{date('Y-m-d '.config('timeformat'),strtotime($employee->created_at))}}
            </td>
            </tr>
        @endforeach
        </tbody>
    </table>
    </div>
</div>