ok
Direktori : /home2/selectio/www/fms-worksuite/resources/views/public-payment/mollie/ |
Current File : //home2/selectio/www/fms-worksuite/resources/views/public-payment/mollie/index.blade.php |
<div class="modal-header"> <h5 class="modal-title" id="modelHeading"> @lang('modules.mollie.details') </h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> </div> <div class="modal-body"> <div class="portlet-body"> <x-form id="mollieDetails" method="POST" class="ajax-form" action="{{ route('mollie_public', [$id, $company->hash]) }}"> <input type="hidden" name="type" value="{{ $type }}"> <div class="form-body"> <div class="row"> <div class="col-lg-12 col-md-12"> <x-forms.text :fieldLabel="__('modules.mollie.client_name')" fieldName="name" fieldId="name" :fieldPlaceholder="__('modules.mollie.client_name')" fieldValue="" :fieldRequired="true"/> </div> <div class="col-lg-12 col-md-12"> <x-forms.email :fieldLabel="__('modules.mollie.client_email')" fieldName="email" fieldId="email" :fieldPlaceholder="__('modules.mollie.client_email')" fieldValue="" :fieldRequired="true"/> </div> </div> </div> </x-form> </div> </div> <div class="modal-footer"> <x-forms.button-cancel data-dismiss="modal" class="border-0 mr-3">@lang('app.close')</x-forms.button-cancel> <x-forms.button-primary id="save-mollie-detail">@lang('app.save') <i class="fa fa-arrow-right pl-1"></i></x-forms.button-primary> </div> <script> $('#save-mollie-detail').click(function () { var url = "{{ route('mollie_public', [$id, $company->hash])}}"; $.easyAjax({ container: '#mollieDetails', messagePosition: 'inline', buttonSelector: "#save-mollie-detail", disableButton: true, blockUI: true, type: 'POST', url: url, data: $('#mollieDetails').serialize() }) }) </script>