<!-- Main content -->
<div class="content-wrapper">
    <!-- Dashboard content -->
    <div class="row">

        <div class="col-lg-6">
            <!-- Daily sales -->
            <div class="panel panel-flat">
                <div class="panel-heading">
                    <h6 class="panel-title">Pending Transport Request</h6>
                    <div class="heading-elements">

                    </div>
                </div>

                <div class="panel-body">
                    <div id="sales-heatmap"></div>
                </div>

                <div class="table-responsive">
                    <table class="table text-nowrap">
                        <thead>
                            <tr>
                                <th>Transport Request [To/From]</th>
                                <th>Date/Time</th>
                                <th>Distance</th>
                            </tr>
                        </thead>
                        <tbody>

                            <?
                            foreach ($result_list as $rect) {
                                ?>
                                <tr>
                                    <td>
                                        <div class="media-left media-middle">
                                            <a href="#" class="btn bg-indigo-400 btn-rounded btn-icon btn-xs">
                                                Select
                                            </a>
                                        </div>

                                        <div class="media-body">
                                            <div class="media-heading">
                                                <a href="#" class="letter-icon-title"><?= $rect['to_street'] ?>,<?= $rect['to_city'] ?>,<?= $rect['to_state'] ?>,<?= $rect['to_zipcode'] ?> </a>
                                            </div>

                                            <div class="text-muted text-size-small"><?= $rect['from_street'] ?>,<?= $rect['from_city'] ?>,<?= $rect['from_state'] ?>,<?= $rect['from_zipcode'] ?></div>
                                        </div>
                                    </td>
                                    <td>
                                        <div class="media-heading">
                                            <a href="#" class="letter-icon-title">10/10/2017 </a>
                                        </div>
                                        <span class="text-muted text-size-small">06:28 pm</span>
                                    </td>
                                    <td>
                                        <h6 class="text-semibold no-margin"><?= $rect['distance'] ?></h6>
                                    </td>
                                </tr>                                                 


                                <?
                            }
                            ?>

                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /daily sales -->

        </div>

        <div class="col-lg-6">
            <!-- Daily sales -->
            <div class="panel panel-flat">
                <div class="panel-heading">
                    <h6 class="panel-title">Todays Transport List</h6>
                    <div class="heading-elements">

                    </div>
                </div>

                <div class="panel-body">
                    <div id="sales-heatmap"></div>
                </div>

                <div class="table-responsive">
                    <table class="table text-nowrap">
                        <thead>
                            <tr>
                                <th>Transport</th>
                                <th>Date/Time</th>
                                <th>Distance</th>
                            </tr>
                        </thead>
                        <tbody>

                            <?
                            foreach ($today_list as $rect) {
                                ?>
                                <tr>
                                    <td>
                                        <div class="media-left media-middle">
                                            <a href="#" class="btn bg-danger-400 btn-rounded btn-icon btn-xs">
                                                Select
                                            </a>
                                        </div>

                                        <div class="media-body">
                                            <div class="media-heading">
                                                <a href="#" class="letter-icon-title"><?= $rect['to_street'] ?>,<?= $rect['to_city'] ?>,<?= $rect['to_state'] ?>,<?= $rect['to_zipcode'] ?> </a>
                                            </div>

                                            <div class="text-muted text-size-small"><?= $rect['from_street'] ?>,<?= $rect['from_city'] ?>,<?= $rect['from_state'] ?>,<?= $rect['from_zipcode'] ?></div>
                                        </div>
                                    </td>
                                    <td>
                                        <div class="media-heading">
                                            <a href="#" class="letter-icon-title">10/10/2017 </a>
                                        </div>
                                        <span class="text-muted text-size-small">06:28 pm</span>
                                    </td>
                                    <td>
                                        <h6 class="text-semibold no-margin"><?= $rect['distance'] ?></h6>
                                    </td>
                                </tr>                                                 


                                <?
                            }
                            ?>

                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /daily sales -->

        </div>
    </div>
    <!-- /dashboard content -->
</div>
<!-- /main content -->


