<?php
	$now = @$this->uri->segment(3);
	$cat = substr($now,-1);
?>

<h3 class="page-header">
	<?php echo $judul;?>
</h3>
<div class="panel panel-default">
<div class="panel-heading">
	<div class="row">
		<div class='col-sm-6'><?php echo $judul;?> List</div>
		<div class='col-sm-6' align='right'>
			<a href="javascript:void(0);" data-url="laporan-stok/?s=" class="btn btn-default btn-sm" id='btnprint'><i class=" fa fa-print"></i> Print</a>
			<a href="javascript:void(0);" data-url="laporan-stok-excel/?s=" class="btn btn-default btn-sm" id='btnexcel'><i class=" fa fa-download"></i> Excel</a>
			<a href="<?=$url?>barang-new" class="btn btn-success btn-sm"><i class=" fa fa-plus"></i> Add</a>
		</div>
	</div>
</div>
<div class="panel-body">
	<div class="table-responsive">
		<table class="table table-striped table-bordered table-hover dataTablesbarang" >
			<thead>
				<tr>
					<th width='35'>Code</th>
					<th width=''>Nama</th> 
					<th width='100'>Kategori</th> 
					<th width='50'>Isi</th> 
					<th width='100'>Satuan</th> 
					<th width='150'>Harga Beli</th> 
					<th width='150'>Harga Resep</th> 
					<th width='150'>Harga Satuan</th> 
					<th width='150'>Harga Box</th> 
					<th width='100'>Stok</th> 
					<th width='70'>Status</th>
					<th width='70'></th>
				</tr>
			</thead>
			 
		</table>
	</div>
</div>
</div>