@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100'])
{{-- section content --}}
@section('content')
@include('layouts.navbars.auth.topnav', ['title' => ''])
{{-- button back --}}
{{-- check authorize edit --}}
@if ($authorize->edit == '1')
{{-- check status active --}}
@if ($list->isactive == 1)
{{-- button save --}}
{{-- button edit --}}
{{-- Tombol Perpanjang --}}
{{-- @if ($list->status == 'E')
@else
@endif --}}
@if ($list->status == 'E')
{{-- button tolak --}}
{{-- --}}
@else
{{-- button approve --}}
@endif
@endif
@endif
{{-- check flag js on dmenu --}}
@if ($jsmenu == '1')
@if (view()->exists("js.{$dmenu}"))
@push('addjs')
@include('js.' . $dmenu);
@endpush
@else
@push('addjs')
Swal.fire({
title: 'JS Not Found!!',
text: 'Please Create File JS',
icon: 'error',
confirmButtonColor: '#028284'
});
@endpush
@endif
@endif
@endsection
@push('js')
@endpush