@if($user->preferred_language == 'Arabic')
  @if($user->membership->type == 'honorary')
    
      
        مرحباً
        {{ $user->name_ar ? $user->name_ar : $user->name }}،
      
      
        نحن مسرورون للغاية بترحيبك في الجمعية الملكية لحماية الطبيعة.  شكراَ جزيلاً انضمامكم لعضوية الجمعية. هذا لتأكيد استلام دفعتك بمبلغ
        {{ $user->membership->membershipInvoices->first()->total }}
        دنانير.
      
      {{-- ====================================================== --}}
      
        يسرنا إعلامكم أن عضويتكم
        @if($user->membership->type == 'individual')
          عضوية فردية
        @elseif($user->membership->type == 'employee')
          عضوية موظف الجمعية الملكية لحماية الطبيعة
        @elseif($user->membership->type == 'corporate')
          عضوية الشركات
        @elseif($user->membership->type == 'family')
          عضوية عائلية
        @endif
        بالجمعية فعالة
        @if($user->membership->end_date)
          وصالحة حتى 
          {{ $user->membership->end_date }}
        @endif
        .
      
      {{-- ====================================================== --}}
      @if(isset($admin) && $admin)
        
          **مهم** : 
          لإكمال إعداد عضويتك والوصول إلى بطاقة العضوية الإلكترونية وتفاصيل العضوية الأخرى، يُرجى اتباع هذه الخطوات البسيطة:
        
        
        
          2.
          النقر على "هل نسيت كلمة المرور؟"
        
        
          3.
          إدخال كلمة المرور المفضلة لديك.
        
      @endif
      {{-- ====================================================== --}}
      
        كعضو في الجمعية، أنت لست فقط تساهم في رسالتنا لحماية التراث الطبيعي والتنوع الحيوي وتنمية المجتمعات المحلية في الأردن، بل تحصل على امتيازات خاصة
        :
      
      
        -
        استمتع
        بدخول مجاني
        إلى جميع المحميات الطبيعة لدينا (باستثناء محمية الموجب للمحيط الحيوي).
      
      
        -
        استمتع بخصم
         15%
        @if($user->membership->type == 'corporate')
          على ﻣﻨﺘﺠﺎت دﻛﺎن اﻟﻄﺒﻴﻌﺔ.
        @else
          على الإقامة، ورﺳﻮم اﻟﺪﻻﻟﺔ وﻣﻨﺘﺠﺎت دﻛﺎن اﻟﻄﺒﻴﻌﺔ.
        @endif
      
      
        -
        بعد عضوية متتالية لمدة عامين، تكتسب
        حق التصويت.
        بعد مرور أربع سنوات، يمكنك الترشح لمجلس الإدارة (المواطنين الأردنيين فقط).
      
      
        -
        خصم
        5 دنانير
         على رسوم تجديد رخصة الصيد و
        8 دنانير
         في حال الإصدار لأول مرة.
      
      
        -
        إشعارات أولوية بخصوص الفعاليات القادمة وفرص التطوع.
      
      {{-- ====================================================== --}}
      
        عضويتك تضمن لك أنك جزء من مجتمع متحمس مكرس للحفاظ على جمال الطبيعة الفريدة في الأردن.
      
      {{-- ====================================================== --}}
      
        متحمسون لانضمامك ونتطلع لتحقيق إنجازات عظيمة سويًّا.
      
      {{-- ====================================================== --}}
      
        مع أطيب التحيات،
        الجمعية الملكية لحماية الطبيعة
       
     
  @endif
@else
  @if($user->membership->type == 'honorary')
    
      
        Hi
        {{ $user->name }},
      
      
        We're thrilled to welcome you to The Royal Society for the Conservation of Nature (RSCN)! Your commitment to our cause means a lot to us. Thank you for becoming a member. This is to confirm the receipt of your payment in the amount of 
        JOD
        {{ $user->membership->membershipInvoices->first()->total }}.
      
      {{-- ====================================================== --}}
      
        Your RSCN
        @if($user->membership->type == 'individual')
          Individual Membership
        @elseif($user->membership->type == 'employee')
          Employee Membership
        @elseif($user->membership->type == 'corporate')
          Corporate Membership
        @elseif($user->membership->type == 'family')
          Family Membership
        @endif
        is now active
        @if($user->membership->end_date)
          and valid until
          {{ $user->membership->end_date }}
        @endif
        .
      
      {{-- ====================================================== --}}
      @if(isset($admin) && $admin)
        
          **IMPORTANT** : 
          To complete your membership setup and access your e-card and other membership details, please follow these simple steps:
        
        
        
          2.
          Click on 'Forgot Password.'
        
        
          3.
          Enter your preferred password.
        
      @endif
      {{-- ====================================================== --}}
      
        As an RSCN member, you're not only contributing to our mission of safeguarding Jordan's natural heritage, biodiversity, and local communities, but you're also entitled to exclusive benefits
        :
      
      
        -
        Experience
        free entry
        to all our nature reserves (except Mujib Biosphere Reserve).
      
      
        -
        Enjoy a
         15%
        @if($user->membership->type == 'corporate')
          discount on Nature Shop products.
        @else
          discount on lodging (accommodation), guided services, and Nature Shop products.
        @endif
      
      
        -
        After two consecutive years of membership, you gain 
        voting rights.
        After four years, you can run for the Board of Directors (Jordanian citizens only).
      
      
        -
        Get
         JOD 5 off 
        hunting license renewals and
        JOD 8
        for first-time hunting license issuance.
      
      
        -
        Receive priority notifications for upcoming initiatives and volunteer opportunities.
      
      {{-- ====================================================== --}}
      
        Your membership ensures you are part of a passionate community dedicated to preserving Jordan's unique natural beauty.
      
      {{-- ====================================================== --}}
      
        We're excited to have you on board and look forward to achieving great things together.
      
      {{-- ====================================================== --}}
      
        Welcome to RSCN!
      
      {{-- ====================================================== --}}
      
        Best regards,
        The Royal Society for the Conservation of Nature (RSCN)
       
     
  @endif
@endif