@extends('layouts.masterBackend')

@section('title')
     {{ ucfirst('Product Manager') }} 
@endsection

@php
	use Carbon\Carbon;
@endphp

@section('content')

  <div class="container-fluid">

		<div class="row">
  		<div class="col-xs-12">
				
				<header class="m-b-10">
					<a href="{{ route('manage.category.create') }}" class="btn btn-default btn-sm">
						<i class="fa fa-plus"></i> Add a category
					</a>
					<a href="#" class="btn btn-default btn-sm">
						<i class="fa fa-plus"></i> Add a product
					</a>	
				</header>
				
				<section id="message-banner" class="panel panel-primary">
				<div class="panel-body">
					{{-- table --}}
					<div class="table-responsive">

	    			<table class="table table-hover dt-initiate" data-url="{{ route('manage.products') }}">
					    <thead>
						    <tr>
						    	<th data-column="DT_Row_Index" data-search="false">#</th>
						    	<th data-column="product_category">Category</th>
						    	<th data-column="product_name">Product Name</th>
						    	<th data-column="product_weight">Weight</th>
						    	<th data-column="product_stock">Quantity</th>
						    	<th data-column="product_price">Price</th>
						    	<th data-column="margin">Margin</th>
					        <th data-column="action" data-order="false" data-search="false" style="min-width: 65px;">Action</th>
						    </tr>
					    </thead>
					    <tbody>
					    	<tr></tr>
					    </tbody>
						</table>
												
	    			</div>
	    		{{-- /. table --}}
				</div>
				</section>

			</div>
		</div>

	</div>					
@endsection
