@extends('layouts.master') @section('title', $title) @section('content') @php $r = $rules; $workDays = \App\Services\HrmRules::workDays($r); $dayNames = [6 => 'Saturday', 0 => 'Sunday', 1 => 'Monday', 2 => 'Tuesday', 3 => 'Wednesday', 4 => 'Thursday', 5 => 'Friday']; @endphp {{-- the rules attendance reports and payroll deductions use (App\Services\HrmRules) --}}
Working time
@foreach ($dayNames as $n => $name)
@endforeach
For staff without their own shift (set it on the staff profile). Manage shifts
Only when the shift has no "late after" time.
When there is no shift.
Payroll deductions
A minute's pay = one day's pay ÷ the shift's minutes.
@can('leave-paid-unpaid-manage')
@endcan
In short
@foreach ($described as $k => $v)
{{ $k }}{{ $v }}
@endforeach
Paid leave and holidays are never deducted. Days before the hire date are unpaid. Work on a day off is shown but not deducted.
Holidays
@forelse ($holidays as $h) @empty @endforelse
{{ $h->date->format('D d M, Y') }} {{ $h->name }}
No holidays yet.
@endsection @section('page_js') @endsection