<!-- Content Header (Page header) -->
<section class="content-header">
	<div class="container-fluid">
		<div class="row mb-2">
			<div class="col-sm-6">
				<h1 class="m-0">Inventory</h1>
			</div>

			<div class="col-sm-6">
				<ol class="breadcrumb float-sm-right">
					<li class="breadcrumb-item"><a href="dashboard">Dashboard</a></li>
					<li class="breadcrumb-item active">Inventory</li>
				</ol>
			</div>
		</div>
	</div>
</section>

<!-- Main content -->
<section class="content">
	<div class="container-fluid">
		<!-- Small boxes (Stat box) -->
		<div class="row">
			<?php if ( $privileges['sales'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="inventory/sales-list">
						<div class="small-box bg-info">
							<div class="inner">
								<h3>Sales</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-calculator"></i>
							</div>
							<span class="small-box-footer">Sales List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>

			<?php if ( $privileges['sales_return'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="inventory/sales-return-list">
						<div class="small-box bg-success">
							<div class="inner">
								<h3>Sales Return</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-calculator first"></i>
								<i class="fa fa-reply"></i>
							</div>
							<span class="small-box-footer">Sales Return List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>

			<?php if ( $privileges['purchase'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="inventory/purchase-list">
						<div class="small-box bg-warning">
							<div class="inner">
								<h3 class="text-white">Purchase</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-shopping-cart"></i>
							</div>
							<span class="small-box-footer">Purchase List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>

			<?php if ( $privileges['purchase_return'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="inventory/purchase-return-list">
						<div class="small-box bg-danger">
							<div class="inner">
								<h3>Purchase Return</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-shopping-cart first"></i>
								<i class="fa fa-reply"></i>
							</div>
							<span class="small-box-footer">Purchase Return List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>

			<?php if ( $privileges['item'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="inventory/item-list">
						<div class="small-box bg-primary">
							<div class="inner">
								<h3>Item</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-tags"></i>
							</div>
							<span class="small-box-footer">Item List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>

			<?php if ( $privileges['customer'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="inventory/customer-list">
						<div class="small-box bg-maroon">
							<div class="inner">
								<h3>Customer</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-child"></i>
							</div>
							<span class="small-box-footer">Customer List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>

			<?php if ( $privileges['supplier'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="inventory/supplier-list">
						<div class="small-box bg-lightblue">
							<div class="inner">
								<h3 class="text-white">Supplier</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-truck"></i>
							</div>
							<span class="small-box-footer">Supplier List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>
		</div>
	</div>
</section>