@extends('layouts.app')
@section('title', trans('menu.absence_title'))
@section('page-styles')
@endsection
@section('content')
@php $user = request()->user(); @endphp
@php
$links = [
[
'route' => route('vacationhours.index'),
'text' => __('menu.vacationhour_title'),
'active' => 0,
],
[
'route' => route('leaves.index'),
'text' => __('menu.absence_title'),
'active' => 1,
],
[
'route' => route('overtimes.indexById'),
'text' => __('menu.extra_hour_title'),
'active' => 0,
],
[
'route' => route('overtimes.compensations'),
'text' => __('forms.overtime_compensation_history'),
'active' => 0,
],
];
$links = is_module_enabled('TimeClock')
? array_merge($links, [
'route' => route('time-clocks.index'),
'text' => __('menu.time_clock_title'),
'active' => 0,
])
: $links;
@endphp
@include('layouts.partials.single-page-header', [
'menu' => [
'image' => asset('images/side-bar-icon/urenregistratie_orange.svg'),
'links' => $links,
],
'userData' => $user,
])
@include('timetracker::leaves.filters', ['dashboard' => 1 , 'isTeam' => 0])
{{ __('tables.start_date') }} |
{{ __('tables.end_date') }} |
{{ __('tables.hours') }} |
{{ __('tables.reason') }} |
{{ __('tables.status_title') }} |
{{ __('tables.requested_by') }} |
{{ __('tables.action_title') }} |
{{ __('forms.lbl_total') }} |
0 |
|
@include('timetracker::vacationhours.duplicatTimeTracker')
@endsection
@section('panel-content')
@include('timetracker::leaves.show')
@include('timetracker::leaves.form')
@stop
@section('footer-script')
@include('timetracker::leaves.scripts')
@stop