@extends('layouts.client.layout') @section('title') {{ $navigation->payment }} @endsection @section('client-content')

{{ $website_lang->where('lang_key','appointment_list')->first()->custom_lang }}

@foreach ($appointments as $i => $item) @endforeach
{{ $website_lang->where('lang_key','lawyer')->first()->custom_lang }} {{ $website_lang->where('lang_key','department')->first()->custom_lang }} {{ $website_lang->where('lang_key','location')->first()->custom_lang }} {{ $website_lang->where('lang_key','date')->first()->custom_lang }} {{ $website_lang->where('lang_key','time')->first()->custom_lang }} {{ $website_lang->where('lang_key','appointment_fee')->first()->custom_lang }} ({{ $currency->currency_name }}) {{ $website_lang->where('lang_key','action')->first()->custom_lang }}
{{ ucfirst($item->name) }} {{ $item->options->department }} {{ $item->options->location }} {{ $item->options->date }} {{ strtoupper($item->options->time) }} {{ $currency->currency_icon }}{{ $item->price }}
Total {{ $currency->currency_icon }}{{ Cart::pricetotal() }}
@if ($appointments->count() !=0)

{{ $website_lang->where('lang_key','pay_now')->first()->custom_lang }}

@if ($paymentSetting->stripe_status==1)
@if (Session::has('success'))
×

{{ Session::get('success') }}

@endif
@csrf
{{ $website_lang->where('lang_key','card_error')->first()->custom_lang }}
@endif @if ($paymentSetting->paypal_status==1)
@csrf
@endif @if ($razorpay->razorpay_status==1)
@csrf @php $cartPrice = str_replace( array( '\'', '"', ',' , ';', '<', '>' ), '', Cart::pricetotal()); $payableAmount = round($cartPrice * $razorpay->currency_rate,2); @endphp
@endif @php $cartPrice = str_replace( array( '\'', '"', ',' , ';', '<', '>' ), '', Cart::pricetotal()); $usd_amount= round($cartPrice / $setting->currency_rate,2); $tnx_ref = substr(rand(0,time()),0,7); @endphp @if ($flutterwave->status)
@endif
@if ($paymentSetting->bank_status==1)
@csrf
{{ $website_lang->where('lang_key','bank_acc_info')->first()->custom_lang }}:

{!! clean(nl2br(e($stripe->bank_account))) !!}

@endif
@endif
@if ($appointments->count() !=0) @php $cartPrice = str_replace( array( '\'', '"', ',' , ';', '<', '>' ), '', Cart::pricetotal()); // start paystack $public_key = $paystack->paystack_public_key; $currency = $paystack->paystack_currency_code; $currency = strtoupper($currency); $ngn_amount = $cartPrice * $paystack->paystack_currency_rate; $ngn_amount = $ngn_amount * 100; $ngn_amount = round($ngn_amount); // end paystack // start flutterwave $payable_amount = $cartPrice * $flutterwave->currency_rate; $payable_amount = round($payable_amount, 2); // end flutterwave @endphp @endif @endsection