Anons79 Mini Shell

Directory : /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/invoice/
Upload File :
Current File : /home/aplikasiposinfo/public_html/hayyumart.com/resources/views/invoice/cetak.blade.php

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Laravel</title>
    <style>
        * {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 14px;
        }

        .f-right {
            float: right;
        }

        .dark-blue {
            background-color: #1a3786;
            color: #f1f1f1;
        }

        .light-blue {
            background-color: #0157a7;
            color: #f1f1f1;
            padding: 0.2rem;
        }

        .soft-yellow {
            background-color: #e4dfd2;
        }

        table {
            width: 100%;
            max-width: 100%;
            border-collapse: collapse;
        }

        table.invoice-head,
        table.invoice-foot {
            border: none;
        }

        table.invoice-body {
            border: 1px solid #000;
        }

        table.invoice-body thead {
            background-color: #0157a7;
        }

        table.invoice-body tbody tr td {
            border-right: 1px solid #000;
            border-left: 1px solid #000;
            padding: 0.4rem;
        }

        table.invoice-body tr th {
            border: 1px solid #000;
            color: #f1f1f1;
            padding: 0.5rem 0;
        }

        table.invoice-foot {
            margin-top: 1rem;
        }

        table.invoice-foot tbody tr th {
            padding: 0.4rem;
        }


    </style>
</head>

<body>
    <table class="invoice-head">
        <tr>
            <td valign="top" rowspan="6" width="25%"><img src="{{ asset('images/logo-hayyu.png') }}"
                    width="150px"></td>
            <td width="25%">&nbsp;</td>
            <td colspan="2" rowspan="2" class="dark-blue" align="center" width="50%"><strong
                    style="font-size: 36px; text-decoration: underline;">{{ $data->jenis_dokumen }}</strongs>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="2" align="center" class="dark-blue"><span style="font-size: 16px;">{{ $data->nomor }}</span></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td class="light-blue"><strong>Tanggal Invoice</strong></td>
            <td class="light-blue" align="right"><strong>{{ $data->tgl_invoice }}</strong></td>
        </tr>
        <tr>
            <td colspan="3">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td class="light-blue"><strong>Bill To :</strong></td>
            <td colspan="3">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="2" class="soft-yellow"><strong style="font-size: 24px">{{ $data->tujuan }}</strong></td>
            <td colspan="2">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="2" class="soft-yellow">{{ $data->alamat_tujuan }}</td>
            <td colspan="2">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="4">Periode Tagihan: {{ $data->periode_tagihan }}</td>
        </tr>
    </table>

    <table class="invoice-body">
        <thead>
            <tr>
                <th width="40%">Keterangan</th>
                <th width="10%">Qty</th>
                <th width="25%">Harga</th>
                <th width="25%">Total</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($data->detail as $detail)
            <tr>
                <td>{{ $detail->keterangan}}</td>
                <td>{{ $detail->qty }}</td>
                <td>
                    <span>Rp</span>
                    <div class="f-right">{{ number_format($detail->harga) }}</div>
                </td>
                <td>
                    <span>Rp</span>
                    <div class="f-right">{{ number_format($detail->harga * $detail->qty) }}</div>
                </td>
            </tr>
            @endforeach
        </tbody>
    </table>
    
    <table class="invoice-foot">
        <tr>
            <th width="50%">&nbsp;</th>
            <th width="25%" class="light-blue" align="left">Total</th>
            <th class="light-blue" align="left">
                <span>Rp</span>
                <div class="f-right">{{ number_format($data->total) }}</div>
            </th>
        </tr>
        <tr>
            <td colspan="3">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">Pembayaran dapat ditransfer ke:</td>
        </tr>
        <tr>
            <td colspan="3"><strong>{{ $p->no_rek }}</strong></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="2" align="right">Samarinda, {{ date("d M Y") }}</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="2" rowspan="4" align="right"></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="2" align="right">{{ $data->prepared->name }}</td>
        </tr>

    </table>

</body>

</html>

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