@extends('frontend.layouts.app') @section('content')

{{translate("Payment preview")}}

{{translate("Amount")}} {{short_amount($paymentLog->amount)}}
{{translate("Charge")}} {{short_amount($paymentLog->charge)}}
{{translate("Payable")}} {{short_amount($paymentLog->amount + $paymentLog->charge)}}
{{translate("In")}} {{$paymentLog->paymentGateway->currency->name}} {{show_amount(round($paymentLog->final_amount),$paymentLog->paymentGateway->currency->symbol)}}

{{translate("Payment Method")}}

{{$paymentLog->paymentGateway->name}}
{{$paymentLog->paymentGateway->name}}
@php $paymnetGateway = $paymentLog->paymentGateway; $paymentParams = $paymnetGateway->payment_parameter; @endphp
@csrf
@foreach ($paymentParams as $param)
@if($param->type == 'text' || $param->type == 'date' || $param->type == 'email') is_required ? "required" :"" }} > @else @endif
@endforeach
@endsection