MOMKIND.ID

SLIP GAJI

Nama Therapist: {{ $therapist->name }}
Periode: {{ date('d/m/Y', strtotime($startDate)) }} s/d {{ date('d/m/Y', strtotime($endDate)) }}
Domisili: {{ $therapist->domicile }}
@php $no = 1; @endphp @foreach($dailyData as $date => $data) @if($data['is_off']) @else @foreach($data['schedules'] as $index => $schedule) @if($index == 0) @endif @if($index == 0) @endif @endforeach @endif @endforeach
Tanggal PX No Pasien Treatment Domisili Fee Treatment Fee Transport Fee Harian Reimburse
{{ date('d/m/Y', strtotime($date)) }} OFF
{{ date('d/m/Y', strtotime($date)) }} ({{ $data['patient_count'] }}px){{ $no++ }} {{ $schedule->patient_name }} {{ $schedule->treatment->name }} @foreach($schedule->addons as $addon)
+ {{ $addon->treatment->name }} @endforeach
{{ $schedule->patient_domicile }} {{ number_format($schedule->treatment->therapist_fee + $schedule->addons->sum(fn($a) => $a->treatment->therapist_fee), 0, ',', '.') }} {{ number_format($schedule->transport_fee ?? 0, 0, ',', '.') }}{{ number_format($data['daily_fee'], 0, ',', '.') }} @if($schedule->reimbursements->count() > 0) @foreach($schedule->reimbursements as $reimburse)
{{ $reimburse->description }}
Rp {{ number_format($reimburse->amount, 0, ',', '.') }}
@endforeach @else - @endif

Ringkasan Gaji

@foreach($salaryAdditions as $addition) @endforeach
Gaji Pokok (Fee Harian) Rp {{ number_format($totalDailyFee, 0, ',', '.') }}
Fee Treatment Rp {{ number_format($totalTreatmentFee, 0, ',', '.') }}
Fee Transport Rp {{ number_format($totalTransportFee, 0, ',', '.') }}
Reimburse Rp {{ number_format($totalReimburse, 0, ',', '.') }}
Bonus Pasien ({{ $totalPatients }} px) Rp {{ number_format($bonusPatient, 0, ',', '.') }}
{{ $addition->description }} Rp {{ number_format($addition->amount, 0, ',', '.') }}
Grand Total Rp {{ number_format($grandTotal, 0, ',', '.') }}