@extends('Layouts/dashboard')
@section('submenu')
@if (isset($company) && $company)
@include('Plugins/Payment/Views/Elements/Order/company_list_submenu')
@else
@include(
'Plugins/Payment/Views/Elements/Order/list_submenu',
['extra' => view('Plugins/Payment/Views/Elements/Notification/add_submenu')]
)
@endif
{{-- @include('Elements/Venue/submenu') --}}
@endsection
@section('content')
@if (isset($show_venue) && $show_venue)
@t('Venue') |
@endif
@t('Notification') |
{!! pagination_sort('created', t('Created')) !!} |
|
@foreach ($data as $row)
@if (isset($show_venue) && $show_venue)
{{ $row->Venue->name }} |
@endif
{{ $row->description }} |
@datetime($row->created) |
|
@endforeach
{!! pagination(['total' => $pagination_total]) !!}
@if (isset($venue) && $venue)
@include(
'Elements/Common/modal',
[
'title' => t('New Notification'),
'id' => 'modal-dialog',
'form' => [
'action' => action('Payment/NotificationsController@secure_add', [$venue->id]),
'method' => 'post',
'id' => 'add-form'
],
'content' => view(
'Plugins/Payment/Views/Elements/Notification/modal_form',
['venue' => $venue]
),
'footer' => view(
'Plugins/Payment/Views/Elements/Notification/modal_footer'
)
]
)
@endif
@endsection