@extends('admin.layouts.main') @section('content') @section('panelTitle') @overwrite

{{ trans('OrderComments::admin/creation.titles.comment-from-client') }}

{{$order->additional_info}}

@section('panelTitle') @overwrite

{{ trans('OrderComments::admin/creation.titles.comments') }}

@foreach($comments as $comment)

{{ $comment->user->name }}

{{ $comment->created_at }}

{{ $comment->content }}

@endforeach @section('panelTitle') @overwrite

{{ trans('OrderComments::admin/creation.titles.adding') }}

{!! Form::open(['route' => [ 'admin::comment.store', $order->id],'class' => 'form-horizontal']) !!}
{!! Form::label(null, trans('OrderComments::admin/creation.labels.title')) !!}
{!! Form::textarea('content', '', [ 'class' => 'form-control', 'autocomplete' => 'off', 'placeholder' => trans('OrderComments::admin/creation.placeholders.content') ]) !!}
{!! Form::checkbox('visibility_for_client', 1, ['class' => 'form-check-input']) !!} {!! Form::label(null, trans('OrderComments::admin/creation.labels.visibility_for_client')) !!}
{!! Form::button(trans('global.add'), ['type' => 'submit', 'class' => 'btn btn-wide btn-success ladda-button', 'data-style' => 'slide-up']) !!}
{!! Form::close() !!} @endsection