@extends('layouts.business') @section('title', 'Offer Details') @section('content')
Total Redemptions
Total Views
Conversion Rate
Status
{{ $offer->description }}
@if($offer->terms_and_conditions){{ $offer->terms_and_conditions }}
@endif| User | Date | Code | Status |
|---|---|---|---|
| {{ $redemption->user->name ?? 'N/A' }} | {{ $redemption->redeemed_at ? $redemption->redeemed_at->format('M d, Y H:i') : 'N/A' }} | {{ $redemption->code }} |
{{ ucfirst($redemption->status) }} |
| No redemptions yet | |||
{{ ucfirst($offer->offer_type) }}
{{ ucfirst(str_replace('_', ' ', $offer->discount_type)) }}
{{ $offer->discount_type === 'percentage' ? $offer->discount_value . '%' : 'AED ' . $offer->discount_value }}
AED {{ number_format($offer->original_price, 2) }}
AED {{ number_format($offer->discounted_price, 2) }}
{{ $offer->start_date ? $offer->start_date->format('M d, Y') : 'N/A' }}
{{ $offer->end_date ? $offer->end_date->format('M d, Y') : 'N/A' }}
{{ $offer->redemption_count }} / {{ $offer->max_redemptions }}
{{ $offer->max_redemptions_per_user }}