<?php $__env->startSection('title'); ?>
    Manage Invoices
<?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>Manage Pricing</h1>

        <div class="comapanyTable">
            <table>
                <thead>
                    <tr>
                        <th width="10%">Company Name</th>
                        <th width="10%">Generate PDF Invoice</th>
                        <th width="10%">Change Pricing</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach($companies as $company): ?>
                        <tr>
                            <td><?php echo $company->company; ?></td>
                            <td><a target="_blank" href="invoice-download/<?php echo $company->company; ?>"><i class="fa fa-file-pdf-o" aria-hidden="true"></i></a></td>
                            <td><a href="edit-pricing/<?php echo $company->company; ?>"> <i class="lightGrey fa fa-pencil-square-o" aria-hidden="true"></i> </a></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(); ?>