<?php $__env->startSection('content'); ?>
    <div class="col-md-12 content-header" >
        <h1><i class="fa fa-th-large"></i> <?php echo e(trans('application.categories')); ?></h1>
    </div>
    <section class="content">
        <div class="row">
            <div class="col-md-12">
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title pull-right">
                            <div class="box-tools">
                                <a href="<?php echo e(route('expense_category.create')); ?>" class="btn btn-primary btn-xs pull-right" data-toggle="ajax-modal"> <i class="fa fa-plus"></i> <?php echo e(trans('application.new_category')); ?></a>
                            </div>
                        </h3>
                    </div>
                    <div class="box-body">
                        <table class="table table-striped table-bordered datatable">
                            <thead>
                            <tr>
                                <th></th>
                                <th><?php echo e(trans('application.name')); ?></th>
                                <th><?php echo e(trans('application.action')); ?></th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php if($categories->count() > 0): ?>
                                <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); ?>
                                    <tr>
                                        <td></td>
                                        <td><?php echo e($category->name); ?></td>
                                        <td>
                                            <?php echo edit_btn('expense_category.edit', $category->uuid); ?>

                                            <?php echo delete_btn('expense_category.destroy', $category->uuid); ?>

                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); ?>
                            <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>