@php $locale = app()->getLocale(); $isRtl = $locale === 'ar'; $currency = \App\Models\Setting::currencyLabel($locale); $typeLabels = [ 'subscription' => $isRtl ? 'اشتراك' : 'Subscription', 'class' => $isRtl ? 'حصة' : 'Class', 'personal_training' => $isRtl ? 'تدريب شخصي' : 'Personal Training', 'product' => $isRtl ? 'منتج' : 'Product', 'other' => $isRtl ? 'أخرى' : 'Other', ]; @endphp @extends('layouts.app') @section('title', $isRtl ? 'دفعة جديدة' : 'New Payment') @section('content')

{{ $isRtl ? 'دفعة جديدة' : 'New Payment' }}

{{ $isRtl ? 'تسجيل دفعة/إيراد جديد' : 'Record a new payment' }}

@csrf @if($errors->any())

{{ $isRtl ? 'يرجى تصحيح الأخطاء التالية:' : 'Please fix the following errors:' }}

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if($member)

{{ $member->full_name }}

{{ $member->member_id }}

@else @endif
{{ $currency }}
{{ $currency }}
{{ $currency }}

{{ $isRtl ? 'الإجمالي المتوقع' : 'Expected Total' }}

{{ $currency }}

{{ $isRtl ? 'الإجمالي = المبلغ - الخصم + الضريبة' : 'Total = Amount - Discount + Tax' }}

{{ $isRtl ? 'إلغاء' : 'Cancel' }}
@endsection