@extends('admin.layout') @section('title','Zayavkalar') @section('content')
| # | İstifadəçi | Əlaqə | Növ | Tarif / Müddət | Məbləğ | Mətn | Status | Tarix |
|---|---|---|---|---|---|---|---|---|
| {{ $a->id }} | {{ $a->user->name ?? '—' }} |
@if($a->user) {{ $a->user->phone }} {{ $a->user->email }} @else—@endif
|
{{ $typeLabels[$a->type] ?? $a->type }} |
@if($a->type==='tariff')
{{ $a->plan->name ?? '—' }}
@if($a->months){{ $a->months }} ay @endif
@else
{{ $a->subject ?: '—' }}
@endif
|
{{ $a->amount ? number_format($a->amount, 2).' ₼' : '—' }} | {{ $a->message ? \Illuminate\Support\Str::limit($a->message, 80) : '—' }} | @if($a->status === 'processed') Emal olundu @else @endif | {{ $a->created_at->format('d.m.Y H:i') }} |