<!DOCTYPE html>
<html>

<head>
    <link href="<?=base_url()?>assets/css/print-doc-html.css" rel="stylesheet">
    <title>Overburden Report</title>
</head>

<body>
    <h5>Overburden Report</h5>
    <div class="col-lg-12">
        <div class="row">
            <table style="width:100%;" class="noborder">
                <tr>
                    <td class="fs-12" style="width:8%">Total Volume</td>
                    <td class="fs-12" style="width:2%">:</td>
                    <td class="fs-12" style="width:6%; text-align:right;"><?=number_format($totalob,2,'.',',')?></td>
                    <td class="fs-12" style="width:10%">&nbsp;Ton's</td>
                    <td class="fs-12" style="width:74%"></td>
                </tr>
                <tr>
                    <td class="fs-12" style="width:8%">Productivity</td>
                    <td class="fs-12" style="width:2%">:</td>
                    <td class="fs-12" style="width:6%; text-align:right;"><?=number_format($totalhr,2,'.',',')?></td>
                    <td class="fs-12" style="width:10%">&nbsp;Ton's / Hour</td>
                    <td class="fs-12" style="width:74%"></td>
                </tr>
                <tr>
                    <td class="fs-12" style="width:8%">Total Traffict</td>
                    <td class="fs-12" style="width:2%">:</td>
                    <td class="fs-12" style="width:6%; text-align:right;"><?=number_format($vehclob,0,'.',',')?></td>
                    <td class="fs-12" style="width:10%">&nbsp;Vehicles</td>
                    <td class="fs-12" style="width:74%"></td>
                </tr>
                <tr>
                    <td class="fs-12" style="width:8%">Avg. Traffict</td>
                    <td class="fs-12" style="width:2%">:</td>
                    <td class="fs-12" style="width:6%; text-align:right;"><?=number_format($vehclhr,0,'.',',')?></td>
                    <td class="fs-12" style="width:10%">&nbsp;Vehicles / Hour</td>
                    <td class="fs-12" style="width:74%"></td>
                </tr>            
            </table>
        </div><br>
        <div class="row">
            <table style="width:100%;" class="tb-border mt-15">
                <tr class="background-bluesky fs-12 h30">
                    <th class="text-left" style="width: 10%;">Nomor</th>
                    <th class="text-left" style="width: 10%;">Vendor ID</th>
                    <th class="text-left" style="width: 20%;">Nama Vendor</th>
                    <th class="text-left" style="width: 5%;">Tanggal</th>
                    <th class="text-left" style="width: 10%;">ID Kendaraan</th>
                    <th class="text-center" style="width: 10%;">Berat Standard (ton)</th>
                </tr>
                <?php foreach ($listdata->result_array() as $row) { ?>
                    <tr class="fs-12">
                        <td><?= $row['over_burden_number'] ?></td>
                        <td><?= $row['vendor_id'] ?></td>
                        <td><?= $row['vendor_name'] ?></td>
                        <td><?= humanize_mdate($row['over_burden_date'],'%d %M %Y')?></td>
                        <td><?= $row['vehicle_id'] ?></td>
                        <td class="text-right"><?= number_format($row['default_weight'],2,'.',',') ?></td>
                    </tr>
                <?php } ?>
            </table>
        </div>
    </div>
</body>
</html>