<?php $__env->startSection('title'); ?>
    Transaction List
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<img style="max-width: 30%;display: block; margin-top: -3rem; margin-left: auto; margin-right: auto;" src="/img/Prestige_Logo.jpg" />
<div style="width: 860px !important;border: solid #009ddc 7px;background-image: url(/img/da-background.jpg);" class="login">
			<div class="app-title">
				<h1>List of transactions for <?php echo $client->name; ?></h1>
			</div>

    <h2>AVSR queries</h2>
<?php if($avsrs!=NULL): ?>
    <div class="row">
        <div class="large-12 columns">
            <table>
                <thead>
                    <tr>
                        <th width="2%">Transaction ID</th>
                        <th width="2%">Transactional Type</th>
                        <th width="2%">Date & Time Created</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach($avsrs as $avsr): ?>
                        <tr>
                            <td><?php echo $avsr->id; ?></td>
                            <td>Bank Account Verification</td>
                            <td><?php echo $avsr->created_at; ?></td>
                        </tr>
                    <?php endforeach; ?>
                </tbody>
            </table>
        </div>
    </div>
<?php else: ?>
<p>No AVSR Queries made</p>
<?php endif; ?>

<h2>BCS queries</h2>
<?php if($bcss!=NULL): ?>
    <div class="row">
            <div class="large-12 columns">
                <table>
                    <thead>
                        <tr>
                            <th width="2%">Transaction ID</th>
                            <th width="2%">Transaction Type</th>
                            <th width="2%">Date & Time Created</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($bcss as $bcs): ?>
                            <tr>
                                <td><?php echo $bcs->id; ?></td>
                                <td><?php echo $bcs->transactionType; ?></td>
                                <td><?php echo $bcs->created_at; ?></td>
                            </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
    </div>
<?php else: ?>
<p>No BCS Queries made</p>
<?php endif; ?>

<h2>OFS queries</h2>
<?php if($avsrs!=NULL): ?>
    <div class="row">
            <div class="large-12 columns">
                <table>
                    <thead>
                        <tr>
                            <th width="2%">Transaction ID</th>
                            <th width="2%">Transactional Type</th>
                            <th width="2%">Date & Time Created</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($avsrs as $avsr): ?>
                            <tr>
                                <td><?php echo $avsr->id; ?></td>
                                <td>OFS - OnFile submission</td>
                                <td><?php echo $avsr->created_at; ?></td>
                            </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
    </div>
<?php else: ?>
<p>No OFS queries made</p>
<?php endif; ?>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    <script src="<?php echo asset('js/scripts.js'); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>