
		<!-- MAIN CONTENT WRAPPER -->		
			<div class="content">            
				<div class="main-content">
					<!-- DATA EXPORT -->
					<div class="widget widget-table">
						<div class="widget-header">
							<h3><i class="fa fa-table"></i> View Item Purchase records</h3>
									<div class="btn-group widget-header-toolbar">
										<a class="btn-borderless btn-focus clickme" href="purchaseitem" title="Focus" ><i class="fa fa-plus"></i></a>
										<!--<a href="#" title="Expand/Collapse" class="btn-borderless btn-toggle-expand"><i class="fa fa-chevron-up"></i></a>
										<a href="#" title="Remove" class="btn-borderless btn-remove"><i class="fa fa-times"></i></a>-->
									</div>
						</div>
						<div class="widget-content">
							<table id="datatable-data-export" class="table table-sorting table-striped table-hover table-bordered datatable">
								<thead>
									<tr>
										<th>Category</th>
										<th>Item Type</th>
										<th>Item code</th>
										<th>Item name</th>
										<th>Unit</th>
										<th>Purchase cost</th>
										<th>Sales cost</th>
										<th>Note</th>	
										<th>Status</th>			
										<th>Action</th>							
									</tr>
								</thead>
								<tbody>
									<?php $__currentLoopData = $data['Item']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $Item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<tr>
										<td><?php echo e($Item->category); ?>-<?php echo e($Item->subcategory); ?></td>
										<td><?php echo e($Item->itm_type); ?></td>
										<td><?php echo e($Item->itm_code); ?></td>
										<td><?php echo e($Item->itm_name); ?></td>
										<td><?php echo e($Item->unt_type); ?></td>
										<td><?php echo e($Item->itm_purchasecost); ?></td>
										<td><?php echo e($Item->itm_salescost); ?></td>
										<td><?php echo e($Item->itm_note); ?></td>
										<td><?php echo e($Item->itm_status); ?></td>			
										<td><a href="">Edit</a> | <a href="">Delete</a></td>							
									</tr>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	
								</tbody>
							</table>
						</div>
					</div>
					<!-- END DATA EXPORT -->

				</div>
			</div>
			<!-- /main -->
<script>
					$('.clickme').click(function(e)
					{
						e.preventDefault();
                        $('#sideMenu').load($(this).attr('href'));
					});
					</script>