<!-- 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">Accounts</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">Accounts</li>
				</ol>
			</div>
		</div>
	</div>
</section>

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

			<?php if ( $privileges['ac_head'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="accounts/chart-list">
						<div class="small-box bg-success">
							<div class="inner">
								<h3>Chart of Accounts</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
							<i class="fa fa-list-ol"></i>
							</div>
							<span class="small-box-footer">Chart of Accounts List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>

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

			<?php if ( $privileges['payment_receipt'] == 1 ): ?>
				<div class="col-lg-3 col-md-6">
					<!-- small box -->
					<a href="accounts/payment-list">
						<div class="small-box bg-danger">
							<div class="inner">
								<h3>Payment Receipt</h3>
								<p>&nbsp;</p>
							</div>
							<div class="icon">
								<i class="fa fa-file-invoice-dollar"></i>
							</div>
							<span class="small-box-footer">Payment Receipt List <i class="fas fa-arrow-circle-right"></i></span>
						</div>
					</a>
				</div>
			<?php endif;?>
		</div>
	</div>
</section>