@extends('layouts.business') @section('title', 'Offers Management') @section('content')

Offers Management

Create and manage your promotional offers

Create New Offer
Total Offers
{{ $stats['total'] ?? 0 }}
Active Offers
{{ $stats['active'] ?? 0 }}
Pending Approval
{{ $stats['pending'] ?? 0 }}
Total Redemptions
{{ number_format($stats['redemptions'] ?? 0) }}
Clear
@forelse($offers as $offer)
@if($offer->featured_image) {{ $offer->title }} @else
@endif
@if($offer->offer_type === 'exclusive') Exclusive @elseif($offer->offer_type === 'special') Special @endif
@if($offer->is_featured) Featured @endif
@if($offer->status === 'active') Active @elseif($offer->status === 'draft') Draft @elseif($offer->status === 'expired') Expired @elseif($offer->status === 'pending_approval') Pending Approval @endif
@if($offer->discount_type === 'percentage')
-{{ $offer->discount_value }}%
@endif
{{ Str::limit($offer->title, 40) }}

{{ $offer->venue->name ?? 'All Venues' }}

{{ Str::limit($offer->description, 80) }}

Views
{{ number_format($offer->view_count) }}
Redemptions
{{ $offer->redemption_count }}/{{ $offer->redemption_limit ?? '∞' }}
Start Date
{{ $offer->start_date->format('M d, Y') }}
End Date
{{ $offer->end_date->format('M d, Y') }}
@empty
No offers found

Start creating amazing offers for your customers

Create Your First Offer
@endforelse
{{--@if($offers->links())--}} {{--
--}} {{-- {{ $offers->links() }}--}} {{--
--}} {{--@endif--}} @endsection