<section id="breadcrumb-section" class="breadcrumb-section clearfix" style="background-image: url(assets/images/breadcrumb-bg.jpg);">
<div class="overlay-black">
<div class="container">
<h2 class="page-title">Transactions</h2>
</div>
</div>
</section>
<div class="breadcrumb-list">
<div class="container">
<ul>
<li class="breadcrumb-item"><a href="<?php echo base_url();?>">Home</a></li>
<li class="breadcrumb-item active">Transactions</li>
</ul>
</div>
</div>


<section id="service-section" class="service-section sec-ptb-100 clearfix">
<div class="container">
<div class="row">

<div class="col-lg-3 col-md-12 col-sm-12">
<div class="sidebar-section">

<div class="service-menu mb-30">
<h2 class="sidebar-title">Quick Links</h2>
<ul>
<li>
    <a href="<?php echo base_url();?>dashboard">Dashboard</a>
</li>
<li>
    <a href="<?php echo base_url();?>deposite">Deposite</a>
</li>
<li>
    <a href="<?php echo base_url();?>withdrawls">Withdrawl</a>
</li>
<li class="active">
    <a href="#">Transactions</a>
</li>
<li>
    <a href="<?php echo base_url();?>account">My Profile</a>
</li>
<li>
    <a href="<?php echo base_url();?>logout">Logout</a>
</li>
</ul>
</div>
</div>
</div>


<div class="col-lg-9 col-md-12 col-sm-12">
<div class="service-details">

<table  class="table table-condensed table-bordered" style="width:100%">
            <thead><tr bgcolor="#d4cbff">



													<th>S.No.</th>



                                                    <th>Date</th>



                                                    <th>Trans.Type</th>



                                                    <th>Limit</th>



                                                    <th>Stoploss</th>



                                                    <th>Target</th>



                                                    <th>Sq.Off</th>



                                                    <th>Amount</th>



                                                    <th>Credit/Debit</th>




                                                    <th>Balance</th>






												</tr></thead>
                                <tbody>



                                            <?php  $i=1;foreach($report as $r){?>



                                            <tr>



                                            	<td><?php echo $i;?></td>



                                            	<td><?php echo $r->tr_date;?></td>



                                            	<td><?php if($r->buysell_id!=""){echo $r->metal.' '.$r->type;}else{echo $r->tr_desc;}?></td>



                                            	<td><?php echo $r->setlimit;?></td>



                                                <td><?php echo $r->stoploss;?></td>



                                                <td><?php echo $r->target;?></td>



                                                <td><?php echo $r->last_live;?></td>



                                                <td><?php echo $r->tr_amt;?></td>



                                                



                                            	<td><?php if($r->tr_type=='Credit'){echo '<label class="badge badge-success">Credit</label>';}else{echo '<label class="badge badge-danger">Debit</label>';}?></td>



                                            	<td><?php echo $r->left_amt;?></td>



                                            	



                                            </tr>



                                            <?php $i++;}?>



                                            </tbody>                  </table>
</div>
</div>
</section>
