<?php
$permission  = explode(',',$_SESSION['permission_id']);
if(!in_array(7,$permission) && !in_array(1,$permission)  ){

?>
<script>
window.location="starter.php";
</script>
<?php
}
?>

<style >
	tfoot {
    display: table-header-group !important;
	}

	td{
	text-align: center !important;
	}
	th{
	text-align: center !important;
	}

	textarea{
	height: 38px !important;
	resize: none;
	}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 10px 5px;

    }

    .badge:empty{
    	display: initial;
    }

    .btn_add_item{
    	padding: 0px 0px;
    }

    .bootstrap-select.btn-group .btn .filter-option{
    	text-align: center;
    }

    input[type="checkbox"] {
    	margin: -8px 0 0;
    	
    	line-height: normal;
	}

	.radio label, .checkbox label {
    	padding-right: 85px;
	}

	.radio label, .checkbox label {
    	min-height: 20px;
    	/*padding-right: 20px;*/
    	margin-bottom: 20px;
    	font-weight: normal;
    	cursor: pointer;
	}

</style>


	





	

	

	<!-- Individual column searching (text inputs) -->
	<div class="panel panel-flat">
		
		<table class="table datatable-column-search-inputs">
			<thead>
				<tr>
	        		<th width="5%">ID</th>
					<th class="multi_lang">رقم الوصل</th>
					<th class="multi_lang">التاريخ</th>
          			<th class="multi_lang">الزبون</th>
          			<th class="multi_lang">الهاتف</th>
          			<th class="multi_lang">المبلغ الكلي</th>
					<!-- <th class="multi_lang">المبلغ الواصل</th> -->
					<th class="multi_lang">التخفيضات</th>
					<th class="multi_lang">المبلغ الصافي</th>
					<th class="multi_lang">الحالة</th>
					<th class="multi_lang">ملاحظات</th>
          			<th width="15%" class="text-center multi_lang">العمليات</th>
	      </tr>
			</thead>
			<tbody>
				
			</tbody>
			<tfoot>
				<tr>
	                <td></td>
	                <td>username</td>
	                <td>full_name</td>
	                <td>EMail</td>
	                <td>Phone</td>
	                <td></td>
	                <td></td>
	                <!-- <td></td> -->
	                <td></td>
	                <td></td>
	                <td></td>
	                <td></td>
	            </tr>
			</tfoot>
		</table>
	</div>
	<!-- /individual column searching (text inputs) -->



<script type="text/javascript" src="controllers/invoice_deleted.js?random=<?php echo uniqid(); ?>"></script>