<!-- 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">Reports</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">Reports</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['purchase_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/purchase">
						<div class="small-box bg-info">
							<div class="inner">
								<h3>Purchase</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-shopping-cart"></i>
							</div>
							<span class="small-box-footer">Purchase Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['purchase_return_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/purchase-return">
						<div class="small-box bg-success">
							<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 Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['sales_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/sales">
						<div class="small-box bg-warning">
							<div class="inner">
								<h3 class="text-white">Sales</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-calculator"></i>
							</div>
							<span class="small-box-footer">Sales Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['sales_return_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/sales-return">
						<div class="small-box bg-danger">
							<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 Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

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

			<?php if ($privileges['ledger_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/ledger">
						<div class="small-box bg-maroon">
							<div class="inner">
								<h3>Ledger</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-align-left"></i>
							</div>
							<span class="small-box-footer">Ledger Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['trial_balance_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/trial-balance">
						<div class="small-box bg-lightblue">
							<div class="inner">
								<h3 class="text-white">Trial Balance</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-columns"></i>
							</div>
							<span class="small-box-footer">Trial Balance Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['balance_sheet_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/balance-sheet">
						<div class="small-box bg-olive">
							<div class="inner">
								<h3>Balance Sheet</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-balance-scale"></i>
							</div>
							<span class="small-box-footer">Balance Sheet Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['income_statement_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/income-statement">
						<div class="small-box bg-orange">
							<div class="inner">
								<h3 class="text-white">Income Statement</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-chart-line"></i>
							</div>
							<span class="small-box-footer">Income Statement Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['bills_receivable_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/bills-receivable">
						<div class="small-box bg-indigo">
							<div class="inner">
								<h3>Bills Receivable</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-sign-in-alt"></i>
							</div>
							<span class="small-box-footer">Bills Receivable Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['bills_payable_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/bills-payable">
						<div class="small-box bg-teal">
							<div class="inner">
								<h3>Bills Payable</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-sign-out-alt"></i>
							</div>
							<span class="small-box-footer">Bills Payable Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['cash_book_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/cash-book">
						<div class="small-box bg-cyan">
							<div class="inner">
								<h3>Cash Book</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-dollar-sign"></i>
							</div>
							<span class="small-box-footer">Cash Book Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>

			<?php if ($privileges['bank_book_report'] == 1) : ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="report/bank-book">
						<div class="small-box bg-gray">
							<div class="inner">
								<h3>Bank Book</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-building"></i>
							</div>
							<span class="small-box-footer">Bank Book Report <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif; ?>
		</div>
	</div>
</section>