      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Financial Statement
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Payments</a></li>
            <li class="active">Statement</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <div class="col-xs-12">

              <div class="box">
                <div class="box-header">
                  <h3 class="box-title">Payment Transactions</h3>
                </div><!-- /.box-header -->
                <div class="box-body">
                  <table id="financial_statement" class="table table-bordered table-striped">                    
					<thead>
						<tr>
							<th>Transaction No.</th>
							<th>Transaction Date</th>
							<th>Amount</th>
                            <th>Cumulative Total</th>
						</tr>
					</thead>
					<tbody>
                    <?php
						$cumulative_total = 0;
						if($payments == NULL){?>
							<tr>
                                <td colspan="3">  There are currently no payment transactions in the system </td>
                                <td></td>
                                <td></td>
                                <td></td>
							</tr>
						<?php }
						else foreach($payments as $row)
						{?>
							<tr>
								<td><?php echo $row['transaction_id']?></td>
								<td><?php echo date("M Y",$row['date_time'])?></td>
								<td><?php echo $row['share_capital']?></td>
								<td><?php echo $cumulative_total += $row['share_capital'];?></td>
							</tr>
						<?php }?>
					<!-- End: list_row -->
					</tbody>
					<tfoot>
						<tr>
							<th>Transaction No.</th>
							<th>Transaction Date</th>
							<th>Amount</th>
                            <th>Cumulative Total</th>
						</tr>
					</tfoot>
				</table>
                </div><!-- /.box-body -->
              </div><!-- /.box -->
            </div><!-- /.col -->
          </div><!-- /.row -->
        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->