<?php $__env->startSection('content'); ?>

<div class="modal-dialog">

    <div class="modal-content">

        <div class="modal-header">

            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>

            <h5 class="modal-title"><?php echo e(trans('application.edit_expense')); ?></h5>

        </div>

        <?php echo Form::model($expense, ['route' => ['expenses.update', $expense->uuid], 'class' => 'ajax-submit', 'method' => 'PATCH']); ?>

        <div class="modal-body">

            <?php if(count($errors) > 0): ?>

            <?php echo form_errors($errors); ?>

            <?php endif; ?>

            <?php echo $__env->make('expenses.partials._form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

        </div>

        <div class="modal-footer">

            <?php echo form_buttons(); ?>

        </div>

        <?php echo Form::close(); ?>

    </div>

</div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>


<?php $__env->stopSection(); ?>
<?php echo $__env->make('modal', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>