<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="Asset/font-awesome.min.css">
    <style type="text/css">
        table {
            border-collapse: collapse;
            width: 100%;
            margin-top: 30px;
        }

        th,
        td {
            text-align: left;
            border: 1px solid #ccc;
        }

        td {
            padding: 2px;
        }
    </style>
</head>

<body style="font-family:FontAwesome; margin:5%">
    <div>
        <div>
            <h1 style='float:left'><b>VOID ITEM REPORT</b></h1><br style="clear:both;">
        </div>
        <div style="width: 100%;overflow: hidden;">
            <div style="float: left; line-height:50%">
                <h3>Company Name : {{config.company_name}}</h3>
                <h3>Time From : {{datetime_start}}</h3>
                <h3>Time To : {{datetime_end}}</h3>
            </div>
        </div>

        <div>
            {{#each invoice_with_void_item}}
            <table style="font-size:18px;width: 100%; text-align:left;">
                <col width="40%">
                <col width="30%">
                <col width="30%">
                <thead>
                    <tr style="font-size:18px; background:#eee;">
                        <th>Invoice No.</th>
                        <th>DateTime</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>{{ref_id}}</td>
                        <td>{{datetime_open}}</td>
                        <td></td>
                    </tr>
                    <tr style="font-weight: bold; background:#eee;">
                        <td>Item Name</td>
                        <td>Quantity</td>
                        <td>Total</td>
                    </tr>

                    {{#each invoice_line}}
                    <tr>
                        <td>{{item.name}}</td>
                        <td>{{quantity}}</td>
                        <td>{{subtotal}}</td>
                    </tr>
                    {{/each}}
                </tbody>
            </table>
            {{/each}}
        </div>
    </div>
</body>

</html>
