File manager - Edit - /home/linknsbh/rassudr.online/resources/views/vendors/services/featured.blade.php
Back
<div class="modal fade" id="featuredModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle">{{ __('Send Request') }}</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <form id="payment-form" class="modal-form create" action="{{ route('vendor.service.payment') }}" method="POST" enctype="multipart/form-data"> @csrf @php $language = App\Models\Language::where('code', request()->language)->firstOrFail(); @endphp <input type="hidden" name="service_id" id="service_id"> <input type="hidden" name="language_id" value="{{ $language->id }}"> <input type="hidden" name="vendor_id" value="{{ Auth::guard('vendor')->user()->id }}"> <div class="form-group p-0 mt-2"> <label for="">{{ __('Promotion List') . '*' }}</label> @foreach ($promotionList as $list) <ul class="list-group list-group-bordered mb-2"> <li class="list-group-item"> <div class="form-check p-0"> <label class="form-check-label mb-0" for="input_{{ $list->id }}"> <input class="form-check-input ml-0 mr-0" value="{{ $list->id }}" type="radio" name="promotion_id" id="input_{{ $list->id }}"> {{ $currencyInfo->base_currency_text_position == 'left' ? $currencyInfo->base_currency_text . ' ' : '' }}{{ number_format($list->amount, 2, '.', ',') }}{{ $currencyInfo->base_currency_text_position == 'right' ? ' ' . $currencyInfo->base_currency_text : '' }} {{ __('For') }} {{ $list->day }} {{ __('Days') }} </label> </div> </li> </ul> @endforeach <span id="err_promotion_id" class="mt-2 mb-0 text-danger em"></span> </div> <div class="form-group p-0 mt-3"> <label>{{ __('Payment Method') }}*</label> <select name="gateway" id="gateway" class="form-control form-select niceselect"> <option selected disabled>{{ __('Choose a Payment Method') }}</option> @foreach ($online_gateways as $getway) <option @selected(old('gateway') == $getway->keyword) value="{{ $getway->keyword }}"> {{ __($getway->name) }} </option> @endforeach @if (count($offline_gateways) > 0) @foreach ($offline_gateways as $offlineGateway) <option @if (old('gateway') == $offlineGateway->id) selected @endif value="{{ $offlineGateway->id }}"> {{ __($offlineGateway->name) }} </option> @endforeach @endif </select> <span id="err_gateway" class="mt-2 mb-0 text-danger em"></span> </div> <!-- iyzico payment gateway required inputs --> <div class="iyzico-element d-none"> <div class="form-group p-0 mt-3"> <input type="text" name="zip_code" class="form-control mb-2" placeholder="{{ __('Zip Code') }}"> <p id="err_zip_code" class=" text-danger "></p> </div> <div class="form-group p-0 mt-3"> <input type="text" name="identity_number" class="form-control mb-2" placeholder="{{ __('Identity Number') }}"> <p id="err_identity_number" class=" text-danger "></p> </div> <div class="form-group p-0 mt-3"> <input type="text" name="address" class="form-control mb-2" placeholder="{{ __('Address') }}"> <p id="err_address" class=" text-danger "></p> </div> <div class="form-group p-0 mt-3"> <input type="text" name="city" class="form-control mb-2" placeholder="{{ __('City') }}"> <p id="err_city" class=" text-danger "></p> </div> <div class="form-group p-0 mt-3"> <input type="text" name="country" class="form-control mb-2" placeholder="{{ __('Country') }}"> <p id="err_country" class=" text-danger "></p> </div> <div class="form-group p-0 mt-3"> <input type="text" name="phone" class="form-control mb-2" placeholder="{{ __('Phone') }}"> <p id="err_phone" class="text-danger "></p> </div> </div> <!-- Stripe Payment Will be Inserted here --> <div id="stripe-element" class="mb-2 mt-3"> <!-- A Stripe Element will be inserted here. --> </div> <!-- Used to display form errors --> <div id="stripe-errors" class="pb-2" role="alert"></div> <span id="err_stripeToken" class="mt-2 mb-0 text-danger em"></span> <!-- Authorize.net Payment Will be Inserted here --> <div class="row gateway-details pb-4 d-none" id="authorizenet-element"> <div class="col-lg-6"> <div class="form-group mb-3"> <input class="form-control" type="text" id="anetCardNumber" placeholder="{{ __('Card Number') }}" disabled /> </div> </div> <div class="col-lg-6 mb-3"> <div class="form-group"> <input class="form-control" type="text" id="anetExpMonth" placeholder="{{ __('Expire Month') }}" disabled /> </div> </div> <div class="col-lg-6 "> <div class="form-group"> <input class="form-control" type="text" id="anetExpYear" placeholder="{{ __('Expire Year') }}" disabled /> </div> </div> <div class="col-lg-6 "> <div class="form-group"> <input class="form-control" type="text" id="anetCardCode" placeholder="{{ __('Card Code') }}" disabled /> </div> </div> <input type="hidden" name="opaqueDataValue" id="opaqueDataValue" disabled /> <input type="hidden" name="opaqueDataDescriptor" id="opaqueDataDescriptor" disabled /> @php $display = '12px'; @endphp <ul id="authorizeNetErrors" style="display: {{ $display }}"></ul> </div> <!-- offline payment instruction --> @foreach ($offline_gateways as $offlineGateway) <div class="@if ($errors->has('attachment') && request()->session()->get('gatewayId') == $offlineGateway->id) d-block @else d-none @endif offline-gateway-info" id="{{ 'offline-gateway-' . $offlineGateway->id }}"> @if (!is_null($offlineGateway->short_description)) <div class="form-group mb-4"> <label>{{ __('Description') }}</label> <p>{{ $offlineGateway->short_description }}</p> </div> @endif @if (!is_null($offlineGateway->instructions)) <div class="form-group mb-4"> <label>{{ __('Instructions') }}</label> {!! replaceBaseUrl($offlineGateway->instructions, 'summernote') !!} </div> @endif @if ($offlineGateway->has_attachment == 1) <div class="form-group mb-4"> <label>{{ __('Attachment') . '*' }}</label> <br> <input type="file" name="attachment" class="form-control"> <span id="err_attachment" class="mt-2 mb-0 text-danger em"></span> </div> @endif </div> <span id="err_currency" class="mt-2 mb-0 text-danger em"></span> @endforeach <div class="mt-2"> <button class="btn btn-primary btn-lg w-100" id="featuredBtn">{{ __('Place Order') }}</button> </div> </form> </div> </div> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.6 |
proxy
|
phpinfo
|
Settings