@extends('layouts.app')
@section('title', trans('menu.schedule_title'))
@section('plugin-styles')
@stop
@section('content')
@php
$date_string = date(config('settings.date_format'));
$now = Carbon\Carbon::now();
$monthText = $from->format('F');
$monthText = translateArray(strtolower($monthText));
use Illuminate\Support\Str;
$user = request()->user();
@endphp
@include('layouts.partials.excelModal')
@include('layouts.partials.excelModalSendEmail')
@if (isset($error) && $error != "")
{{$error}}
@else
@include('layouts.partials.schedule-filter',[
'prev' => $date->copy()->subMonth()->startOfMonth()->format(config('settings.date_format')),
'next' => $date->copy()->addMonth()->startOfMonth()->format(config('settings.date_format')),
'type' => 'month'
])
{!! trans('menu.vacationhour_title') !!}
{!! trans('menu.absence_title') !!}
{!! trans('compensations.title') !!}
@include('timetracker::schedules.components.monthview-calendar')
@endif
@php
$formattedFromDate = $from->format(config('settings.date_format'));
@endphp
@endsection
@section('footer-script')
@include('layouts.partials.errors')
@endsection