@extends('member-new') @push('head-script') @endpush @push('content-header') @endpush @section('content') {!! Form::model($rating, ['method' => 'post', 'files' => 'true']) !!}
@if(isset($currEmp) && (($currEmp->employee_type=="employee") || ($currEmp->employee_type=="workman") )) @endif {!! $errors->first('type', '')!!}

{!! $errors->first('department_id', '')!!}

@if(isset($currEmp) && (($currEmp->employee_type=="employee") || ($currEmp->employee_type=="employee") )) @endif @foreach($employees as $employee) @endforeach {!! $errors->first('employee_id', '')!!}

@if(isset($currEmp) && (($currEmp->employee_type=="workman") || ($currEmp->employee_type=="workman") )) @endif @foreach($workmans as $workman) @endforeach {!! $errors->first('workman_id', '')!!}
stars) && $rating->stars == "5")) checked @endif style="display:none"/> stars) && $rating->stars == "4")) checked @endif style="display:none"/> stars) && $rating->stars == "3")) checked @endif style="display:none" /> stars) && $rating->stars == "2")) checked @endif style="display:none"/> @if(isset($rating->stars)) stars) && $rating->stars == "1")) checked @endif style="display:none"/> @else stars) && $rating->stars == "1")) checked @endif style="display:none" checked/> @endif
{!! Form::textarea('feedback', isset($rating->feedback) ? $rating->feedback : old('feedback'), ['class' => 'form-control', 'id' => 'feedback', 'rows' => 2, 'style' => 'resize:none;']) !!} {!! $errors->first('feedback', '')!!}
@if($rating->attachments) @foreach($rating->getMedia('attachments') as $attachment)
@if($attachment->mime_type=="application/msword" || $attachment->mime_type=="appplication/docx" || $attachment->mime_type=="appplication/doc") attachment @elseif($attachment->mime_type=="application/pdf") attachment @else attachment @endif

{{$attachment->file_name}}

@endforeach @endif
{!! $errors->first('attachments[]', '')!!}
{!! Form::close() !!} @endsection @push('footer-script') < @endpush