@extends('Layouts/dashboard')
@section('submenu')
@if (isset($order) && $order)
@include('Plugins/Payment/Views/Elements/LinesOrder/order_submenu', ['data' => $order])
@else
@include('Plugins/Payment/Views/Elements/Order/list_submenu')
@endif
@endsection
@section('content')
@if (isset($order) && $order)
@t('Lane Management for Order #%s', $order->id)
@endif
@foreach ($lines as $line)
{{ $line->name }}
@endforeach
@include(
'Elements/Common/modal',
[
'id' => 'edit-event',
'title' => t('Slot'),
'form' => [
'action' => action('Payment/LinesOrdersController@secure_edit', [$venue->id]),
'method' => 'post',
'id' => 'event-form',
'class' => 'ajaxed'
],
'content' => view(
'Plugins/Payment/Views/Elements/LinesOrder/modal',
['venue' => $venue]
)
]
)
@include(
'Elements/Common/modal',
[
'id' => 'new-event',
'title' => t('New Slot'),
'form' => [
'action' => action('Payment/LinesOrdersController@secure_edit', [$venue->id]),
'method' => 'post',
'id' => 'new-event-form',
'class' => 'ajaxed'
],
'content' => view(
'Plugins/Payment/Views/Elements/LinesOrder/new_modal',
['venue' => $venue]
),
'footer' => view(
'Plugins/Payment/Views/Elements/LinesOrder/new_modal_footer',
['venue' => $venue]
)
]
)
@endsection