@extends('layouts.master-auth') @section('css') @include('layouts.auth-partials.datatables-css') @endsection @section('content') @if(!(Auth::user()->isUser() || Auth::user()->isKiosk())) @else @include('others.list_tec_application') @endif @php $data = [ 'option' => $option, 'title' => $option, 'has_icon' => $icon, 'has_file' => $file, 'has_footer' => 'yes', 'cancel_url' => $application_url.'/'.$option, ]; if(Auth::user()->isSuperAdmin() || Auth::user()->isProcessor() || Auth::user()->isRegularAdmin() || Auth::user()->isUser()) { $data['isSave'] = 'yes'; if(Auth::user()->isSuperAdmin() || Auth::user()->isProcessor()) { $data['add_url'] = 'javascript:void(0);'; } } if(Auth::user()->isSuperAdmin()) $data['delete_url'] = 'javascript:void(0);'; @endphp @include('others.main_content', $data) @include('others.form_request', ['frm_method' => 'POST', 'frm_action' => $application_url.'/'.$option.'/save', 'frm_id' => 'save_form']) @include('others.form_request', ['frm_method' => 'POST', 'frm_action' => $application_url.'/'.$option.'/remove', 'frm_id' => 'remove_form']) @if(Auth::user()->isSuperAdmin()) @include('others.form_request', ['frm_method' => 'POST', 'frm_action' => $application_url.'/'.$option.'/delete', 'frm_id' => 'delete_form']) @endif @endsection @section('scripts') @yield('additional-scripts') @include('layouts.auth-partials.datatables-scripts') @endsection