@extends('layouts/contentNavbarLayout') @section('title', 'Leave Policy') @section('page-script') @endsection @section('content')
Leave Policy

Define the leave entitlements, Paid leave limits, holiday schedules, and weekly offs applicable to your employees. These settings will be used to calculate leave balances and salary deductions accurately.

  • Set the number of allowed Paid leaves per month or year
  • Specify weekly off days (e.g., Sundays, Saturdays)
  • Mark company-wide holidays that should not count as leave
Manage Holiday
Add
@foreach($holidays as $holiday) @endforeach
Holiday Name Date Action
{{ $holiday->title }} {{ \Carbon\Carbon::parse($holiday->holiday_date)->format('d M, Y') }}
@csrf @method('DELETE')
Sick Leave Limits
@csrf
Set Weekly Leave Settings
@csrf @foreach(['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'] as $day) @php $isChecked = $weeklyLeaveSettings[$day]->is_leave ?? false; @endphp
{{ $day }}
@endforeach
@endsection