<!-- 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"><?=$page_name?></h6>
                    <div class="heading-elements">

                    </div>
                </div>

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

                <?
                include 'extra/transport_list.php';
                ?>       



            </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 id ="action_panel">
                    <div class="table-responsive">
                        <? include 'extra/notes_form.php'; ?>
                    </div>
                </div>
            </div>
            <!-- /daily sales -->

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

<script type="text/javascript">
<!--

    function transportSelected(line_id, agent) {

        $('#accs' + line_id).prop('disabled', true);
        $.ajax({
            url: "/transp/traspsel?proc=DETAIL&transport_id=" + line_id + "&agent_id=" + agent
        }).done(function (data) {
            $('#action_panel').html(data);
            $('#accs' + line_id).prop('disabled', false);
        });

       return false;
    }



// -->
</script>

