@extends('Layouts/dashboard')
@section('scripts')
@endsection
@section('submenu')
@include('Plugins/Payment/Views/Elements/Order/submenu', ['row' => $data])
{{-- @include('Elements/Venue/submenu') --}}
@endsection
@section('content')
@include('Plugins/Payment/Views/Elements/Order/details')
@include('Plugins/Payment/Views/Elements/Order/items')
@if (isset($data->extra->notes) && $data->extra->notes)
{{ __('User Notes') }}
{{ $data->extra->notes }}
@endif
@if (isset($data->Ticket) && $data->Ticket)
@include('Plugins/Payment/Views/Elements/Order/tickets')
@endif
@include('Plugins/Payment/Views/Elements/Order/payments')
{!! Form::open() !!}
{!! Form::label('data[Order][internal_notes]', __('Internal Notes')) !!}
{!!
Form::textarea(
'data[Order][internal_notes]',
(isset($data->internal_notes) ? $data->internal_notes : null),
[
'class' => 'form-control',
'rows' => 10
]
)
!!}
{!! Form::close() !!}
{!! Form::open() !!}
{!! Form::label('data[Order][description]', __('External Notes')) !!}
{!!
Form::textarea(
'data[Order][description]',
(isset($data->description) ? $data->description : null),
[
'class' => 'form-control',
'rows' => 10
]
)
!!}
{!! Form::close() !!}
{{-- @if (!$data->user_id) --}}
@include(
'Elements/Common/modal',
[
'id' => 'order-user-modal',
'title' => t('Modify Order\'s User'),
'form' => [
'data-toggle' => 'validator',
'action' => action('Payment/OrdersController@secure_user', [$venue->id, $data->id]),
],
'content' => view(
'Plugins/Payment/Views/Elements/Order/order_modal_form',
[
'venue' => $venue,
'data' => $data
]
),
'footer' => view(
'Plugins/Payment/Views/Elements/Order/payment_modal_footer'
)
]
)
{{-- @endif --}}
@endsection