@extends('layouts.seller') @section('css') @endsection @section('content')
{{ Form::open(array('route' => ['seller.avvik.update',$data->id], 'method' => 'POST' ,'id' => 'ajaxSave'));}}

{!! __('avvik.title') !!}

  • {!! __('avvik.tab1') !!}
  • {!! __('avvik.tab2') !!}
  • {!! __('avvik.tab3') !!}

{!! __('avvik.from') !!}

{!! $data->first_name ." ".$data->last_name !!}

{!! __('avvik.date') !!}

{!! dateFormat($data->created_at,'d M,Y') !!}

{!! __('avvik.description') !!}

{!! $data->description !!}

{!! __('avvik.what_happen') !!}

{!! $data->what_happened !!}

{!! __('avvik.cause') !!}

{!! $data->cause !!}

  • {!! avvikCause($data->cause_option) !!}

{!! __('avvik.suggestion') !!}

{!! $data->suggestion !!}

@php $fileName="No File Attached"; @endphp @if ($data->image) @php $extension = pathinfo($data->image, PATHINFO_EXTENSION); $file = pathinfo($data->image, PATHINFO_FILENAME) ; $fileName= $file .".".$extension ; @endphp @endif

{!! __('avvik.attach') !!}

{{ $fileName}}
  • {{--
  • --}}
{!! Form::close() !!}
@endsection