<?php $__env->startSection('title'); ?>
    Company Usage Log
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<?php echo $__env->make('partials.dashboard-menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<h1> <strong><?php echo $company; ?></strong> Usage Log</h1>
<!--<a class="myButton" style="width:5% ;text-align: center;" href="/view-users/<?php echo $company; ?>"><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</a> -->
    <div class="comapanyTable">
            <table>
                <thead>
                    <tr>
                        <th width="10%">Report</th>
                        <th width="10%">Created At</th>
                        <th width="10%%">User Name</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach($transactions as $transaction): ?>
                        <tr>
                            <td><?php echo $transaction->product; ?></td>
                            <td><?php echo $transaction->created_at; ?></td>
                            <td><?php echo $transaction->user; ?></td>
                            </tr>
                    <?php endforeach; ?>
                </tbody>
            </table>
    </div>
    <hr>
    <?php echo $__env->make('partials.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>