 <?php $__env->startSection('page_title','Expenses'); ?> <?php $__env->startSection('content'); ?><div class="card top-card"><div class="card-body"><div class="text-end mb-3"><a href="<?php echo e(route('expenses.create')); ?>" class="btn btn-success">New Expense</a></div><table class="table"><thead><tr><th>No</th><th>Date</th><th>Category</th><th>Amount</th><th>Notes</th><th></th></tr></thead><tbody><?php $__currentLoopData = $expenses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $expense): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><tr><td><?php echo e($expense->expense_no); ?></td><td><?php echo e($expense->expense_date); ?></td><td><?php echo e($expense->category->name_en); ?></td><td><?php echo e(number_format($expense->amount,2)); ?></td><td><?php echo e($expense->notes); ?></td><td><a class="btn btn-sm btn-outline-primary" href="<?php echo e(route('expenses.edit',$expense)); ?>">Edit</a></td></tr><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></tbody></table><?php echo e($expenses->links()); ?></div></div><?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\petrolmump\resources\views/expenses/index.blade.php ENDPATH**/ ?>