<!DOCTYPE html>
<html lang="id">
<head>

<meta charset="UTF-8">

<title>Slip Gaji</title>

<style>

*{
    font-family:Arial,Helvetica,sans-serif;
    box-sizing:border-box;
}

body{
    margin:40px;
    color:#333;
}

.header{
    display:flex;
    align-items:center;
    border-bottom:3px solid #2563eb;
    padding-bottom:15px;
    margin-bottom:25px;
}

.logo{
    width:90px;
    margin-right:20px;
}

.title{
    flex:1;
}

.title h2{
    margin:0;
    font-size:24px;
}

.title h4{
    margin:5px 0;
    color:#555;
    font-weight:normal;
}

.title small{
    color:#777;
}

.info{
    width:100%;
    margin-bottom:20px;
}

.info td{
    padding:6px 0;
}

table.rincian{

    width:100%;
    border-collapse:collapse;
    margin-top:10px;

}

table.rincian th{

    background:#2563eb;
    color:white;
    padding:10px;

}

table.rincian td{

    border:1px solid #ddd;
    padding:10px;

}

table.rincian tr:nth-child(even){

    background:#f8fafc;

}

.total{

    background:#e8f5e9;
    font-weight:bold;
    font-size:17px;

}

.signature{

    margin-top:70px;
    width:100%;

}

.signature td{

    text-align:center;

}

.footer{

    margin-top:40px;
    text-align:center;
    font-size:12px;
    color:#888;

}

</style>

</head>

<body>

<div class="header">

    <img src="<?php echo e(asset('images/logo.png')); ?>"
         class="logo">

    <div class="title">

        <h2>SLIP GAJI GURU & STAFF</h2>

        <h4>SMKS TARUNA HARAPAN 1 CIPATAT</h4>

        <small>Sistem Informasi PRESGURU</small>

    </div>

</div>

<table class="info">

<tr>

<td width="160"><b>Nama</b></td>

<td>

:

<?php echo e($data->guru?->nama ?? $data->staff?->nama); ?>


</td>

</tr>

<tr>

<td><b>Periode</b></td>

<td>

:

<?php echo e(\Carbon\Carbon::parse($data->periode.'-01')->translatedFormat('F Y')); ?>


</td>

</tr>

<tr>

<td><b>Tanggal Cetak</b></td>

<td>

:

<?php echo e(now()->translatedFormat('d F Y')); ?>


</td>

</tr>

</table>

<table class="rincian">

<thead>

<tr>

<th>Keterangan</th>

<th width="220">Nominal</th>

</tr>

</thead>

<tbody>

<tr>

<td>Total Jam Mengajar</td>

<td>

<?php echo e(number_format($data->total_jam)); ?> Jam

</td>

</tr>

<tr>

<td>Tarif Mengajar</td>

<td>

Rp <?php echo e(number_format($data->tarif,0,',','.')); ?>


</td>

</tr>

<tr>

<td>Tunjangan / Insentif</td>

<td>

Rp <?php echo e(number_format($data->tunjangan,0,',','.')); ?>


</td>

</tr>

<tr>

<td>Gaji Staff</td>

<td>

Rp <?php echo e(number_format($data->gaji_staff,0,',','.')); ?>


</td>

</tr>

<tr>

<td>Potongan</td>

<td style="color:red">

- Rp <?php echo e(number_format($data->potongan,0,',','.')); ?>


</td>

</tr>

<tr class="total">

<td>GAJI BERSIH DITERIMA</td>

<td>

Rp <?php echo e(number_format($data->gaji_bersih,0,',','.')); ?>


</td>

</tr>

</tbody>

</table>

<table class="signature">

<tr>

<td>

Mengetahui,

<br>

Kepala Sekolah

<br><br><br><br>

<u>........................................</u>

</td>

<td>

Bandung,

<?php echo e(now()->translatedFormat('d F Y')); ?>


<br>

Bendahara

<br><br><br><br>

<u>........................................</u>

</td>

</tr>

</table>

<div class="footer">

Dokumen ini dibuat secara otomatis oleh Sistem PRESGURU.

</div>

<script>

window.print();

</script>

</body>

</html><?php /**PATH C:\laragon\www\Presguru\resources\views/penggajian/slip.blade.php ENDPATH**/ ?>