{{-- Original-style client Basisblatt. Canonical values; missing personal fields remain empty. --}}
@php($h=fn($v)=>\App\Support\Hours::fmt($v,false))
@php($short=[1=>'Jan','Feb','Mrz','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'])
@if($y['draft'] && !$s['hasHistoricalSource'])
ENTWURF — Regeln nicht verifiziert
@endif
Arbeitszeitkontrolle SMGV - Basisblatt | {{ $year }} | @if($pdfLogo) @endif |
| | | | | |
| Firma | {{ $company }} | |
|
| Name | | Adresse · Strasse Nr / PLZ Ort | | Kontakt · Telefon / E-Mail |
| Mitarbeiter:in | {{ $s['emp']->name }} | | {{ $s['profile']?->street }} | | {{ $s['emp']->phone }} |
| | | {{ trim(($s['profile']?->postal_code??'').' '.($s['profile']?->city??'')) }} | | {{ $s['contactEmail'] }} |
|
| AHV-Nummer | | Geburtsdatum | | Eintrittsdatum Austrittsdatum |
| {{ $s['ahv'] }} | | {{ $s['profile']?->birth_date?->format('d.m.Y') }} | | | {{ $s['contract']?->entry_date?->format('d.m.Y') }} | | {{ $s['contract']?->exit_date?->format('d.m.Y') }} |
|
| | | | | | | |
| Vorjahr (Übertrag) | Stundensaldo | {{ $s['client']['openingPresence']['saldo']?$h($y['previous']['saldo']):'' }} | Stunden | laufendes Jahr | Ferienguthaben | {{ $h($s['grossVacation']) }} | Stunden |
| Ferien | {{ $s['client']['openingPresence']['vacation']?$h($y['vacation']['previous']):'' }} | Stunden | | | {{ $h($y['vacation']['gav']) }} | Stunden |
| Ferien automatisch berechnen | {{ ($s['contract']?->vacation_auto??false)?'ja':'nein' }} | |
| Feiertagskalender | Feiertage mit einem kleinen x ankreuzen |
| Tag | @foreach(range(1,31) as $d){{ $d }} | @endforeach
@foreach(range(1,12) as $m)| {{ $short[$m] }} | @foreach(range(1,31) as $d)
@if(!checkdate($m,$d,$year)) | @else @php($date=sprintf('%04d-%02d-%02d',$year,$m,$d)) @php($weekend=(int)date('N',strtotime($date))>=6)
{{ isset($holidays[$date])?'x':'' }} | @endif
@endforeach
@endforeach
Pensum (Beschäftigungsgrad)
Bitte für jeden Arbeitstag das passende Pensum angeben | für arbeitsfreie Tage 0 eingeben
alle Monate gleich {{ $s['client']['sameMonths']?'ja':'nein' }} alle Tage gleich {{ $s['client']['sameDays']?'ja':'nein' }}
| % | @foreach(['MO','DI','MI','DO','FR','Ø AT','Ø Std/Tag','effekt. BG'] as $label){{ $label }} | @endforeach
@foreach($p as $m=>$row)| {{ $short[$m] }} | {{ \App\Support\Hours::pct($row['bp']) }} | @foreach($row['weekdays'] as $wd=>$bp){{ $bp>0 && ($wd===1||!$s['client']['sameDays'])?\App\Support\Hours::pct($bp):'' }} | @endforeach{{ number_format($row['days'],2,'.','') }} | {{ $h($row['minutes']) }} | {{ \App\Support\Hours::pct($row['bp']) }}% |
@endforeach
| Ø | {{ \App\Support\Hours::pct($y['employment_bp']) }} | @foreach(range(1,5) as $wd){{ \App\Support\Hours::pct((int)round(collect($p)->avg(fn($r)=>$r['weekdays'][$wd]))) }} | @endforeach{{ number_format(collect($p)->avg('days'),2,'.','') }} | {{ $h((int)round(collect($p)->avg('minutes'))) }} | {{ \App\Support\Hours::pct($y['employment_bp']) }}% |
@if($s['client']['historicalExit'] && !$s['contract']?->exit_date)PDF-Quelle: Austritt {{ \Carbon\CarbonImmutable::parse($s['client']['historicalExit'])->format('d.m.Y') }}; aktueller Vertrag ohne Austrittsdatum. @endif
@if($y['draft'])GAV-Regeln für automatische Berechnungen noch nicht verifiziert.@endif
@endforeach