<div id="editPaymentModal" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <h2><?php echo e(__('messages.payment.edit_payment')); ?></h2>
                <button type="button" class="btn-close" data-bs-dismiss="modal"
                        aria-label="Close"></button>
            </div>
            <?php echo e(Form::open(['id'=>'editPaymentForm'])); ?>

            <div class="modal-body scroll-y">
                <div class="alert alert-danger display-none hide" id="editValidationErrorsBox"></div>
                <div class="row">
                    <div class="form-group col-lg-4 col-sm-12 mb-5">
                        <?php echo e(Form::label('invoice',__('messages.invoice.invoice').':', ['class' => 'form-label required mb-3'])); ?>

                        <?php echo e(Form::text('invoice_id',null,['id'=>'edit_invoice_id','class' => 'form-control ','readonly'])); ?>

                        <?php echo e(Form::hidden('invoice',null,['id'=>'invoice'])); ?>

                    </div>
                    <div class="form-group col-lg-4 col-sm-12 mb-5 amount d-block">
                        <?php echo e(Form::label('due_amount',__('messages.invoice.due_amount').':', ['class' => 'form-label mb-3'])); ?>

                        <div class="input-group">
                            <?php echo e(Form::text('due_amount', null, ['id'=>'totalDue_amount','class' => 'form-control ','placeholder'=>__('messages.invoice.due_amount'),'readonly','disabled'])); ?>

                            <a class="input-group-text bg-secondary border-0 text-decoration-none edit-invoice-currency-code" id="autoCode" href="javascript:void(0)"
                               data-toggle="tooltip"
                               data-placement="right" title="Currency Code">
                                <?php echo e(getCurrencySymbol()); ?>

                            </a>
                        </div>
                    </div>
                    <div class="form-group col-lg-4 col-sm-12 mb-5 amount d-block">
                        <?php echo e(Form::label('paid_amount',__('messages.invoice.paid_amount').':', ['class' => 'form-label mb-3'])); ?>

                        <div class="input-group">
                            <?php echo e(Form::text('paid_amount', null, ['id'=>'totalPaid_amount','class' => 'form-control ','placeholder'=>__('messages.invoice.paid_amount'),'readonly','disabled'])); ?>

                            <a class="input-group-text bg-secondary border-0 text-decoration-none edit-invoice-currency-code" id="autoCode" href="javascript:void(0)"
                               data-toggle="tooltip"
                               data-placement="right" title="Currency Code">
                                <?php echo e(getCurrencySymbol()); ?>

                            </a>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="form-group col-lg-4 col-sm-12 mb-5">
                        <?php echo e(Form::label('payment_date',__('messages.payment.payment_date').(':'),['class' => 'form-label required mb-3'])); ?>

                        <?php echo e(Form::text('payment_date', null, ['class' => 'form-control  ', 'id' => 'edit_payment_date','placeholder'=>__('messages.payment.payment_date'), 'autocomplete' => 'off','required','data-focus'=>"false"])); ?>

                    </div>
                    <div class="form-group col-lg-4 col-sm-12 mb-5 amount d-block">
                        <?php echo e(Form::label('amount',__('messages.invoice.amount').':', ['class' => 'form-label required mb-3'])); ?>

                        <div class="input-group">
                            <?php echo e(Form::number('amount', null, ['id'=>'edit_amount','class' => 'form-control ','step'=>'any','oninput'=>"validity.valid||(value=value.replace(/[e\+\-]/gi,''))",'min'=>'0','required','placeholder'=>__('messages.invoice.amount')])); ?>

                            <a class="input-group-text bg-secondary border-0 text-decoration-none edit-invoice-currency-code" id="autoCode" href="javascript:void(0)"
                               data-toggle="tooltip"
                               data-placement="right" title="Currency Code">
                                <?php echo e(getCurrencySymbol()); ?>

                            </a>
                        </div>
                    </div>
                    <div class="form-group col-lg-4 col-sm-12 mb-5">
                        <?php echo e(Form::label('payment_mode',__('messages.payment.payment_mode').':', ['class' => 'form-label required mb-3'])); ?>

                        <?php echo e(Form::text('payment_mode','Cash',['id'=>'edit_payment_mode','readonly','class' => 'form-control  '])); ?>

                    </div>
                    <div class="form-group col-sm-12 mb-5">
                        <?php echo e(Form::label('notes',__('messages.invoice.note').':', ['class' => 'form-label required fs-6 mb-3'])); ?>

                        <?php echo e(Form::textarea('notes', null, ['id'=>'edit_payment_note','class' => 'form-control ','rows'=>'5','required'])); ?>

                    </div>
                    <?php echo e(Form::hidden('paymentId',null,['id'=>'paymentId'])); ?>

                    <?php echo e(Form::hidden('transactionId',null,['id'=>'transactionId'])); ?>

                </div>
            </div>
            <div class="modal-footer pt-0">
                <?php echo e(Form::button(__('messages.common.pay'), ['type' => 'submit','class' => 'btn btn-primary me-2','id' => 'editFormButton','data-loading-text' => "<span class='spinner-border spinner-border-sm'></span> Processing...", 'data-new-text' => __('messages.common.pay')])); ?>

                <button type="button" class="btn btn-secondary btn-active-light-primary"
                        data-bs-dismiss="modal"><?php echo e(__('messages.common.cancel')); ?></button>
            </div>
            <?php echo e(Form::close()); ?>

        </div>
    </div>
</div>
<?php /**PATH /home/elitdevs/accounting-1.elitdevs.com/resources/views/payments/edit_payment_modal.blade.php ENDPATH**/ ?>