@inject('subserverice', App\Services\UserSubscriptionService::class)
@php
$activePlan = $subserverice->getActivePlan(auth()->user());
$RemainingDaysHumanReadable = $subserverice->getRemainingDaysHumanReadable(auth()->user());
@endphp
@if ($activePlan)
اشتراک فعال : {{ $activePlan->plan->name }}
{{ $RemainingDaysHumanReadable }} باقیمانده از اشتراک شما
@endif
@foreach ([
['label' => 'مخاطب', 'count' => $allContactCount, 'icon' => 'bx-user', 'color' => 'info'],
['label' => 'کمپین', 'count' => $programCount, 'icon' => 'bx-calendar-event', 'color' => 'warning'],
['label' => 'ارسال موفق', 'count' => $successfulReportCount, 'icon' => 'bx-check-circle', 'color' => 'primary'],
['label' => 'برنامه فعال', 'count' => $activePrograms, 'icon' => 'bx-play-circle', 'color' => 'secondary'],
['label' => 'سیمکارت', 'count' => $simCardCount, 'icon' => 'bx-memory-card', 'color' => 'success'],
['label' => 'ارسال موفق امروز', 'count' => $todaySuccessCount, 'icon' => 'bx-send', 'color' => 'dark'],
] as $stat)
{{ $stat['label'] }}
{{ $stat['count'] }}
@endforeach
@if ($announcements->count() > 0)
@forelse($announcements as $item)
{{ $item->title }}
{{ verta($item->created_at)->format('Y/m/d') }}
@empty
هنوز اطلاعیهای ثبت نشده است.
@endforelse
@if($hasMore)
@endif
@endif
| # |
کمپین |
مخاطب |
سیمکارت |
پیام رسان |
وضعیت |
تاریخ |
@foreach($latestReports as $i => $report)
| {{ $i + 1 }} |
{{ $report->send_type }} |
{{ $report->phone ?? '-' }} |
{{ $report->simCard->phone_number ?? '-' }} |
{{ $report->Social->name_fa ?? '-' }} |
|
{{ verta($report->updated_at)->format('H:i:s Y/m/d') }} |
@endforeach
@push('js')
@endpush