@forelse($promotions as $promo)
@php $info = $promo->platform_info; @endphp
{{-- Header --}}
{{ $info['icon'] }}
{{ $promo->title }}
{{ $info['label'] }} • Created {{ $promo->created_at->diffForHumans() }}
{{ ucfirst($promo->status) }}
{{-- Stats --}}
@foreach(['Views'=>number_format($promo->total_views),'Clicks'=>number_format($promo->total_clicks),'CTR'=>$promo->ctr.'%','Pts Left'=>number_format($promo->points_remaining)] as $label => $val)
@endforeach
{{-- Progress Bar --}}
Budget Used
{{ $promo->progress_percent }}%
{{ number_format($promo->points_spent) }} spent
{{ number_format($promo->points_budget) }} total
{{-- Actions --}}
@if($promo->status === 'active')
@elseif($promo->status === 'paused')
@endif
{{-- Top Up --}}
@if(in_array($promo->status, ['active','paused','depleted']))
@endif
{{-- View URL --}}
View Content
@if($promo->status === 'rejected')
Rejected: {{ $promo->rejection_reason }}
@endif
📣
No promotions yet
Promote your YouTube, TikTok, Facebook, website & more!
Create Promotion