<?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.add_payment')); ?></h5>
        </div>
        <?php echo Form::open(['route' => ['payments.store'], 'class' => 'ajax-submit']); ?>
        <div class="modal-body">
            <?php if(count($errors) > 0): ?>
            <?php echo form_errors($errors); ?>
            <?php endif; ?>
            <?php echo $__env->make('payments.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 echo $__env->make('modal', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>