@php $settings = App\Models\settings::first(); $logo_path = storage_path('app/public/' . $settings->logo); if (file_exists($logo_path)) { $logo_mime = mime_content_type($logo_path); $logo_data = base64_encode(file_get_contents($logo_path)); } else { $logo_mime = null; $logo_data = null; } @endphp
@if($logo_data) @endif

{{ $settings->name }}

{{ $settings->alamat }}
{{ $settings->email }} - ({{ $settings->phone }})
Slip Gaji
@php if ($data->bulan == 1) { $bulan = "Januari"; } elseif ($data->bulan == 2) { $bulan = "Februari"; } elseif ($data->bulan == 3) { $bulan = "Maret"; } elseif ($data->bulan == 4) { $bulan = "April"; } elseif ($data->bulan == 5) { $bulan = "Mei"; } elseif ($data->bulan == 6) { $bulan = "Juni"; } elseif ($data->bulan == 7) { $bulan = "Juli"; } elseif ($data->bulan == 8) { $bulan = "Agustus"; } elseif ($data->bulan == 9) { $bulan = "September"; } elseif ($data->bulan == 10) { $bulan = "Oktober"; } elseif ($data->bulan == 11) { $bulan = "November"; } else { $bulan = "Desember"; } @endphp
Nama : {{ $data->User->name }}
Jabatan : {{ $data->User->jabatan->nama_jabatan }}
Rekening : {{ $data->User->rekening }}
Tgl Gabung : {{ $data->User->tgl_join }}
Bulan : {{ $bulan . ' ' . $data->tahun }}
Periode : {{ $data->tanggal_mulai }} s/d {{ $data->tanggal_akhir }}

RINCIAN GAJI BULAN INI

Gaji Pokok : Rp {{ number_format($data->gaji_pokok) }}
Uang Makan & Transport : Rp {{ number_format($data->uang_transport) }}
Lembur : {{ $data->jumlah_lembur }} Jam Rp {{ number_format($data->total_lembur) }}
Bonus 100% Kehadiran : Rp {{ number_format($data->total_kehadiran) }}
Insentif : Rp {{ number_format($data->total_bonus) }}
Tunjangan Hari Raya : Rp {{ number_format($data->total_thr) }}
Reimbursement : Rp {{ number_format($data->total_reimbursement) }}
_______________________
Subtotal : Rp {{ number_format($data->total_penjumlahan) }}

DIKURANGI




Keterlambatan : {{ $data->jumlah_terlambat }} Kali Rp {{ number_format($data->total_terlambat) }}
Mangkir : {{ $data->jumlah_mangkir }} Hari Rp {{ number_format($data->total_mangkir) }}
Izin : {{ $data->jumlah_izin }} Hari Rp {{ number_format($data->total_izin) }}
Kasbon : Rp {{ number_format($data->bayar_kasbon) }}
Loss : Rp {{ number_format($data->loss) }}
_______________________
Subtotal : Rp {{ number_format($data->total_pengurangan) }}
GAJI YANG DITERIMA : Rp {{ number_format($data->grand_total) }}
Sisa Cuti : {{ $data->User->izin_cuti }} Kali / Tahun