@extends('layouts.main') @section('content')
VIEWING A1 SETTINGS {{-- Upload form — handles: • YouTube link for the ALFAENA instructions video • Day-of-month that unlocks timesheet submissions and triggers user notifications • ALFAENA Excel template file • ALFAENA Odigies (instructions) PDF --}}
@csrf {{-- --}}{{-- YouTube instructions link --}} {{--
--}} {{-- --}} {{--
--}} {{-- Timesheet unlock day ───────────────────────────────────────────────────────── On this day of every month: 1. The Excel template upload will be unlocked for all users. 2. All active users will receive a notification reminding them to complete and submit their timesheet. Encoding: null → not configured 0 → last day of the month (LAST_DAY_OF_MONTH sentinel) 1–28 → fixed day, valid in every month including February TODO: wire this value into the scheduled job / event listener that performs the actual unlock and notification dispatch. --}} {{-- File uploads --}}
{{-- ALFAENA Template (.xlsx) --}}
ALFAENA Template
@if (!empty($templateFile))

Current file:

{{ $templateFile['filename'] }}
Download
@endif
{{ $templateFile ? 'Replace file' : 'Upload file' }}
{{-- ALFAENA Odigies (instructions PDF) --}}
ALFAENA Odigies
@if (!empty($odigiesFile))

Current file:

{{ $odigiesFile['filename'] }}
Download
@endif
{{ $odigiesFile ? 'Replace file' : 'Upload file' }}
{{-- Delete forms are intentionally outside the main upload form to avoid illegal nested
elements in HTML. --}} @csrf @method('DELETE')
@csrf @method('DELETE')
{{-- end .pdf-upload-section --}}
{{-- end .settings-management --}}
{{-- Disable the day-number input when "last day of month" is checked --}} @endsection