
<?php $__env->startSection('content'); ?>
<a href="<?php echo URL::to('/add_market_place'); ?>">
    <i class="fa fa-list"></i>
    <span>Add Market Place</span>
</a>
<div class="row">
    <div class="col-xs-12 col-sm-6 mid_center">
        <div class="box">
            <div class="box-content my_content">
                <h5 class="page-header">
                    <b>Market Places</b>
                </h5>  
                <table class="table">
                    <thead>
                        <tr>
                            <th>#</th>
                            <th>Name</th>
                            <th class="amount" style="padding-right: 150px;">Commission</th>
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($market_places as $key=>$market_place): ?>
                        <tr>
                            <td><?php echo e($key+1); ?></td>
                            <td><?php echo e($market_place->name); ?></td>
                            <td class="amount" style="padding-right: 150px;"><?php echo e(number_format($market_place->commission, 2)); ?> %</td>  
                            <td>
                                <a title="Edit" href="market_places/<?php echo e($market_place->id); ?>">
                                    <img src="<?php echo e(asset('images/edit.png')); ?>" height="20" width="20" alt="Edit">
                                </a>
                            </td>    
                        </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>