@extends('site.layouts.app') @section('title', 'Checkout') @section('content')

Payment Checkout

@csrf

Details

@php $country = App\Models\Country::where( 'id', session()->get('passportcart')['country_id'], )->first(); $category = App\Models\PassportNicopCategory::where( 'id', session()->get('passportcart')['passportnicop_category'], )->first(); $plan = App\Models\PassportNicop::where( 'category_id', session()->get('passportcart')['passportnicop_category'], )->first(); @endphp
  • Category
    {{ $category->name }}
  • Plan
    {{ $plan->title }}
  • Cost
    {{ str_replace('_', '',auth()->user()->country->currency)}} {{ number_format(session()->get('passportcart')['cost']) }}
  • Country
    {{ $country->name }}

Required Details

{!! $plan->description !!}

Total
@php $total = session()->get('passportcart')['cost']; @endphp
Subtotal {{ str_replace('_', '',auth()->user()->country->currency)}} {{ number_format($total) }}
Total {{ str_replace('_', '',auth()->user()->country->currency)}} {{ number_format($total) }}
@include('site.bankSelection')
@php $banks = App\Models\BankAccount::where( 'country_id', '=', auth()->user()->country_id, )->get(); @endphp @foreach ($banks as $key => $bank) @if ($bank->type === 'Bank')
@endif @endforeach
@foreach ($banks as $key => $bank) @if ($bank->type === 'E-Wallet')
@endif @endforeach
@if (!empty($user_wallet->amount))
Your E-Wallet
You have {{ auth()->user()->country->currency }} {{ $user_wallet->amount }}. Do you want to pay?
@endif
Payment Receipt Upload your Payment Receipt
Trx ID
@auth @endauth @guest Login @endguest
@endsection