@extends('layouts.main') @section('page-title') {{ __('Manage Attendance List') }} @endsection @section('page-breadcrumb') {{ __('Attendance List') }} @endsection @push('css') @include('layouts.includes.datatable-css') @endpush @php $company_settings = getCompanyAllSetting(); @endphp @section('page-action')
@permission('attendance import') @endpermission @permission('attendance create') @endpermission
@endsection @section('content')
{{ Form::label('type', __('Type'), ['class' => 'form-label']) }}
{{ Form::label('month', __('Month'), ['class' => 'form-label']) }} {{ Form::month('month', isset($_GET['month']) ? $_GET['month'] : date('Y-m'), ['class' => 'month-btn form-control month-btn']) }}
{{ Form::label('date', __('Date'), ['class' => 'form-label']) }} {!! Form::date('date', isset($_GET['date']) ? $_GET['date'] : null, [ 'class' => 'form-control ', 'placeholder' => 'Select Date', ]) !!}
@if (in_array(Auth::user()->type, Auth::user()->not_emp_type))
{{ Form::label('branch', !empty($company_settings['hrm_branch_name']) ? $company_settings['hrm_branch_name'] : __('Branch'), ['class' => 'form-label']) }} {{ Form::select('branch', $branch, isset($_GET['branch']) ? $_GET['branch'] : '', ['class' => 'form-control']) }}
{{ Form::label('department', !empty($company_settings['hrm_department_name']) ? $company_settings['hrm_department_name'] : __('Department'), ['class' => 'form-label']) }} {{ Form::select('department', $department, isset($_GET['department']) ? $_GET['department'] : '', ['class' => 'form-control select']) }}
@endif
{{ $dataTable->table(['width' => '100%']) }}
@endsection @push('scripts') @include('layouts.includes.datatable-js') {{ $dataTable->scripts() }} @endpush