{!! Form::select("period", $periods, \request("period"), ["class"=>"form-control marginRight"]) !!}
{!! Form::label('from', trans("content.from")) !!} {!! Form::text('from', \request("from") ? \request("from") : date("Y-m-d"), ['class' => 'form-control dateFrom inputDateSmall']) !!} {!! Form::label('to', trans("content.to")) !!} {!! Form::text('to', \request("to") ? \request("to") : date("Y-m-d"), ['class' => 'form-control dateTo inputDateSmall']) !!} {!! Form::submit("Submit", ["class" => "btn btn-primary btn-sm"]) !!} {!! Form::hidden("id", \request("id")) !!} {!! Form::hidden("tab", "hours") !!}
@if (!count($staffHours['daily']))

@lang("content.found") 0 @lang("content.records")

@else
{{--General Tab--}}
@include('staff.show-layouts.hours-tab-period', ['data' => $staffHours['daily']])
@include('staff.show-layouts.hours-tab-period', ['data' => $staffHours['monthly']])
@include('staff.show-layouts.hours-tab-period', ['data' => $staffHours['yearly']])
@endif