@extends('layouts.app')
@section('content')
See users subscription
Subscriber | Subscription | Amount | Expiration | Started At | @forelse ($subscribers['data'] as $subscriber) @php $user = \App\Models\User::find($subscriber['client_id']); if ($user) { $name = $user->name; } else { $name = '-'; } @endphp |
---|---|---|---|---|---|
{{ $name }} | {{ $subscriber['subscription'] }} | {{ $settings->currency }}{{ $subscriber['amount_paid'] }} | @if (now()->greaterThanOrEqualTo($subscriber['expired_at'])) {{ \Carbon\Carbon::parse($subscriber['expired_at'])->toDayDateTimeString() }} @else {{ \Carbon\Carbon::parse($subscriber['expired_at'])->toDayDateTimeString() }} @endif | {{ \Carbon\Carbon::parse($subscriber['created_at'])->toDayDateTimeString() }} | {{-- @if (now()->greaterThanOrEqualTo($subscriber->expired_at)) @endif --}} Delete |
No Data Available |