@extends('_version_01.commons.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('_version_01.commons.layouts.partials._alert')

{{App\Language::trans('Detail Form')}}

{!! Form::label('name', App\Language::trans('Customer Name'), ['class'=>'control-label col-md-4']) !!}

{{$model->name}}

{!! Form::label('document_no', App\Language::trans('Document No'), ['class'=>'control-label col-md-4']) !!}

{{$model->document_no}}

{!! Form::label('document_date', App\Language::trans('Document Date'), ['class'=>'control-label col-md-4']) !!}

{{$model->document_date}}

{!! Form::label('description', App\Language::trans('description'), ['class'=>'control-label col-md-2']) !!}

{!!html_entity_decode($model->description)!!}

{{App\Language::trans('Solution Listing')}}

@foreach($model->solutions as $index => $row) @if($index >= 1)
@endif
{{-- settled by --}}
{!! Form::label('settled_by', App\Language::trans('Settled By'), ['class'=>'control-label col-md-4']) !!}

{{$row->settled_by}}

{{-- settled_at --}}
{!! Form::label('settled_at', App\Language::trans('Settled Date'), ['class'=>'control-label col-md-4']) !!}

{{$row->settled_at}}

{{-- solution --}}
{!! Form::label('solution', App\Language::trans('Solution'), ['class'=>'control-label col-md-4']) !!}

{!!html_entity_decode($row->solution)!!}

@endforeach
{!! Form::close() !!} @endsection @section('script') init_datepicker($(".settled_at")); @endsection