@extends('Layouts/dashboard')
@section('submenu')
@include(
'Plugins/Payment/Views/Elements/Settings/admins_submenu',
[
'extra' => view(
'Plugins/Payment/Views/Elements/Settings/add_admin',
['venue' => isset($venue) ? $venue : null]
)
]
)
@endsection
@section('content')
{!! pagination_sort('name', t('Name')) !!} |
{{ __('Email') }} |
|
@foreach ($users as $row)
{{ $row->User->first_name }} {{ $row->User->last_name }} |
{{ $row->User->email }} |
@if ($row->user_id != User::getLoggedUserId())
@else
@endif
|
@endforeach
@include(
'Elements/Common/modal',
[
'title' => t('Request New Admin Access'),
'form' => [
'action' => action('Payment/SettingsController@secure_request_admin', [$venue->id]),
'method' => 'post',
'id' => 'add-form'
],
'content' => view(
'Plugins/Payment/Views/Elements/Settings/modal_form',
[
'venue' => $venue,
'settings' => $settings
]
),
'footer' => view(
'Plugins/Payment/Views/Elements/Settings/modal_footer',
[
'settings' => $settings
]
)
]
)
@endsection