@extends($activeTemplate . 'layouts.master')

@section('content')
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card custom--card">
                <div class="card-header">
                    <h5 class="card-title">@lang('Deposit via') {{ __($data->gateway->name) }}</h5>
                </div>
                <div class="border-bottom">
                    <div class="mb-3 p-3">
                        <p class="mt-2 mb-3 text-center">@lang('You have requesting') <b class="text--success">{{ showAmount($data['amount']) }}</b> , @lang('Please pay')
                            <b class="text--success">{{ showAmount($data['final_amount']) . ' ' . $data['method_currency'] }} </b> @lang('for successful payment')
                        </p>
                        <h4 class="mb-2">@lang('Please follow the instruction below')</h4>
                        <p>@php echo  $data->gateway->description @endphp</p>
                    </div>
                </div>
                <div class="card-body">
                    <form action="{{ route('user.deposit.manual.update') }}" method="POST" class="disableSubmission" enctype="multipart/form-data">
                        @csrf
                        <x-viser-form identifier="id" identifierValue="{{ $data->gateway->form_id }}" />
                        <button type="submit" class="btn btn--base w-100">@lang('Pay Now')</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection
