@extends('layouts.app') @section('title', __('master::lang.payment_gateways')) @section('content')
{{-- عنوان الصفحة --}}

@lang('master::lang.payment_gateways')

{{-- تفاصيل الاشتراك --}}

@lang('master::lang.subscription_details')

@lang('master::lang.number_of_users'): {{ $subscription->users_count }}

@lang('master::lang.billing_cycle'): {{ $subscription->billing_cycle == 'monthly' ? __('master::lang.monthly') : __('master::lang.yearly') }}

@lang('master::lang.total_price_before_discount'): {{ number_format($subscription->total_price, 2) }} د.ع

@if($subscription->price_after_discount < $subscription->total_price)

@lang('master::lang.price_after_discount'): {{ number_format($subscription->price_after_discount, 2) }} د.ع

@endif

@lang('master::lang.subscription_period'): {{ \Carbon\Carbon::parse($subscription->end_date)->format('Y-m-d') }} → {{ \Carbon\Carbon::parse($subscription->start_date)->format('Y-m-d') }}

{{-- بوابات الدفع --}}

@lang('master::lang.select_payment_method')

@if(empty($gateways))
@lang('master::lang.no_payment_gateways_available')
@else
{{-- بوابة QiCard --}} @if(isset($gateways['qiCard']))

@lang('master::lang.pay_via', ['method' => 'QiCard'])

@csrf
@endif {{-- بوابة الدفع اليدوي Offline --}} @if(isset($gateways['offline']))

@lang('master::lang.pay_via', ['method' => 'Offline'])

@csrf

@lang('master::lang.offline_pay_helptext')

{!! nl2br(e($offline_payment_details ?? '')) !!}

@endif
@endif
@endsection