@extends('layouts.web.blank') @section('main_content') @foreach ($gateways as $gateway) $loop->first ? true : false])> @if($gateway->image) @endif {{ ucfirst($gateway->name) }} @endforeach @foreach ($gateways as $gateway) $loop->first ? true : false]) id="{{ str_replace(' ', '-', $gateway->name) }}"> @csrf @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if($gateway->image) @endif {{ ucfirst($gateway->name) }} ({{ optional($gateway->currency)->code }}) @php $amount = convert_money($plan->offerPrice ?? $plan->subscriptionPrice, $gateway->currency); @endphp {{ __('Gateway Name') }} {{ $gateway->name }} {{ __('Gateway Currency') }} {{ optional($gateway->currency)->code }} @if(optional($gateway->currency)->code != 'IDR') {{ __('Gateway Rate') }} {{ currency_format($gateway->currency->rate, currency: $gateway->currency) }} @endif {{ __('Subscription Name') }} {{ $plan->subscriptionName }} {{ __('Subscription Price') }} {{ currency_format($amount, currency: $gateway->currency) }} {{ __('Gateway Charge') }} {{ currency_format($gateway->charge, currency: $gateway->currency) }} {{ __('Payable Amount') }} {{ currency_format($amount + $gateway->charge, currency: $gateway->currency) }} @if ($gateway->phone_required == 1) {{ __('Phone Number') }} @foreach ($gateway->manual_data ?? [] as $key => $country) {{ $country['country'] ?? '' }} ({{ $country['phone_code'] ?? '' }}) @endforeach @endif @if ($gateway->instructions) {{ __('Instructions') }} {!! $gateway->instructions !!} @endif @if ($gateway->is_manual) @if ($gateway->accept_img) {{ __('Screenshot/Proof Image') }} @endif @foreach ($gateway->manual_data['label'] ?? [] as $key => $row) {{ $row }} manual_data['is_required'][$key] == 1) class="form-control" placeholder="{{ __('Enter ') . $row }}"> @endforeach @endif {{ __('Pay Now') }} @endforeach @php $whatsapp_number = \App\Models\Option::where('key', 'general')->first()->value['whatsapp_number'] ?? '6289620324323'; @endphp @if($whatsapp_number) @endif @endsection @push('css') @endpush
{!! $gateway->instructions !!}