
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h3 class="modal-title">Transaction Details</h3>
    </div>
<div class="widget-body innerAll inner-2x">
    <h5 align="center">Subscription Details for <span class="username_display"><?php echo ucwords($strSubscriberName); ?></span></h5><br>
    <div>
        <div style="float: left">
             <p>Transaction Id: <?php echo $arrSub[0]['transaction_id']; ?></p>
        </div>
        <div style="float: right">
            <p> Transaction Date: <?php echo $arrSub[0]['transaction_date']; ?></p>
        </div>
    </div>
    <div style="clear: both"></div>
    <hr>
    <p style="margin-top: 20px;margin-bottom: 10px">Subscribed Magazine Details</p>
    <table class="table table-white table-vertical-center margin-none table-striped footable">
        <tr>
            <th data-class="highlight" class="text-center">Magazine Code</th>
            <th data-class="highlight" class="text-center">Subscribed On</th>
            <th data-class="highlight" class="text-center">Start Issue</th>
            <th data-class="highlight" class="text-center">End Issue</th>
            <th data-class="highlight" class="text-center">Total Issues</th>
            <th data-class="highlight" class="text-center">No. of Copies</th>
            <th data-class="highlight" class="text-center">Amount</th>
        </tr>
        <?php
        $intTotalAmount = 0;
        foreach($arrSub as $details) {?>
            <tr>
                <td  class="text-center"><?php echo $details['magazine_code']; ?></td>
                <td  class="text-center"><?php echo date("Y-m-d", strtotime($details['subscribed_on'])); ?></td>
                <td  class="text-center"><?php echo $details['start_issue']; ?></td>
                <td  class="text-center"><?php echo $details['end_issue']; ?></td>
                <td  class="text-center"><?php echo $details['no_of_issue']; ?></td>
                <td  class="text-center"><?php echo $details['totalNCopies']; ?></td>
                <td  class="text-center"><?php echo $details['amount']; ?></td>
            </tr>
        <?php $intTotalAmount = $intTotalAmount + $details['amount']; } ?>
            <tr>
               <td colspan="6" align="right"><p><b>Total Amount: <?php echo $intTotalAmount;?></b></p></td>
            </tr>

    </table>
    <hr>
    <p style="margin-top: 20px;margin-bottom: 10px">Payment Details</p>
    <?php if ($strRowData != "") {?>
        <table class="table table-white table-vertical-center margin-none table-striped footable">
            <?php echo $strRowData;?>
        </table>
    <?php } else { ?>
        <p>Payment not yet done !</p>
    <?php } ?>

</div>