Anons79 Mini Shell

Directory : /home/aplikasiposinfo/www/faqih.fixmate.id/resources/views/laporan/piutang/
Upload File :
Current File : /home/aplikasiposinfo/www/faqih.fixmate.id/resources/views/laporan/piutang/cetak.blade.php

<html>

<head>
    <title>:: Laporan Data Piutang</title>

</head>

<body>
    <script type="text/javascript">
        window.print();
        window.onfocus = function() {
            window.close();
        }
    </script>
    <style>
        table,
        th,
        td {
            border: 1px solid black;
            border-collapse: collapse;
        }

        td {
            text-align: center;
        }
    </style>
    <h2>LAPORAN DATA PIUTANG </h2>
    <table cellspacing="1" cellpadding="2">
        <thead>
            <tr>
                <td align="center" bgcolor="#F5F5F5"><strong>Nomor Pembelian</strong></td>
                <td bgcolor="#F5F5F5"><strong>Nama Pelanggan</strong></td>
                <td bgcolor="#F5F5F5"><strong>Total </strong></td>
                <td bgcolor="#F5F5F5"><strong>Jumlah Bayar</strong></td>
                <td bgcolor="#F5F5F5"><strong>Status</strong></td>



            </tr>
        </thead>
        <tbody>

            @foreach ($datas as $data)
                <tr>
                    <td>{{ $data->nomor_nota }}</td>
                    <td>{{ $data->pelanggan->nama_pelanggan }}</td>
                    <td>{{ number_format($data->total) }}</td>
                    <td>{{ number_format($data->total_pembayaran_piutang) }}</td>
                    <td>
                        @if (!$data->status_lunas)
                            Belum Lunas
                        @elseif($data->status_lunas)
                            Lunas
                        @endif
                    </td>
                </tr>
            @endforeach
        </tbody>


    </table>

</body>

</html>

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]