Anons79 Mini Shell

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

<html>

<head>
    <title>:: Laporan Data Gudang</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 GUDANG </h2>
    <table cellspacing="1" cellpadding="2">
        <thead>
            <tr>

                <th bgcolor="#F5F5F5">Nama</th>
                <th bgcolor="#F5F5F5">No. Telepon</th>
                <th bgcolor="#F5F5F5">Alamat</th>
                <th bgcolor="#F5F5F5">Kecamatan</th>
                <th bgcolor="#F5F5F5">Total Transaksi</th>



            </tr>
        </thead>
        <tbody>

            @foreach ($datas as $data)
                <tr>
                    <td>{{ $data->nama_pelanggan }}</td>
                    <td>{{ $data->telp_pelanggan }}</td>
                    <td>{{ $data->alamat_pelanggan }}</td>
                    <td>{{ $data->kecamatan_pelanggan }}</td>
                    <td>
                        @if (isset($data->riwayat))
                            Rp. {{ number_format($data->riwayat->sum('biaya')) }}
                        @endif
                    </td>
                </tr>
            @endforeach
        </tbody>


    </table>

</body>

</html>

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