@extends('layouts.patient.layout') @section('title') {{ $websiteLang->where('lang_key','payment')->first()->custom_lang }} @endsection @section('patient-content')

{{ $websiteLang->where('lang_key','app_list')->first()->custom_lang }}

@foreach ($appointments as $i => $item) @endforeach
{{ $websiteLang->where('lang_key','doctor')->first()->custom_lang }} {{ $websiteLang->where('lang_key','dep')->first()->custom_lang }} {{ $websiteLang->where('lang_key','location')->first()->custom_lang }} {{ $websiteLang->where('lang_key','date')->first()->custom_lang }} {{ $websiteLang->where('lang_key','schedule')->first()->custom_lang }} {{ $websiteLang->where('lang_key','fee')->first()->custom_lang }} ({{ $currency->currency_name }}) {{ $websiteLang->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 }}
{{ $websiteLang->where('lang_key','total')->first()->custom_lang }} {{ $currency->currency_icon }}{{ Cart::pricetotal() }}
@if ($appointments->count() !=0) @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