<?php require view('theme/header'); ?> <div class="row">
    
	<link rel="stylesheet" href="//cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css">
    <div class="col-md-12">
        <div class="card" style="overflow-x:scroll;">
            <table id="datable" class="table table-hover">
                <thead>
                    <tr>
                        <th>#</th>
                        <th style="white-space: nowrap;">{ORDERS_DATE}</th>
                        <th style="width:30%;">{ORDERS_LINK}</th>
                        <th>{ORDERS_AMOUNT}</th>
                        <th style="white-space: nowrap;">{ORDERS_START_COUNT}</th>
                        <th>{ORDERS_QUANTITY}</th>
                        <th style="width:30%;">{ORDERS_SERVICE}</th>
                        <th>{ORDERS_STATUS}</th>
                        <th>{ORDERS_REMAINS}</th>
                        <th>İşlemler</th>
                    </tr>
                </thead>
                <tbody> {ORDERS_LIST} </tbody>
            </table>
        </div>
    </div>
</div><?php require view('theme/footer'); ?>


<script src="//cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js"></script>
	<script>
		$(document).ready( function () {
    $('#datable').DataTable({
            "lengthChange": false,

          "order": [[ 0, "desc" ]],
          "bInfo": false,
              createdRow: function (row, data, index) {

        if (data[1] == "") {
            console.dir(row);
            $(row).addClass('app-block');
        }
    }
    });
} );
	</script>