<div class="card-body">
                                <h4 class="card-title" style="padding: 20px 0px; ">Account Statment</h4>
                                 <div class="row"> 
                                <div class="table-responsive">
                                       <?php 
                        $selBank = $conn->query("select * from transfer_info join credit_info on transfer_info.trans_id = credit_info.transferId where transfer_info.acct_nmb  = '" . $rowUser['acct_nmb'] . "'") or die($conn->error);
                             ?>
                                    <table class="table header-border" id="tabstyle">
                                        <thead>
                                            <tr>
                                                <th>Date</th>
                                                <th>Reference No:</th>
                                                <th>Beneficiary Name</th>
                                                <th>Beneficiary Account</th>
                                                <th>Narration </th>
                                                <th>Amount</th>
                                                <th>Status</th>
                                                
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php 
                                            if(!$selBank->num_rows){
                                            ?>
                                            <tr>
                                                <td colspan="6">No transaction has been done in this account</td>
                                            </tr>       
                                            <?php                                                                  
                                            }else{
                                            while($rowDetails = $selBank->fetch_assoc()){ 
                                            $amtTrans = $rowDetails['amt_cred'] == 0 ? $rowDetails['amt_dep'] : $rowDetails['amt_cred'];
                                            $creditAmt = $rowDetails['amt_cred'] == 0 ? "" : getCurrency(@$rowcurr['curr_type']). number_format($rowDetails['amt_cred'], 2, '.', ',');
                                            
                                            $debitAmt = $rowDetails['amt_dep'] == 0 ? "" : getCurrency(@$rowcurr['curr_type']).number_format($rowDetails['amt_dep'], 2, '.', ',');
                                             ?>
                                            <tr>
                                                <td><?php echo $rowDetails['dat_pay']; ?></td>
                                               <td><?php echo $rowDetails['refern_id']; ?></td>
                                                <td><?php echo  $rowDetails['ben_name'];  ?></td>
                                                <td><?php echo $rowDetails['to_accnt']; ?></td>
                                                <td><?php echo $rowDetails['narratn']; ?></td>
                                                <td><?php echo getCurrency(@$rowcurr['curr_type']).$rowDetails['amt_trans']; ?></td>
                                                <td><?php echo $rowDetails['trans_stat']; ?></td>
                                            </tr>
                                            <?php
                                            }
                                        }
                                            ?>
                                        </tbody>
                                    </table>
                                </div> 
                                 </div>   
                            </div>