<?php if($page == 'expense-category'): ?>
<div id="category-btns">
    <div class="button-group">
      <?php $__currentLoopData = $expense_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
      <button type="button" class="btn btn-info">
        <a href="javascript:;" data-ajax-url="<?php echo e(route('expensecategory.show', $key)); ?>" class="text-white"><?php echo e($value); ?></a></button>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
</div>
<?php else: ?>
<div class="form-group row" id="addCategoryBtn">
    <?php echo e(Form::label('expense_category', __('Category') .' *',['class'=>'col-sm-3 text-right'])); ?>

    <div class="col-sm-7 no-margin no-right-padding">
    <?php echo e(Form::select('expense_category_id', $expense_categories, null, array('class' => 'form-control'))); ?>

    </div>
    <div class="col-sm-2 no-margin no-left-padding" >
        <a class="btn btn-success pull-right" href="<?php echo e(url('expenses')); ?>/#expenseCategoryAdd" data-toggle="modal"><i class="fa fa-plus"></i>&nbsp; <?php echo e(__('Add')); ?></a>
    </div>
</div>
<?php endif; ?><?php /**PATH /Users/ajitdas/prjs-mega/flexiblepos-v2.0/resources/views/expense/add_category_btn.blade.php ENDPATH**/ ?>