{{-- resources/views/admin/keuangan/rekap-gaji-guru/bulanan/cetak_slip.blade.php --}} Slip Gaji - {{ $rekap->guru->name }}
Kembali

{{ $sekolah->web_name ?? 'SMP AL IDRUS LENGKONG' }}

{{ $sekolah->web_alamat ?? 'Alamat Sekolah Belum Diatur' }}

Telp: {{ $sekolah->web_telp ?? '-' }} | Email: {{ $sekolah->web_email ?? '-' }}

SLIP GAJI GURU / PEGAWAI
Nama : {{ $rekap->guru->name }} Periode : {{ $rekap->tanggal_rekap->translatedFormat('F Y') }}
Jabatan : Guru Status : {{ $rekap->status_pembayaran }}
PENERIMAAN POTONGAN
Gaji Pokok / Insentif Rp {{ number_format($rincian['insentif'], 0, ',', '.') }} Dana Sosial Rp {{ number_format($rincian['sosial'], 0, ',', '.') }}
Tunjangan Jabatan Rp {{ number_format($rincian['jabatan'], 0, ',', '.') }} Tabungan Rp {{ number_format($rincian['tabungan'], 0, ',', '.') }}
Tunjangan Masa Kerja Rp {{ number_format($rincian['masa_kerja'], 0, ',', '.') }}
Tunjangan Kehadiran Rp {{ number_format($rincian['kehadiran'], 0, ',', '.') }}
Transportasi Rp {{ number_format($rincian['transport'], 0, ',', '.') }}
Uang Piket Rp {{ number_format($rincian['piket'], 0, ',', '.') }}
Lain-lain Rp {{ number_format($rincian['tunjangan'], 0, ',', '.') }}
TOTAL PENERIMAAN Rp {{ number_format($rekap->total_pendapatan, 0, ',', '.') }} TOTAL POTONGAN Rp {{ number_format($rekap->total_potongan, 0, ',', '.') }}
PENERIMAAN BERSIH (TAKE HOME PAY)
Rp {{ number_format($rekap->gaji_bersih, 0, ',', '.') }}
Terbilang: # {{ ucwords(terbilang($rekap->gaji_bersih)) }} Rupiah #
@php function terbilang($nilai) { $nilai = abs($nilai); $huruf = array("", "satu", "dua", "tiga", "empat", "lima", "enam", "tujuh", "delapan", "sembilan", "sepuluh", "sebelas"); $temp = ""; if ($nilai < 12) { $temp = " ". $huruf[$nilai]; } else if ($nilai <20) { $temp = terbilang($nilai - 10). " belas"; } else if ($nilai < 100) { $temp = terbilang($nilai/10)." puluh". terbilang($nilai % 10); } else if ($nilai < 200) { $temp = " seratus" . terbilang($nilai - 100); } else if ($nilai < 1000) { $temp = terbilang($nilai/100) . " ratus" . terbilang($nilai % 100); } else if ($nilai < 2000) { $temp = " seribu" . terbilang($nilai - 1000); } else if ($nilai < 1000000) { $temp = terbilang($nilai/1000) . " ribu" . terbilang($nilai % 1000); } else if ($nilai < 1000000000) { $temp = terbilang($nilai/1000000) . " juta" . terbilang($nilai % 1000000); } return $temp; } @endphp