@extends('layouts.default')
@section('title', 'Consultants list')
@section('header-links')
@include('includes.headers.consultants')
@endsection
@section('new_button')
{!! Form::text('search', request('search'), ['id'=>'tableSearch','class' => 'form-control input-filter input-sm',
'placeholder' => 'Search here']) !!}
search
add Create Consultant
@endsection
@section('dt_picker')
@endsection
@section('content')
Date |
Name |
Mobile |
Email |
Technologies |
Visa Type |
Status |
Creater |
Action |
@foreach($list as $consultant)
@php
$techs = '';
foreach ($consultant->technologies as $value) {
$techs = $techs.' '.$technologies[$value->technology_id];
}
@endphp
{{ Date::parse($consultant->created_at)->format(env('APP_DATE')) }} |
{{ ucwords($consultant->name) }}
|
{{ $consultant->mobile }} |
{{ $consultant->email }} |
{{ Str::limit($techs, 15) }}
|
{{ ucwords($consultant->visa_status) }} |
{{ $statuses[$consultant->status] }} |
@if(isset($consultant->creater?->name))
{{ ucwords($consultant->creater?->name) }}
@endif
|
create
mail
|
@endforeach
@if(count($list) == 0)
No Data |
@endif
@include('includes.new-comment')
@include('includes.new-mail')
{{-- To Add Comment Script --}}
@stop