@extends('layouts.master') @section('title', 'تفاصيل الاشتراك') @section('content')

تفاصيل الاشتراك

طباعة الفاتورة
رقم الفاتورة {{ $sub->invoice_code }}
العضو {{ $sub->member->name ?? '—' }}
الفرع {{ $sub->branch->name ?? '—' }}
نوع الاشتراك {{ $sub->subscription_type === 'service' ? 'خدمة' : 'عرض' }}
العنصر {{ $sub->item_name }}
طريقة الدفع {{ $sub->paymentMethod->name_ar ?? '—' }}
السعر {{ number_format($sub->price, 2) }}
الخصم {{ number_format($sub->discount, 2) }}
الضريبة {{ number_format($sub->tax, 2) }}
الإجمالي {{ number_format($sub->total, 2) }}
الفترة {{ $sub->start_date }} → {{ $sub->end_date }}
@endsection