Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Subscription/resources/views/user/payment.blade.php
Назад
@extends('layout1') @section('title') <title>{{ __('Payment') }}</title> @endsection @section('meta') <meta name="description" content="Payment"> @endsection @section('frontend-content') <!--===BREADCRUMB PART START====--> <section class="wsus__breadcrumb" style="background: url({{ $setting->breadcrumb_image ? asset($setting->breadcrumb_image) : '' }});"> <div class="wsus_bread_overlay"> <div class="container"> <div class="row"> <div class="col-12 text-center"> <h4>{{ __('Payment') }}</h4> <nav style="--bs-breadcrumb-divider: '-';" aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ route('home') }}">{{ __('Home') }}</a></li> <li class="breadcrumb-item active" aria-current="page">{{ __('Payment') }}</li> </ol> </nav> </div> </div> </div> </div> </section> <!--===BREADCRUMB PART END====--> <!--=====CHECKOUT START=====--> <section class="wsus__checkout mt_45 mb_45"> <div class="container"> <div class="row"> <div class="col-xl-2 col-lg-3"> <div class="wsus__pay_method" id="sticky_sidebar"> <h5>{{ __('Payment Method') }}</h5> <div class="d-flex align-items-start"> <div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical"> @foreach ($activeGateways as $gatewayKey => $gatewayDetails) <button class="nav-link {{ $gatewayKey == 'stripe' ? 'active': '' }}" id="v-pills-{{ $gatewayKey }}-tab" data-bs-toggle="pill" data-bs-target="#v-pills-{{ $gatewayKey }}" type="button" role="tab" aria-controls="v-pills-{{ $gatewayKey }}" aria-selected="true">{{ $gatewayDetails['name'] }}</button> @endforeach </div> </div> </div> </div> <div class="col-xl-5 col-lg-4"> <div class="wsus__pay_details" id="sticky_sidebar2"> <h5>{{ __('Payment Details') }}</h5> <div class="tab-content" id="v-pills-tabContent"> @foreach ($activeGateways as $gatewayKey => $gatewayDetails) <div class="tab-pane fade {{ $gatewayKey == 'stripe' ? 'show active':'' }}" id="v-pills-{{ $gatewayKey }}" role="tabpanel" aria-labelledby="v-pills-{{ $gatewayKey }}-tab"> <a href="javascript:;" class="common_btn place-order-btn" data-method="{{ $gatewayKey }}">{{ __('Pay With') }} {{ $gatewayDetails['name'] }}</a> </div> @endforeach </div> </div> </div> <div class="col-xl-5 col-lg-5"> <div class="wsus__package_details"> <h5>{{ __('Package Details') }}</h5> <div class="table-responsive main_table"> <table class="table"> <tr> <td width="50%">{{ __('Plan Name') }}</td> <td width="50%">{{ $plan->plan_name }}</td> </tr> <tr> <td width="50%">{{ __('Price') }}</td> <td width="50%">{{ currency($plan->plan_price) }}</td> </tr> <tr> <td width="50%">{{ __('Expired Date') }}</td> <td width="50%"> @if ($plan->expiration_date == 'monthly') 30 {{ __('Days') }} @elseif($plan->expiration_date == 'yearly') 365 {{ __('Days') }} @elseif($plan->expiration_date == 'lifetime') {{ __('Lifetime') }} @endif </td> </tr> <tr> <td width="50%">{{ __('Property') }}</td> <td width="50%"> @if ($plan->number_of_property == -1) {{ __('Unlimited') }} @else {{ $plan->number_of_property }} @endif </td> </tr> <tr> <td width="50%">{{ __('Amenity') }}</td> <td width="50%"> {{ __('Unlimited') }} </td> </tr> <tr> <td width="50%">{{ __('Nearest Place') }}</td> <td width="50%"> {{ __('Unlimited') }} </td> </tr> <tr> <td width="50%">{{ __('Photo') }}</td> <td width="50%"> {{ __('Unlimited') }} </td> </tr> <tr> <td width="50%">{{ __('Featured Property') }}</td> <td width="50%"> @if ($plan->is_featured == 1) {{ __('Available') }} @else {{ __('Not Available') }} @endif </td> </tr> <tr> <td width="50%">{{ __('Featured Property') }}</td> <td width="50%"> @if ($plan->number_of_feature_property == -1) {{ __('Unlimited') }} @else {{ $plan->number_of_feature_property }} @endif </td> </tr> <tr> <td width="50%">{{ __('Top Property') }}</td> <td width="50%"> @if ($plan->is_top == 1) {{ __('Available') }} @else {{ __('Not Available') }} @endif </td> </tr> <tr> <td width="50%">{{ __('Top Property') }}</td> <td width="50%"> @if ($plan->number_of_top_property == -1) {{ __('Unlimited') }} @else {{ $plan->number_of_top_property }} @endif </td> </tr> <tr> <td width="50%">{{ __('Urgent Property') }}</td> <td width="50%"> @if ($plan->is_urgent == 1) {{ __('Available') }} @else {{ __('Not Available') }} @endif </td> </tr> <tr> <td width="50%">{{ __('Urgent Property') }}</td> <td width="50%"> @if ($plan->number_of_urgent_property == -1) {{ __('Unlimited') }} @else {{ $plan->number_of_urgent_property }} @endif </td> </tr> </table> </div> </div> </div> </div> </div> </section> <!--=====CHECKOUT END=====--> @endsection @push('js') <script> "use strict"; /** On DOM load */ $(document).ready(function () { //place order $(document).on("click", ".place-order-btn", function (e) { e.preventDefault(); const method = $(this).data("method"); var base_url = '{{ url('/') }}'; $.ajax({ url: `${base_url}/subscription/place-order/${method}`, type: "POST", dataType: "json", data: { _token: $('meta[name="csrf-token"]').attr("content"), }, beforeSend: function () { $("#show_currency_notifications .alert-warning").addClass( "d-none" ); $(".preloader-two").removeClass("d-none"); }, success: (response) => { if (response.success) { window.location.href = `${base_url}/subscription/payment?subscription_id=${response.subscription_id}`; } else { if (response.supportCurrency) { $("#show_currency_notifications .alert-warning") .html(response.supportCurrency) .removeClass("d-none"); } toastr.warning(response.messege); $(".preloader-two").addClass("d-none"); } }, error: (error) => { const errorMessage = error.responseJSON?.message || basic_error_message; toastr.error(errorMessage); $(".preloader-two").addClass("d-none"); }, }); }); }); </script> @endpush
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка