@extends('layouts.master') @section('title', 'Workflow Engine | Dashboard') @section('content') @include('partials.data_table_cdn') @include('utility.enToBnNum') @php $user=Session::get('user'); @endphp
@foreach ($applicatin_summary as $key => $value) @php $title = explode('(',$value->title); $serviceFullName = $value->title; $lastItem = ''; if(count($title)>1) $lastItem = $title[count($title) - 1]; unset($title[count($title) - 1]); if(count($title)>1) $title = implode(' (',$title); else if(isset($title[0])) $title = str_replace(')','',$title[0]); else $title=$serviceFullName; $t = 'Service: '.$title; if(!empty($lastItem)){ $t .= '
Type: '.trim(str_replace(')','',$lastItem)).'
'; } if( $value->is_anonymouse==1){ $return = $t; }else{ $return = $t . "
ID: " . strtoupper($value->client_app_tracking_id).""; } $cdata=''; if($value->is_anonymouse==1){ $cdata ='Anonymouse User'; }else{ $cdata = $value->client_user_name . "
+" . $value->client_user_mobile . ""; if($value->is_read==0) $cdata = $cdata; } @endphp
@endforeach
{{__('Service_Information')}} {{__('Applicant_Information')}} {{__('Apply_Date')}} {{__('Feedback_Date')}} {{__('Rating')}} {{__('Feedback_Comment')}}
{!! $return !!} {!! $cdata !!} {{ date('d-m-Y', strtotime($value->client_app_date)) }} {{ date('d-m-Y', strtotime($value->rating_date)) }} @php $rdata=''; $star_limit = 5; for ($i=1; $i <= $star_limit; $i++) { if($i<=$value->rating_points){ $rdata .=''; }elseif($i==$value->rating_points + 0.5){ $rdata .=''; }else{ $rdata .=''; } } @endphp {!! $rdata !!} {{$value->comments}}
{{ $applicatin_summary->links('pagination::tailwind') }}
@endsection