@extends('layouts.app') @section('title', trans('menu.approval_title')) @section('page-styles') @endsection @section('content')
@section('content-header-right')

{{ __('forms.lbl_total') }}

{{ __('title.' . $type . ' requests') }}

@endsection @include('layouts.partials.single-page-header', [ 'menu' => [ //'image' => asset('images/side-bar-icon/urenregistratie_orange.svg'), 'links' => [ [ 'route' => route('approvals.indexbytype', 'vacationhours'), 'text' => __('menu.vacationhour_title'), 'active' => $type == 'vacationhours' ? 1 : 0, ], [ 'route' => route('approvals.indexbytype', 'leaves'), 'text' => __('menu.absence_title'), 'active' => $type == 'leaves' ? 1 : 0, ], [ 'route' => route('approvals.indexbytype', 'overtimes'), 'text' => __('menu.extra_hour_title'), 'active' => $type == 'overtimes' ? 1 : 0, ], [ 'route' => route('approvals.indexbytype', 'compensation'), 'text' => __('forms.overtime_compensation_history'), 'active' => $type == 'compensation' ? 1 : 0, ], ], ], 'userData' => null, // 'pageTitle' => __('menu.approval_title'), ]) @if ($allowedUser) @include('approval::filters')
@if ($type == 'overtimes') @else @endif @if ($type != 'leaves' && $type != 'vacationhours') @endif @if ($type == 'leaves' || $type == 'vacationhours') @endif
{{ __('tables.name_title') }}{{ __('tables.date_title') }}{{ __('tables.start_date') }} {{ __('tables.end_date') }}{{ __('tables.note_title') }}{{ __('tables.hours') }}{{ __('tables.reason') }}{{ __('tables.status_title') }} {{ __('tables.requested_by') }} {{ __('tables.action_title') }}
{{ __('forms.lbl_total') }} 0
@else

{{ trans('label.not_authorized') }}

@endif @if($type == 'vacationhours' || $type == 'leaves') @include('timetracker::vacationhours.duplicatTimeTracker') @endif
@endsection @section('panel-content') @include('timetracker::'.$type.'.show') @include('timetracker::'.$type.'.form') @stop @section('footer-script') @include('timetracker::'.$type.'.scripts') @stop