@extends('admin.templates.layout') @section('content')
Total Users
Active Vendors
Active Vouchers
| Voucher | Vendor | Discount | Date |
|---|---|---|---|
|
{{ $voucher->title }}
|
{{ $voucher->vendorDetail->business_name ?? 'N/A' }} | @if($voucher->offer_type == 'percentage') {{ number_format($voucher->discount_value) }}% @elseif($voucher->offer_type == 'fixed') £{{ number_format($voucher->discount_value, 2) }} @else {{ ucwords(str_replace('_', ' ', $voucher->offer_type)) }} @endif | {{ $voucher->created_at->format('d M Y') }} |
| Voucher | User | Saved | Time |
|---|---|---|---|
| {{ $redemption->voucher_title }} | {{ $redemption->user->name ?? 'N/A' }} | £{{ number_format($redemption->amount_saved, 2) }} | {{ $redemption->redeemed_at->diffForHumans() }} |