JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Timesheet Report') }} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-button') @endsection @section('content')
{{ Form::open(['route' => ['report.timesheet'], 'method' => 'get', 'id' => 'report_timesheet']) }}
{{ Form::label('start_date', __('Start Date'), ['class' => 'form-label']) }} {{ Form::date('start_date', isset($_GET['start_date']) ? $_GET['start_date'] : date('Y-01'), ['class' => 'month-btn form-control current_date']) }}
{{ Form::label('start_date', __('Start Date'), ['class' => 'form-label']) }} {{ Form::date('start_date', isset($_GET['start_date']) ? $_GET['start_date'] : date('Y-01'), ['class' => 'month-btn form-control current_date']) }}
{{ Form::label('branch', __('Branch'), ['class' => 'form-label']) }} {{ Form::select('branch', $branch, isset($_GET['branch']) ? $_GET['branch'] : '', ['class' => 'month-btn form-control select branch_id']) }}
{{ Form::label('department', __('Department'), ['class' => 'form-label']) }}
{{ Form::close() }}
{{ __('Title') }} :
{{ __('Timesheet Report') }}
@if ($filterYear['branch'] != 'All')
{{ __('Branch') }} :
{{ $filterYear['branch'] }}
@endif @if ($filterYear['department'] != 'All')
{{ __('Department') }} :
{{ $filterYear['department'] }}
@endif
{{ __('Duration') }} :
{{ $filterYear['start_date'] . ' to ' . $filterYear['end_date'] }}
{{ __('Total Working Employee') }} :
{{ $filterYear['totalEmployee'] }}
{{ __('Total Working Hours') }} :
{{ $filterYear['totalHours'] }}
@foreach ($timesheetFilters as $timesheetFilter)
{{ $timesheetFilter->name }}
{{ __('Total Working Hours') }} : {{ $timesheetFilter->total }}
@endforeach
@foreach ($timesheets as $timesheet) @endforeach
{{ __('Employee ID') }} {{ __('Employee') }} {{ __('Date') }} {{ __('Hours') }} {{ __('Description') }}
{{ \Auth::user()->employeeIdFormat($timesheet->employee_id) }} {{ !empty($timesheet->employee) ? $timesheet->employee->name : '' }} {{ \Auth::user()->dateFormat($timesheet->date) }} {{ $timesheet->hours }} {{ $timesheet->remark }}
@endsection @push('script-page') @endpush